summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_port.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2001-01-04 11:27:41 +0000
committern_hibma <n_hibma@FreeBSD.org>2001-01-04 11:27:41 +0000
commit2f8df952670f15f1f9c33fc7445ab58f6075ca8c (patch)
treea04e378476381bbd6cedf008c1a26f3d454ef328 /sys/dev/usb/usb_port.h
parent613930f45afe077cb958d2371a18e94b530644bd (diff)
downloadFreeBSD-src-2f8df952670f15f1f9c33fc7445ab58f6075ca8c.zip
FreeBSD-src-2f8df952670f15f1f9c33fc7445ab58f6075ca8c.tar.gz
UMASS_DEBUG implemented panic(9).
PR: 24044 Submitted by: Mike Bristow <mike@urgle.com>
Diffstat (limited to 'sys/dev/usb/usb_port.h')
-rw-r--r--sys/dev/usb/usb_port.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 30e8225..c7a705b 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)
OpenPOWER on IntegriCloud