summaryrefslogtreecommitdiffstats
path: root/sys/dev/lnc
Commit message (Collapse)AuthorAgeFilesLines
* probe function changed from returning char * to const char *.dillon1998-12-141-3/+3
|
* Add Id string to if_lnc.h and fix up copyrights to be consistent and up to date.paul1998-11-262-9/+34
|
* Despite what people may think the Am79C970 returns the chip id of an Am79C965.paul1998-11-261-2/+2
| | | | | Fix the PCI probe code to accept this id otherwise cards based on the Am79C970 fail to probe.
* Fix a typo, and remove verbose error reporting when inluigi1998-10-301-2/+4
| | | | | promisc mode (they are annoying in normal mode as well so i am really tempted to remove them unconditionally...)
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-221-3/+6
| | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato
* MF22: Robert Swindells' patch for correct probing of more AMD cards.jkh1998-09-172-37/+77
| | | | Merged by: Max Khon <fjoe@iclub.nsu.ru>
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-241-25/+45
|
* Add support for PCNet PCI chips that only work when we talk to them as ISAmsmith1998-07-203-4/+25
| | | | | | | devices. Specifically fix the case for the Hitachi version as used in their VisionBook models. Submitted by: Ted Faber <faber@isi.edu>
* This commit fixes various 64bit portability problems required fordfr1998-06-071-3/+3
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Fix some bitrot in the multicast support, the move from TAILQ macros wasn't ↵paul1998-05-271-2/+2
| | | | implemented fully.
* This time add an Id string that'll actually get expanded :-)paul1998-05-271-1/+1
|
* Add an ID string (can't believe it never had one!)paul1998-05-271-0/+1
|
* Support compiling with `gcc -ansi'.bde1998-04-151-20/+22
|
* Removed unused #includes.bde1998-03-281-2/+0
|
* Correct an ethernet framesize mismatch that caused poorsteve1998-03-091-1/+1
| | | | | | | device performance among other things. PR: 4989, 5910 Submitted by: Yoshikazu Goto <gotoh@ae.anritsu.co.jp>
* Support C-NET(98)S ethernet card (PC-98 only).kato1998-02-102-0/+105
| | | | Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
* Back out DIAGNOSTIC changes.eivind1998-02-061-1/+0
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-0/+1
|
* Make INET a proper option.eivind1998-01-081-1/+4
| | | | | | | | | | | | This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
* Removed unused #includes.bde1997-08-021-2/+1
|
* Removed unused #includes.bde1997-07-201-7/+0
|
* Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card.kato1997-04-081-0/+3
| | | | | Cascade mode of DMA is disabled when PC98 is defined because PC-98 doesn't support it.
* Deleted <pc98/pc98/pc98_device.h>.kato1997-04-041-5/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-01-131-26/+7
| | | | | | | previous hackery involving struct in_ifaddr and arpcom. Get rid of the abominable multi_kludge. Update all network interfaces to use the new machanism. Distressingly few Ethernet drivers program the multicast filter properly (assuming the hardware has one, which it usually does).
* Convert the interface address and IP interface address structureswollman1996-12-131-1/+1
| | | | | | to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable).
* Removed another devconf leftover. A fat devconf support function wasbde1996-09-141-61/+28
| | | | | | | | still being used just to support printing of the device name in the probe. Restored the method used in rev.1.6 and changed it to print the same strings as the previous revision. Reviewed by: Paul Richards
* Updated #includes to 4.4Lite style.bde1996-09-101-1/+1
|
* Remove devconf, it never grew up to be of any use.phk1996-09-061-35/+14
|
* Megacommit to straigthen out ETHER_ mess.phk1996-08-061-3/+0
| | | | | I'm pretty convinced after looking at this that the majority of our drivers are confused about the in/exclusion of ETHER_CRC_LEN :-(
* Last night (local time :) I accidently checked in an intermediate versionse1996-07-191-85/+69
| | | | | | | | | | | | of this patch, which had not actually been reviewed by Joerg or Paul! (I'll better stop committing files after midnight ...) I'm now commiting the latest code, which has been reported to work. Minor correction to the previous commit message for this file: The first PCI Lance in a system will get a name of lnc1, the second will be known as lnc2 and so on. An arbitrary number of cards is supported in a system ...
* FINALLY: PCI support for the Lance Ethernet driver.se1996-07-182-73/+253
| | | | | | | | | | | | | | | | | | This code applies to several systems with integrated Ethernet chip, for example from HP or Compaq. It should also support PCI Ethernet cards based on the AMD PCI Lance chip. This code has been reviewed (visually) by Paul Richards and tested (using an ISA Lance board) by Joerg Wunsch. Since the parameters to nearly each and every single function had to be changed (generally from unit number to lnc_soft*), there is some potential for buglets having crept in ... BEWARE: If you had lnc0 configured to have the ISA probe find your PCI Lance, then it should now be found by the PCI probe, and should be automatically configured as pci1 (!!! note the "1"). Reviewed by: paul, joerg
* Added #include of <machine/md_var.h>. This will be needed whenbde1996-06-251-0/+2
| | | | | some declarations are moved from <machine/cpufunc.h> to better places.
* Clean up -Wunused warnings.gpalmer1996-06-121-0/+2
| | | | Reviewed by: bde
* Clean up Ethernet drivers:wollman1996-02-061-10/+9
| | | | | | | | - fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-301-1/+1
| | | | a bunch of system include files.
* Restore my change to the watchdog params that Paul spammed in rev 1.18.dg1996-01-301-6/+5
|
* The last part of the ether_sprint -> %6D change.phk1996-01-261-2/+2
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Added multicast support, currently #ifdef LNC_MULTICAST.paul1996-01-051-14/+85
| | | | | Changed parameter of lnc_watchdog to match what upper levels expect, fixed a warning.
* Completed function declarations and/or added prototypes and/or addedbde1995-12-151-14/+27
| | | | #includes to get prototypes.
* Staticize and cleanup.phk1995-12-102-14/+1
|
* all:dg1995-12-051-7/+5
| | | | | | | | | | | | | | | | Removed ifnet.if_init and ifnet.if_reset as they are generally unused. Change the parameter passed to if_watchdog to be a ifnet * rather than a unit number. All of this is an attempt to move toward not needing an array of softc pointers (which is usually static in size) to point to the driver softc. if_ed.c: Changed some of the argument passing to some functions to make a little more sense. if_ep.c, if_vx.c: Killed completely bogus use of if_timer. It was being set in such a way that the interface was being reset once per second (blech!).
* Cleanup, make things static.phk1995-10-312-39/+43
|
* Remove unused functions and variables, make things static, and other cleanups.phk1995-10-281-5/+2
|
* Say goodbye to IFF_NOTRAILERS. Support for trailers was officiallywollman1995-10-131-2/+2
| | | | | dropped for 4.4, but for some reason this flag lived on. (Until today, that is.)
* Remove trailing whitespace.rgrimes1995-05-302-58/+58
|
* Changed read_csr and write_csr to static so that they don't clashdg1995-05-171-2/+2
| | | | | | | with another driver. Reviewed by: Paul Richards Submitted by: Brian Litzinger
* Add a class field to devconf and mst drivers.wollman1995-04-121-1/+2
| | | | | | | | | | | | For those where it was easy, drivers were also fixed to call dev_attach() during probe rather than attach (in keeping with the new design articulated in a mail message five months ago). For a few that were really easy, correct state tracking was added as well. The `fd' driver was fixed to correctly fill in the description. The CPU identify code was fixed to attach a `cpu' device. The code was also massively reordered to fill in cpu_model with somethingremotely resembling what identifycpu() prints out. A few bytes saved by using %b to format the features list rather than lots of ifs.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-0/+5
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
OpenPOWER on IntegriCloud