NetBSD/sys/dev
jonathan 16d760f318 Fix for hanging 3com ``large packet'' (100Mbit) Etherlink-III devices:
* Add a slot in the softc, ep_pktlenshift, to indicate that
    a board implements ``large packets'' (FDDI-sized frames) and
    therefore implicitly shifts the argument to packet-length commands
    by two bits to fit a 13-bit length in  an 11-bit command argument field.

 *  Change  the reset of station-mask filterto be independent of bus-type
    (e.g.,. for 3c515)

 * Replace  the "2044" constant used to disable TX threshold interrupts
   on 3c509-generation cards with a #define. Use 2047 instead,
   since that works on the large-packet cards (Vortex, Demon, Boomerang)
   and 2044 doesn't.

 *  Add code to  epconfing to probe for large-packet support,
    set the softc appropriately, and  shift packet sizes in commands
    by ep_pktlenshift to compensate  for the implicit shift.

 *  Tweak the epconfig() code to avoid hanging on startup.
    Set the Tx threshold to interrupt when there's space for
    a maximal-sized ether frame, then  do epinit() then epstop(),
    instead of just the Tx and Rx reset. Required on at least a 3c595.

Tested on  a 3c595, but not on 3c509-generation hardware.
1996-11-17 23:58:29 +00:00
..
ata Fix WDDEBUG code; PR kern/1480. 1996-11-07 05:23:07 +00:00
dec backout previous kprintf change 1996-10-13 03:29:05 +00:00
eisa Fix front-ends of split uha driver to compile when DDB is not configured: 1996-11-15 22:53:36 +00:00
ic Fix for hanging 3com ``large packet'' (100Mbit) Etherlink-III devices: 1996-11-17 23:58:29 +00:00
isa Add missing arguments to NIC_GET in debug code. Fixes kern/2875. 1996-11-17 04:11:18 +00:00
microcode/aic7xxx dev/microcode/aic7xxx/aic7xxx.seq, 1996-10-08 03:04:02 +00:00
ofw Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB 1996-10-16 19:32:08 +00:00
pci print ptrdiff_t's by casting to long and printing with %l<whatever>. 1996-11-14 20:33:04 +00:00
rcons backout kprintf changes 1996-10-13 01:37:04 +00:00
sbus backout previous kprintf change 1996-10-13 02:59:55 +00:00
scsipi Another quirky cdrom drive ; pr kern/2917 1996-11-08 05:06:55 +00:00
sun Replace the field cs_rr0_new with cs_rr0_delta (keep changes instead). 1996-10-16 20:43:39 +00:00
tc update for new bus.h 1996-10-22 21:34:19 +00:00
audio_if.h prototypes for ccd audio and ncr5380 1996-03-07 15:00:07 +00:00
audio.c Reset `sc_async' on device close. 1996-11-01 23:05:45 +00:00
audiovar.h
ccd.c backout kprintf changes 1996-10-13 01:37:04 +00:00
ccdvar.h
cninit.c
cons.c Implement poll(2). 1996-09-07 12:40:22 +00:00
cons.h Implement poll(2). 1996-09-07 12:40:22 +00:00
md.c backout kprintf changes 1996-10-13 01:37:04 +00:00
md.h The ramdisk is now a pseudo-device. 1996-03-22 23:02:02 +00:00
mulaw.c
mulaw.h
ramdisk.c backout kprintf changes 1996-10-13 01:37:04 +00:00
ramdisk.h The ramdisk is now a pseudo-device. 1996-03-22 23:02:02 +00:00
vnd.c backout kprintf changes 1996-10-13 01:37:04 +00:00
vndioctl.h