summaryrefslogtreecommitdiffstats
path: root/sys/dev/lnc
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixed problem passing received packets to bpf.paul1995-02-021-33/+94
| | | | Implemented all the devconf code properly.
* Fix probe so it now correctly identifies all the different chipspaul1995-01-251-56/+74
| | | | | | | | | | | | | in the PCnet/Lance family. Fix attach so 32 bit cards don't call isa_dmacascade. Add a workaround for 32 bit chips which incorrectly truncate the ring buffer size. Fix a bug where CRC errors were reported as framming errors. Change copyright to a BSD style one.
* Move ARP interface initialization into if_ether.c:arp_ifinit().wollman1994-12-221-2/+1
|
* Moved conversion of ether_type to host byte order out of ethernet driversdg1994-11-241-1/+0
| | | | | | and into ether_input(). It was silly to have bpf want this one way and ether_input want it another way. Ripped out trailer support from the few remaining drivers that still had it.
* Finished device configuration database work for all ISA devices (except `ze')wollman1994-10-231-2/+6
| | | | | | | | | | | | | and all SCSI devices (except that it's not done quite the way I want). New information added includes: - A text description of the device - A ``state''---unknown, unconfigured, idle, or busy - A generic parent device (with support in the m.i. code) - An interrupt mask type field (which will hopefully go away) so that . ``doconfig'' can be written This requires a new version of the `lsdev' program as well (next commit).
* Add support for devconf to a large number of device drivers, and dowollman1994-10-191-19/+38
| | | | the right thing in dev_goawayall() when kdc_goaway is null.
* (There's two of these now (Am7990.h and am7990.h) and they need topaul1994-10-021-0/+167
| | | | | | | | | | | | be merged at some point) New AMD family ethernet driver. Should support BICC,NE2100, TNIC, AT1500 and anything else that uses a Lance/PCnet type chip. Only been tested with the BICC so far though. Still work to do on performance and MULTICAST support needs to be added but it's basically working and I want the revision history from this point on
* New AMD family ethernet driver. Should support BICC,NE2100, TNIC,paul1994-10-022-0/+1837
AT1500 and anything else that uses a Lance/PCnet type chip. Only been tested with the BICC so far though. Still work to do on performance and MULTICAST support needs to be added but it's basically working and I want the revision history from this point on
OpenPOWER on IntegriCloud