Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/25/2004 06:58:37
Module Name:	src
Committed By:	dyoung
Date:		Sat Dec 25 06:58:37 UTC 2004

Modified Files:
	src/sys/dev/cardbus: if_rtw_cardbus.c
	src/sys/dev/ic: rtw.c rtwphy.c rtwphyio.c rtwvar.h

Log Message:
Change rtw_debug from a debug level to a debug mask.  Add a lot of
debug flags.

From Linux: handle an RTL8180 bug.  Sometimes the NIC skips from
the middle of the ring to the 0th rx descriptor.  Now the driver
resynchronizes.

Handle a receive descriptor underrun or Rx FIFO overflow condition
in the way that the Linux driver does.  This kind of seems like
overkill, but whatever.

Protect rtw_ioctl with splnet().

Do not load a tx descriptor with a buffer shorter than 4 bytes.

Handle a transmit timeout less disruptively.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/dev/cardbus/if_rtw_cardbus.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/ic/rtw.c
cvs rdiff -r1.2 -r1.3 src/sys/dev/ic/rtwphy.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/ic/rtwphyio.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/rtwvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.