Commit Graph

69 Commits

Author SHA1 Message Date
glass 48b5b94c4f fix some typos. from frank@fwi.uva.nl (Frank van der Linden) 1995-02-27 09:10:24 +00:00
mycroft 8b834a58ca Display more information when we get bogus data off the card. 1995-02-19 18:05:45 +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 b5cf1b5ddd Add interrupt sharing types. 1995-01-03 01:30:14 +00:00
mycroft 894bb9145f Use soft configuration where possible. 1995-01-02 20:32:55 +00:00
mycroft 9a3840f2f0 Stylistic changes. 1994-11-18 22:25:12 +00:00
mycroft 35cdd801e6 Convert port, IRQ, and DRQ numbers to ints. 1994-11-18 21:57:40 +00:00
mycroft cfc4633919 Remove outdated comment. 1994-11-04 19:17:47 +00:00
mycroft b7acf321cd No longer needs icu.h. 1994-11-04 18:59:34 +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 260ddbefb7 Rearrange ed_init() slightly, to better correspond to the National manual.
Optimize ed_rint() slightly in the case of multiple packets.  (Avoid an outb
and an inb for each packet).
1994-10-23 23:24:56 +00:00
mycroft 603fe7b5a6 Slight optimization. 1994-10-23 21:38:00 +00:00
mycroft 0114159848 Fix the packet length correction for buggy chips so that it actually works,
and always use it (otherwise short packets could still be corrupted).  Also
produce a diagnostic message if DIAGNOSTIC, since it *is* a hardware bug.
Add an ED_PAGE_SHIFT constant, and use it, to avoid GCC doing horrendous
things with divides and multiplies.
1994-10-23 21:22:13 +00:00
mycroft 6f5794ecba Fix bugs in dealing with odd-length mbufs in ed_pio_write_mbufs(). From
John Hood.
1994-10-14 13:05:13 +00:00
mycroft 7c01f7ce51 Changes from DG to deal with some old chips that corrupt the packet length. 1994-10-12 13:42:00 +00:00
mycroft 86e7908a72 Make some comments more clear. 1994-10-01 07:19:32 +00:00
mycroft f7b0f89811 Various minor changes to sync better with DG's version. 1994-10-01 07:13:32 +00:00
cgd ebcaebd335 MIN -> min, MAX -> max 1994-05-24 02:35:53 +00:00
mycroft 922959fd05 Reverse the order of disabling shared memory and turning off 16-bit mode
where necessary, per Steve Wallace.
1994-05-19 07:47:34 +00:00
mycroft 949b970c95 Use ether_ifattach() rather than doing the same thing in each driver. 1994-05-13 06:13:43 +00:00
mycroft 7040f728a9 Fill in some more struct ifnet fields. 1994-05-11 12:09:17 +00:00
mycroft a9c3f137b5 Don't frob the connector type if the card doesn't grok soft config. 1994-05-05 02:20:44 +00:00
mycroft 39718a43cc Enable/disable shared memory access on all WD/SMC boards. Add support for
software selection of AUI or BNC connectors using LINK0.
1994-04-28 04:53:09 +00:00
mycroft 84752ce046 Don't need isa.h. 1994-04-24 01:29:56 +00:00
mycroft 07b3588735 Patches from David Greenman to eliminate magic constants and add delays when
switching to and fro 16-bit access for 790s.
1994-04-14 03:54:07 +00:00
mycroft 0ae5489036 Return correct values from edintr(). 1994-04-08 17:16:39 +00:00
mycroft 3f5e4f423f Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
Reorganize and clean up the relevant code.
1994-04-07 06:48:19 +00:00
mycroft 592ec61b17 Updates for new autoconfig. 1994-03-29 04:35:37 +00:00
mycroft a618881dd7 #include cpu.h in all files which use spl*(). 1994-03-08 12:21:10 +00:00
ws 581b6ca207 Don't let uninitialized variable slip by 1994-03-06 19:34:46 +00:00
mycroft 0c082bcaf8 DELAY() --> delay(). This is not a macro. 1994-03-06 17:18:43 +00:00
mycroft 37135f9686 Add 8003W and 8003EB, per David Greenman. 1994-03-02 22:47:36 +00:00
mycroft 165d9e602c Fix the 790 interrupt table, per Christoph Robitschko. 1994-03-02 03:40:46 +00:00
hpeyerl e56750e9d0 Remove backwoods compatibility. 1994-02-25 23:09:26 +00:00
mycroft 485e7af18d Forgot to enable the interrupt on Ultras. 1994-02-20 04:05:26 +00:00
mycroft 7e5b65e9d4 Simplify a couple of bits, since IFF_MULTICAST is always set. 1994-02-17 07:20:06 +00:00
mycroft 811c50e72e Fix typo. 1994-02-16 20:22:04 +00:00
mycroft c540418d24 Use IFF_ALLMULTI correctly. 1994-02-16 20:15:18 +00:00
mycroft e0b1614dc7 Remove some dead code. 1994-02-16 03:03:46 +00:00
mycroft 79b447f626 Hack to make this closer to new config. 1994-02-15 19:37:12 +00:00
mycroft ccba59071a Make the multicast filter calculation identical to what will be in if_is.c. 1994-02-14 23:56:16 +00:00
mycroft 551478ad4a Don't save runt or errored packets. These are almost always `normal', and we
really can't deal with them anyway.
1994-02-13 05:44:39 +00:00
mycroft 754f02f1c2 Correct spelling errors. 1994-02-13 03:49:24 +00:00
mycroft 6839509d86 Support for several new cards pulled from magnum branch.
Format police.
1994-02-12 07:16:24 +00:00
mycroft 9638fd585a Nuke if_init. 1994-02-10 17:17:56 +00:00
mycroft 7ce014f038 Clean up multicast code; part from magnum branch, and part from Brad Parker
<brad@fcr.com>.  A couple of other nits.
1994-02-08 03:06:20 +00:00
hpeyerl d7038296be Multicast is no longer optional. 1994-02-02 05:58:50 +00:00