Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/21/2007 18:22:44
Module Name: src
Committed By: dyoung
Date: Fri Dec 21 18:22:44 UTC 2007
Modified Files:
src/sys/dev/cardbus: if_rtw_cardbus.c
src/sys/dev/ic: rtw.c rtwvar.h
src/sys/dev/pci: if_rtw_pci.c
Log Message:
Do not embed a struct device in rtw_softc any longer. Register
both pci and cardbus attachments with CFATTACH_DECL_NEW(). Access
the softc through the device_t using device_private().
While I'm here, change a couple of KASSERT()s about the Rx buffer
length to a warning.
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/dev/cardbus/if_rtw_cardbus.c
cvs rdiff -r1.97 -r1.98 src/sys/dev/ic/rtw.c
cvs rdiff -r1.34 -r1.35 src/sys/dev/ic/rtwvar.h
cvs rdiff -r1.8 -r1.9 src/sys/dev/pci/if_rtw_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.