Commit Graph

86 Commits

Author SHA1 Message Date
mycroft 3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
christos e159767fed Repeating my mistakes twice... I used sc-> in the pci probe routine
again, and it turned NetBSD in ostype[] to N^CtBSD... Thanks Charles (again)
Also call epstop() in the attach routine to make sure that the pci card
gets reset properly.
1995-12-05 03:30:15 +00:00
christos d125a07adb My previous changes broke the pcmcia support. For now assume that all non
PCI cards look identical to ISA cards.
1995-11-13 20:50:22 +00:00
christos e4c4e9cb07 Add support for the 3c59x (pci) cards in the 3c5x9 driver. In addition
add the necessary bits for the 3c589 (pcmcia) card without adding any
of the pcmcia framework.
1995-11-10 19:39:21 +00:00
mycroft 3450507404 Make sure we only schedule one timeout to refill the mbuf queue. 1995-10-10 03:11:28 +00:00
mycroft 38036ed16e Fix an oversight in the previous. 1995-07-27 05:01:08 +00:00
mycroft 33292f0f88 Fix typos. 1995-07-24 02:08:13 +00:00
mycroft 7998e5ab4c Various cleanup:
* Use standard function naming conventions.
* Only increment if_ipackets when a packet was actually received.
* Check for excessively large or small packets before trying to read them.
1995-07-24 02:02:45 +00:00
mycroft 9b2ae2a3cd Stylistic changes. 1995-07-23 21:26:48 +00:00
mycroft ecf259e342 Call epmbufempty() any time the board is stopped. 1995-07-23 20:46:49 +00:00
mycroft 57528ce346 Init functions are always called at splimp(). 1995-07-23 20:36:51 +00:00
mycroft a1a31f853c Fix pasto. 1995-07-23 16:43:40 +00:00
mycroft 9c26c4da18 Always use m_pkthdr.len on output. Panic if M_PKTHDR is not set. 1995-07-23 16:42:49 +00:00
mycroft d9fc8ef092 Remove check for if_addrlist == 0; if_attach() always puts one address on
the list, so this is a noop.
1995-06-12 00:09:42 +00:00
cgd 8a640328ed clean up several ISA device interfaces: autoconfiguration, header
inclusion, and interrupt configuration.  more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
mycroft c7a7d5c262 Sync with the rest of the world. 1995-04-11 05:10:20 +00:00
mycroft 0f894be19c Rearrange epintr() to insure proper edge-trigger of the interrupt latch. 1995-02-19 06:13:53 +00:00
cgd 3a7bbb1acd lip service to making ISA support machine-independent. This is the first
round: moving the drivers into a machine-independent directory.
Some drivers (e.g. fd.c) not moved because they use other pc features (e.g.
CMOS settings), and none of the non-driver files moved, because they're
still pretty much PC specific.  eventually (when other ports with ISA
busses really start using this code), more 'high-level' ISA support will
live here.
1995-01-29 07:36:54 +00:00
mycroft 01ce8db055 Fix the problem with identifying cards on warm boot. Partly from Greg Hudson. 1995-01-22 07:37:28 +00:00
mycroft 06b0414491 Actually, do the ID reset in elink_reset(). 1995-01-07 21:37:54 +00:00
mycroft ba288b4ae1 Do the reset in the individual drivers, not in elink_idseq(). 1995-01-06 21:41:26 +00:00
mycroft b5cf1b5ddd Add interrupt sharing types. 1995-01-03 01:30:14 +00:00
hpeyerl 262b425866 temporary warning until I get new docs. 1994-12-28 16:47:50 +00:00
christos 303841c92e 3c509 fixes to avoid adapter getting stuck in high traffic conditions.
I don't particularly like the fixes, but at least now the 3c509 never
gets stuck. On the other hand, performance still sucks in some cases.
1994-12-10 14:52:02 +00:00
christos 6a2c060851 fix unary plus typo :-) 1994-11-25 23:19:03 +00:00
mycroft 35cdd801e6 Convert port, IRQ, and DRQ numbers to ints. 1994-11-18 21:57:40 +00:00
mycroft 29414c5a0a Change all of the uses of IRQ{0-15} and bit masks to use plain numbers
rather than bit shifting.
1994-11-04 18:34:50 +00:00
mycroft 54cc63645d Update to match autoconfig code. 1994-11-03 23:08:27 +00:00
cgd 6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd 022ee8f7fe new RCS ID format. 1994-10-27 04:14:23 +00:00
mycroft 584de55692 Missed an iobase that should be u_short. 1994-09-05 00:21:40 +00:00
mycroft a13c1b15cc Minor. 1994-08-26 12:43:17 +00:00
deraadt de20d2cf67 Re-enable EISA reset code -- definately needed now. do RX_DISCARD_TOP_PACK
before leaving splhigh(), to give incoming packets a better chance.
1994-08-26 12:11:44 +00:00
mycroft 8ac5e10c5d Various code cleanup. 1994-08-23 19:30:12 +00:00
deraadt 256353ef62 multicast 1994-08-17 06:04:49 +00:00
mycroft a570fcd929 Re-enable EISA reset. 1994-08-14 09:43:59 +00:00
deraadt ebd23fe5e0 cleanup 1994-08-06 23:19:39 +00:00
deraadt cefefb25ca cleanup, working 32 bit IO on the 3c579, and memory alignment of insl/insw
for better performance.
1994-08-05 21:16:33 +00:00
mycroft 53f3b61cdc Redux. 1994-07-28 19:57:31 +00:00
mycroft c405e84a24 port --> iobase 1994-07-28 09:50:33 +00:00
mycroft d02e11d543 Make the EISA reset code like the other drivers. 1994-07-28 08:44:47 +00:00
mycroft 7fca65c005 Remove something which cannot possibly be correct. 1994-07-21 04:15:05 +00:00
mycroft 4469aea569 Do the EISA probing a little differently. 1994-07-21 03:30:18 +00:00
deraadt 3013b3fdbc check if eisa card exists before tromping on dma 1994-07-21 02:51:53 +00:00
deraadt 943735dc41 modifications to the threshold and nicer error checking from christos
and .. splhigh() around insw/outsw code.. yetch
1994-07-01 23:08:11 +00:00
deraadt 00eb72f54b two fixes from christos 1994-06-04 01:52:28 +00:00
hpeyerl 30c08c899f Copyright foo. 1994-05-25 20:41:53 +00:00
mycroft a9376b883a MIN --> min 1994-05-24 07:31:12 +00:00
deraadt 18dab72811 32bit eisa does not work now, do not even try 1994-05-21 05:34:02 +00:00
mycroft 949b970c95 Use ether_ifattach() rather than doing the same thing in each driver. 1994-05-13 06:13:43 +00:00