freebsd-dev/sys/pci
Pyun YongHyeon 1375f576a9 It seems that RealTek 8129/8139 chip reports invalid length of
received frame under certain conditions. wpaul said the length
0xfff0 is special meaning that indicates hardware is in the
process of copying a packet into host memory. But it seems
there are other cases that hardware is busy or stuck in bad
situation even if the received frame length is not 0xfff0.
To work-around this condition, add a check that verifys that
recevied frame length is in valid range. If received length is out
of range reinitialize hardware to recover from stuck condition.

Reported by:	Mike Tancsa ( mike AT sentex DOT net )
Tested by:	Mike Tancsa
Obtained from:	OpenBSD
MFC after:	1 week
2008-04-10 01:06:05 +00:00
..
alpm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
amdpm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
amdsmb.c Add copyrights. 2008-01-21 13:26:33 +00:00
if_mn.c Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
if_pcn.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_pcnreg.h - Clear the PCN_MISC_ASEL bit so the media port can be actually set 2006-11-28 01:33:17 +00:00
if_rl.c It seems that RealTek 8129/8139 chip reports invalid length of 2008-04-10 01:06:05 +00:00
if_rlreg.h Padding more bytes than necessary one broke another variants of 2008-03-31 04:03:14 +00:00
if_sis.c Convert sis(4) to use its own watchdog procedure. 2007-02-24 14:27:36 +00:00
if_sisreg.h Convert sis(4) to use its own watchdog procedure. 2007-02-24 14:27:36 +00:00
if_ste.c Fix function prototype for device_shutdown method. 2007-11-22 02:45:00 +00:00
if_stereg.h Add new ST201 PCI id. 2007-03-10 03:10:34 +00:00
if_tl.c tl(4) appears to support long frames. 2007-05-09 09:02:11 +00:00
if_tlreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_wb.c Give MEXTADD() another argument to make both void pointers to the 2008-02-01 19:36:27 +00:00
if_wbreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_xl.c - Take advantage of bus_dmamap_load_mbuf_sg(9). 2008-03-24 17:49:06 +00:00
if_xlreg.h - Take advantage of bus_dmamap_load_mbuf_sg(9). 2008-03-24 17:49:06 +00:00
intpm.c Oops, convert a tsleep() to a msleep() that was missed when adding locking 2007-10-15 16:18:20 +00:00
intpmreg.h Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
locate.pl
ncr.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
ncrreg.h Fix typos from previous commit. 2005-01-07 05:01:24 +00:00
nfsmb.c Add copyrights. 2008-01-21 13:26:33 +00:00
viapm.c Add the device ID for the VIA CX700 chipset. 2007-08-02 04:29:19 +00:00