Commit Graph

40 Commits

Author SHA1 Message Date
briggs
5336dade8e Force the talley counters to be read when we get the interrupt. GCC was
nicely optimizing the reads out for us.  Kudos for this one go to
Steven R. Weiss <srw@hvcn.org>.
1996-02-02 15:30:56 +00:00
briggs
0d6552d914 Fix typo in last change. 1996-01-13 14:03:38 +00:00
briggs
2a61903be4 Patch to at least recognise FOCUS EtherLAN. From Erik Bertelson
<erik@sockdev.uni-c.dk>
1996-01-12 04:52:58 +00:00
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
briggs
4d52f57876 Add Technology Works ethernet card. From
Kazunari Nakamura <kazu@nkk.co.jp>.
1995-09-24 14:13:56 +00:00
briggs
81cc5998a1 Missing increment operator for if_opackets in last change. 1995-08-09 12:16:10 +00:00
briggs
fc8739097d Fix signed/unsigned gaff in last.
Bring up-to-date with latest rash of changes to if_ed.c.
1995-07-30 21:39:17 +00:00
briggs
139f62c079 Add support for Farallon from Brian Gaeke (brg@dgate.org). 1995-07-30 13:38:04 +00:00
briggs
cf0aca3cb4 Read the packet header count in bytes, not as a word--word reads return
invalid data on some cards (notably old Apple Ethernet NB and Farallon
cards at least).
1995-07-30 02:44:27 +00:00
cgd
2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
briggs
cb00a78de3 Treat 0 as a failure case for ae_id_card() and take out
null-op check for a 0 addrlist in init.
1995-06-21 02:50:22 +00:00
briggs
331e2bd82b Add some code/defines to differentiate Asante and Interlan/Gator cards
correctly with the new nubus code.
1995-05-05 05:40:13 +00:00
briggs
59b4da2b39 Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
briggs
a992a8136c Add some multicast byteorder-related changes from djh@mulga.cs.mu.OZ.AU. 1995-04-22 12:08:12 +00:00
briggs
5982b968a9 Enable nubus interrupts after registering. 1995-04-21 04:01:27 +00:00
briggs
13efb6c197 First pass of KNFication. Needs more. 1995-04-21 02:47:35 +00:00
briggs
2b1a13ab2f Initialize totlen in ae_put. Thanks to chopps for pointing it out!
Also, switch back from using struct ed_ring to using struct ae_ring
because BYTE_ORDER == BIG_ENDIAN, but the card is in x86 byte order
mode because NuBUS does the swap "for us" on 16- and 32-bit transfers.
We should probably figure some way to use the std ed_ring if/when
all the 8390 drivers are all fully merged.
1995-04-19 04:43:36 +00:00
briggs
38cb076019 Get this working. Mainly, don't always round to word transfers on
receive.
1995-04-16 00:14:54 +00:00
briggs
c9e2e6e2a8 Update to use dev/ic/dp8390.h. Mostly from mycroft.
Still get extra data on either transmit or recieve, but want to
checkpoint this work.
1995-04-13 03:58:18 +00:00
briggs
2bc91b9c2c Almost working synch with if_ed.c. Much by mycroft. Fixups by me.
Inserts garbage characters--this driver isn't ready for use quite yet.
1995-04-12 15:01:14 +00:00
briggs
c17558aa9b Fixup types of a few functions to match if.h structure. 1995-04-08 20:55:26 +00:00
briggs
870235352d Print a diagnostic if we do hit the watchdog and recover w/o resetting. 1995-04-08 13:17:55 +00:00
briggs
129893572f Serious kludge around network timeouts. Network timeouts seem to be
caused by the VIA missing the ethernet slot interrupt.  If we get a
watchdog, try calling the via's nubus interrupt function.  If that
causes an interrupt, don't reset anything.  If it doesn't, use old
behavior (log timeout and reset).

Yuck.
1995-03-23 13:00:05 +00:00
briggs
50721bd46f Raise watchdog timer a tad. 1995-03-01 03:47:08 +00:00
briggs
749ca327c9 Nuke Log in if_aereg.h and remove duplicate (and benign) sc->smem_size
assignment from Brad Parker (brad@fcr.com).
1994-12-04 19:40:14 +00:00
briggs
d703fa05aa At least somewhat functional ethernet driver from Brad Parker
(brad@fcr.com).  Requires changes to via.c which are coming with
other changes in a moment...
1994-12-03 23:30:45 +00:00
cgd
4fdae7a0ae new RCS ID format. 1994-10-26 08:45:48 +00:00
briggs
a71a746946 MIN -> min. This needs a lot of work. 1994-06-26 13:01:24 +00:00
lkestel
cd701f50a3 Fixed a few major bugs. add_nubus_intr() was getting the wrong address,
and bcopy and bzero were being used.  The latter use longs to copy/zero,
and some ethernet cards can't handle longs.  I've added bbcopy and bbzero
as a temporary hack, but these should later be added to locore and maybe
changed to use shorts.  Still doesn't work: I can now get an interrupt on
the first transmit, but further transmits don't generate more interrupts.
1994-03-20 03:03:26 +00:00
briggs
c0d5b28126 Goof. Missed some mods in the changes to config.new a long time ago.
Thanks go to kesteloo@cs.unc.edu (Lawrence Kesteloot) for finding this.
1994-03-20 00:14:16 +00:00
briggs
10c02ec354 More Dayna separation. 1994-03-01 15:24:25 +00:00
briggs
82a0604c37 A little clean-up. 1994-02-27 03:40:26 +00:00
briggs
3a18d3b2a5 Cleaned up the probe a little by actually using data from the decl. ROMs. 1994-02-26 03:01:22 +00:00
briggs
bd54362375 Bail out in the probe since it's not safe at the moment (hangs on my
DaynaPort card).  Will fix when I get docs for the card.
1994-02-23 04:39:49 +00:00
briggs
bb20b67105 Get rid of if_init assignment. 1994-02-22 01:15:00 +00:00
briggs
c86a4eb235 Include-cop strikes again. 1994-01-30 01:14:49 +00:00
briggs
71d0f0a1ee Apply patch as suggested by Theo. 1994-01-24 22:29:40 +00:00
briggs
982b2aa969 Update ethernet driver to use config.new. At least, it's a first stab
working from mycroft's magnum changes to if_ed.c.
1993-12-21 03:18:00 +00:00
briggs
5fd9ddd438 Get rid of IFF_ALTPHYS and hence IFF_LLC0 reference. It doesn't appear
to have been used in this driver ;-)
1993-12-15 03:38:20 +00:00
briggs
e99f003a7d Update to current work in progress. This includes an update to
use config.new.
Numerous updates to console so it works better on the SE/30 screen.
Some nice changes from Brad Parker for handling NuBUS and an ethernet
driver that I haven't worked on, yet.
1993-11-29 00:32:22 +00:00