diff options
author | Nick Hibma <n_hibma@FreeBSD.org> | 2001-01-04 11:27:41 +0000 |
---|---|---|
committer | Nick Hibma <n_hibma@FreeBSD.org> | 2001-01-04 11:27:41 +0000 |
commit | 95e5d987490a6eb3bff53a61e2269be212a82bbe (patch) | |
tree | e976a7a7b64ae9f5b8d4efdd4e773ea6521dfdf4 /sys/dev/usb/usb_port.h | |
parent | 5a5b0c4efa8e8d9eb5f81ddf3d29d68c40a15299 (diff) | |
download | src-95e5d987490a6eb3bff53a61e2269be212a82bbe.tar.gz src-95e5d987490a6eb3bff53a61e2269be212a82bbe.zip |
UMASS_DEBUG implemented panic(9).
PR: 24044
Submitted by: Mike Bristow <mike@urgle.com>
Notes
Notes:
svn path=/head/; revision=70664
Diffstat (limited to 'sys/dev/usb/usb_port.h')
-rw-r--r-- | sys/dev/usb/usb_port.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 30e822549fda..c7a705b84704 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -107,6 +107,8 @@ __CONCAT(dname,_match)(parent, match, aux) \ #define USB_MATCH_START(dname, uaa) \ struct usb_attach_arg *uaa = aux +#define USB_MATCH_SETUP /* nop */ + #define USB_ATTACH(dname) \ void \ __CONCAT(dname,_attach)(parent, self, aux) \ @@ -221,6 +223,8 @@ __CONCAT(dname,_match)(parent, match, aux) \ #define USB_MATCH_START(dname, uaa) \ struct usb_attach_arg *uaa = aux +#define USB_MATCH_SETUP /* nop */ + #define USB_ATTACH(dname) \ void \ __CONCAT(dname,_attach)(parent, self, aux) \ @@ -332,6 +336,9 @@ __CONCAT(dname,_match)(device_t self) #define USB_MATCH_START(dname, uaa) \ struct usb_attach_arg *uaa = device_get_ivars(self) +#define USB_MATCH_SETUP \ + sc->sc_dev = self + #define USB_ATTACH(dname) \ Static int \ __CONCAT(dname,_attach)(device_t self) |