Commit Graph

31 Commits

Author SHA1 Message Date
thorpej 2de85463e2 Correct typos, PR #2382. 1996-05-09 21:11:47 +00:00
thorpej 7ebfa3c7fc Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:57:58 +00:00
christos 78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
cgd d7d306aeb7 change LANCE copy & zero functions' names to start with amd7990_, and
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
thorpej d6f4511690 All interrupt routines (except the HIL; don't ask) now take a pointer
to a softc, rather than a unit number.  Add a "dq_softc" member
to struct devqueue; this is a temporary measure until the
dma/controller/device callback spaghetti is untangled.

YAY!  No more need for dcafastservice!

HIL: squish instances of "(void) splhil()" and "(void) spl0();".
1996-02-14 02:43:54 +00:00
thorpej 90964d13db Implement a suggestion from Charles; use a wrapper function before
leintr() to deal with das blinkenlights.  Also squishes the need
for LEINTR_UNIT.
1996-01-02 21:56:21 +00:00
thorpej f26be3a3d6 Fix something the switch to the MI LANCE code broke: use LE_TINT_HOOK
and LE_RINT_HOOK to blink the "LAN transmit" and "LAN receive" LEDs on
the front panels of 400-series machines iff the CPP symbol USELEDS is
defined in the kernel config file.
1995-12-30 21:03:02 +00:00
mycroft 7877aa6eb5 Use the MI LANCE code. 1995-12-10 00:49:33 +00:00
thorpej 52ec09e420 Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config.
1995-12-02 18:21:49 +00:00
thorpej 62572d6658 Kill bogus if_addrlist check. 1995-08-04 08:08:41 +00:00
mycroft 44e9c73f2c Update for global changes. 1995-04-19 22:16:30 +00:00
cgd 132b41434c new RCS ID format. 1994-10-26 07:22:45 +00:00
mycroft 53c4d8a7e6 Fix byte order problem in multicast filter calculation. 1994-09-29 21:24:12 +00:00
mycroft 775fc8b821 Add LED frobnication code, from 4.4-Lite. 1994-09-18 00:43:19 +00:00
mycroft a18c0c0d83 Look for errors in the right place in a transmit descriptor, and count
collisions.
1994-07-25 22:54:58 +00:00
mycroft e88e13f3bb Fix a bogon relating to >16-bit addresses that I introduced. Fix up BPF
support for received packets.
1994-07-15 21:20:48 +00:00
mycroft db0e00db86 Clean up a bit. 1994-07-10 17:53:12 +00:00
mycroft 60b6c8c0fe This #endif got truncated... 1994-07-07 01:31:00 +00:00
mycroft f810838a9c Speed this up a bit, do multiple transmit buffers, etc. 1994-07-06 01:36:23 +00:00
mycroft 41719a1259 Update to match other code. 1994-05-13 08:36:17 +00:00
mycroft 04bedf2b62 Fix a couple of bogons I just created. 1994-02-16 21:07:22 +00:00
mycroft c540418d24 Use IFF_ALLMULTI correctly. 1994-02-16 20:15:18 +00:00
mycroft a06d1b4301 Fix some weirdness in the multicast initialization. 1994-02-14 23:03:54 +00:00
mycroft f1827085d7 Strict prototyping and a couple of other nits. 1994-02-06 00:46:02 +00:00
mycroft cd2e9eb071 Remember to set txcnt before it bites me. 1994-02-05 15:04:18 +00:00
mycroft 0ee7464aba Allow multiple transmit buffers to be outstanding. Original code by Hibler;
some cleanup by me.
1994-02-05 06:58:08 +00:00
mycroft ebb4a096a1 Add multicast support. Lots of other cleanup, mostly from the SPARC port. 1994-02-05 05:06:54 +00:00
mycroft 1ef3aa2cc7 Fix Theo's typos. 1994-01-30 18:42:47 +00:00
deraadt 87568b1c96 delete RMP code
ether_input() takes ether_type in net byte order now
1994-01-24 00:25:21 +00:00
cgd 30177b538f add rcsids to everything and clean up headers 1993-05-22 07:56:12 +00:00
cgd 6dedb5151c add hp300 kernel files. generic kernel files might need some help... 1993-05-13 13:56:20 +00:00