summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-06-17 16:24:49 +0000
committerimp <imp@FreeBSD.org>2007-06-17 16:24:49 +0000
commit3df4a89c178cc077a476abb01253c7d687f2df81 (patch)
treef626e34ce9c13aeae74da3bccfe80308de3bac25 /sys/dev
parentfe845d62539b6ce2413cec49e660b11a8ea6acbd (diff)
downloadFreeBSD-src-3df4a89c178cc077a476abb01253c7d687f2df81.zip
FreeBSD-src-3df4a89c178cc077a476abb01253c7d687f2df81.tar.gz
Expand USB_MATCH_START
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_aue.c2
-rw-r--r--sys/dev/usb/if_axe.c2
-rw-r--r--sys/dev/usb/if_cdce.c2
-rw-r--r--sys/dev/usb/if_cue.c2
-rw-r--r--sys/dev/usb/if_kue.c2
-rw-r--r--sys/dev/usb/if_rue.c2
-rw-r--r--sys/dev/usb/if_rum.c2
-rw-r--r--sys/dev/usb/if_udav.c2
-rw-r--r--sys/dev/usb/if_ural.c2
-rw-r--r--sys/dev/usb/ubsa.c2
-rw-r--r--sys/dev/usb/ubser.c2
-rw-r--r--sys/dev/usb/udbp.c2
-rw-r--r--sys/dev/usb/ufm.c2
-rw-r--r--sys/dev/usb/ufoma.c2
-rw-r--r--sys/dev/usb/uftdi.c2
-rw-r--r--sys/dev/usb/uhid.c2
-rw-r--r--sys/dev/usb/uhub.c2
-rw-r--r--sys/dev/usb/uipaq.c2
-rw-r--r--sys/dev/usb/ukbd.c2
-rw-r--r--sys/dev/usb/ulpt.c2
-rw-r--r--sys/dev/usb/umass.c2
-rw-r--r--sys/dev/usb/umct.c2
-rw-r--r--sys/dev/usb/umodem.c2
-rw-r--r--sys/dev/usb/ums.c2
-rw-r--r--sys/dev/usb/uplcom.c2
-rw-r--r--sys/dev/usb/urio.c2
-rw-r--r--sys/dev/usb/uscanner.c2
-rw-r--r--sys/dev/usb/uvisor.c2
-rw-r--r--sys/dev/usb/uvscom.c2
29 files changed, 29 insertions, 29 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index 0cfd53a..772eea6 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -615,7 +615,7 @@ aue_reset(struct aue_softc *sc)
static int
aue_match(device_t self)
{
- USB_MATCH_START(aue, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return (UMATCH_NONE);
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index 32e6099..4c2c1b9 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -382,7 +382,7 @@ axe_reset(struct axe_softc *sc)
static int
axe_match(device_t self)
{
- USB_MATCH_START(axe, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
struct axe_type *t;
if (!uaa->iface)
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c
index ef8101d..156b2db 100644
--- a/sys/dev/usb/if_cdce.c
+++ b/sys/dev/usb/if_cdce.c
@@ -111,7 +111,7 @@ static const struct cdce_type cdce_devs[] = {
static int
cdce_match(device_t self)
{
- USB_MATCH_START(cdce, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_interface_descriptor_t *id;
if (uaa->iface == NULL)
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c
index 7385a5d..af62072 100644
--- a/sys/dev/usb/if_cue.c
+++ b/sys/dev/usb/if_cue.c
@@ -407,7 +407,7 @@ cue_reset(struct cue_softc *sc)
static int
cue_match(device_t self)
{
- USB_MATCH_START(cue, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
struct cue_type *t;
if (!uaa->iface)
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index 8cae085..7710225 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -380,7 +380,7 @@ kue_reset(struct kue_softc *sc)
static int
kue_match(device_t self)
{
- USB_MATCH_START(kue, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
struct kue_type *t;
if (!uaa->iface)
diff --git a/sys/dev/usb/if_rue.c b/sys/dev/usb/if_rue.c
index c2c8dd5..d9f54c5 100644
--- a/sys/dev/usb/if_rue.c
+++ b/sys/dev/usb/if_rue.c
@@ -550,7 +550,7 @@ rue_reset(struct rue_softc *sc)
static int
rue_match(device_t self)
{
- USB_MATCH_START(rue, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
struct rue_type *t;
if (uaa->iface == NULL)
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c
index f8161df..21b589d 100644
--- a/sys/dev/usb/if_rum.c
+++ b/sys/dev/usb/if_rum.c
@@ -362,7 +362,7 @@ USB_DECLARE_DRIVER(rum);
static int
rum_match(device_t self)
{
- USB_MATCH_START(rum, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return UMATCH_NONE;
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c
index 28059ad..457b04d 100644
--- a/sys/dev/usb/if_udav.c
+++ b/sys/dev/usb/if_udav.c
@@ -267,7 +267,7 @@ static const struct udav_type {
static int
udav_match(device_t self)
{
- USB_MATCH_START(udav, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return (UMATCH_NONE);
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c
index 5e28ac7..61bf44b 100644
--- a/sys/dev/usb/if_ural.c
+++ b/sys/dev/usb/if_ural.c
@@ -349,7 +349,7 @@ USB_DECLARE_DRIVER(ural);
static int
ural_match(device_t self)
{
- USB_MATCH_START(ural, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return UMATCH_NONE;
diff --git a/sys/dev/usb/ubsa.c b/sys/dev/usb/ubsa.c
index a7e8ee5..26b37ba 100644
--- a/sys/dev/usb/ubsa.c
+++ b/sys/dev/usb/ubsa.c
@@ -261,7 +261,7 @@ MODULE_VERSION(ubsa, UBSA_MODVER);
static int
ubsa_match(device_t self)
{
- USB_MATCH_START(ubsa, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
int i;
if (uaa->iface != NULL)
diff --git a/sys/dev/usb/ubser.c b/sys/dev/usb/ubser.c
index 934a271..a2c1dae 100644
--- a/sys/dev/usb/ubser.c
+++ b/sys/dev/usb/ubser.c
@@ -182,7 +182,7 @@ USB_DECLARE_DRIVER(ubser);
static int
ubser_match(device_t self)
{
- USB_MATCH_START(ubser, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_string_descriptor_t us;
usb_interface_descriptor_t *id;
usb_device_descriptor_t *dd;
diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c
index cb40f1d..32be0e8 100644
--- a/sys/dev/usb/udbp.c
+++ b/sys/dev/usb/udbp.c
@@ -219,7 +219,7 @@ USB_DECLARE_DRIVER(udbp);
static int
udbp_match(device_t self)
{
- USB_MATCH_START(udbp, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_interface_descriptor_t *id;
if (!uaa->iface)
return (UMATCH_NONE);
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c
index 0c7c89cc..ad7dc20 100644
--- a/sys/dev/usb/ufm.c
+++ b/sys/dev/usb/ufm.c
@@ -103,7 +103,7 @@ USB_DECLARE_DRIVER(ufm);
static int
ufm_match(device_t self)
{
- USB_MATCH_START(ufm, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_device_descriptor_t *dd;
DPRINTFN(10,("ufm_match\n"));
diff --git a/sys/dev/usb/ufoma.c b/sys/dev/usb/ufoma.c
index 5960d3d..b9c1a17 100644
--- a/sys/dev/usb/ufoma.c
+++ b/sys/dev/usb/ufoma.c
@@ -263,7 +263,7 @@ MODULE_DEPEND(ufoma, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER);
static int
ufoma_match(device_t self)
{
- USB_MATCH_START(ufoma, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_interface_descriptor_t *id;
usb_config_descriptor_t *cd;
usb_mcpc_acm_descriptor *mad;
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c
index 1e1f1fb..3ea0bb3 100644
--- a/sys/dev/usb/uftdi.c
+++ b/sys/dev/usb/uftdi.c
@@ -136,7 +136,7 @@ struct ucom_callback uftdi_callback = {
static int
uftdi_match(device_t self)
{
- USB_MATCH_START(uftdi, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL) {
if (uaa->vendor == USB_VENDOR_FTDI &&
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index ae39540..8f484ad 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -168,7 +168,7 @@ USB_DECLARE_DRIVER(uhid);
static int
uhid_match(device_t self)
{
- USB_MATCH_START(uhid, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_interface_descriptor_t *id;
if (uaa->iface == NULL)
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 769dd6f..8941bd5 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -139,7 +139,7 @@ static driver_t uhubroot_driver = {
static int
uhub_match(device_t self)
{
- USB_MATCH_START(uhub, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_device_descriptor_t *dd = usbd_get_device_descriptor(uaa->device);
DPRINTFN(5,("uhub_match, dd=%p\n", dd));
diff --git a/sys/dev/usb/uipaq.c b/sys/dev/usb/uipaq.c
index 2645eef..0128c1c 100644
--- a/sys/dev/usb/uipaq.c
+++ b/sys/dev/usb/uipaq.c
@@ -132,7 +132,7 @@ static const struct uipaq_type uipaq_devs[] = {
static int
uipaq_match(device_t self)
{
- USB_MATCH_START(uipaq, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return (UMATCH_NONE);
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c
index 0d991e8..d956e66 100644
--- a/sys/dev/usb/ukbd.c
+++ b/sys/dev/usb/ukbd.c
@@ -127,7 +127,7 @@ USB_DECLARE_DRIVER_INIT(ukbd, DEVMETHOD(device_resume, ukbd_resume));
static int
ukbd_match(device_t self)
{
- USB_MATCH_START(ukbd, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
keyboard_switch_t *sw;
void *arg[2];
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index 446dd25..66699fe 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -170,7 +170,7 @@ USB_DECLARE_DRIVER(ulpt);
static int
ulpt_match(device_t self)
{
- USB_MATCH_START(ulpt, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_interface_descriptor_t *id;
DPRINTFN(10,("ulpt_match\n"));
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index a114711..45a6fb2 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -911,7 +911,7 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface,
static int
umass_match(device_t self)
{
- USB_MATCH_START(umass, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
struct umass_softc *sc = device_get_softc(self);
sc->sc_dev = self;
diff --git a/sys/dev/usb/umct.c b/sys/dev/usb/umct.c
index 9d89095..2f9d5fe 100644
--- a/sys/dev/usb/umct.c
+++ b/sys/dev/usb/umct.c
@@ -141,7 +141,7 @@ MODULE_VERSION(umct, 1);
static int
umct_match(device_t self)
{
- USB_MATCH_START(umct, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
int i;
if (uaa->iface != NULL)
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index b1ee0d6..f9adce3 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -230,7 +230,7 @@ MODULE_VERSION(umodem, UMODEM_MODVER);
static int
umodem_match(device_t self)
{
- USB_MATCH_START(umodem, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_interface_descriptor_t *id;
usb_device_descriptor_t *dd;
int cm, acm, i, ret;
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index b816445..c39b033 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -162,7 +162,7 @@ USB_DECLARE_DRIVER(ums);
static int
ums_match(device_t self)
{
- USB_MATCH_START(ums, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_interface_descriptor_t *id;
int size, ret;
void *desc;
diff --git a/sys/dev/usb/uplcom.c b/sys/dev/usb/uplcom.c
index 5a564e6..3082a23 100644
--- a/sys/dev/usb/uplcom.c
+++ b/sys/dev/usb/uplcom.c
@@ -321,7 +321,7 @@ SYSCTL_PROC(_hw_usb_uplcom, OID_AUTO, interval, CTLTYPE_INT | CTLFLAG_RW,
static int
uplcom_match(device_t self)
{
- USB_MATCH_START(uplcom, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
int i;
if (uaa->iface != NULL)
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index b99d400..046e847 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -137,7 +137,7 @@ USB_DECLARE_DRIVER(urio);
static int
urio_match(device_t self)
{
- USB_MATCH_START(urio, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
usb_device_descriptor_t *dd;
DPRINTFN(10,("urio_match\n"));
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index 4073ec6..652cf26 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -293,7 +293,7 @@ USB_DECLARE_DRIVER(uscanner);
static int
uscanner_match(device_t self)
{
- USB_MATCH_START(uscanner, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return UMATCH_NONE;
diff --git a/sys/dev/usb/uvisor.c b/sys/dev/usb/uvisor.c
index dbcb315..d2cd099 100644
--- a/sys/dev/usb/uvisor.c
+++ b/sys/dev/usb/uvisor.c
@@ -247,7 +247,7 @@ static const struct uvisor_type uvisor_devs[] = {
static int
uvisor_match(device_t self)
{
- USB_MATCH_START(uvisor, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return (UMATCH_NONE);
diff --git a/sys/dev/usb/uvscom.c b/sys/dev/usb/uvscom.c
index 97ced91..8612d42 100644
--- a/sys/dev/usb/uvscom.c
+++ b/sys/dev/usb/uvscom.c
@@ -297,7 +297,7 @@ SYSCTL_PROC(_hw_usb_uvscom, OID_AUTO, interval, CTLTYPE_INT | CTLFLAG_RW,
static int
uvscom_match(device_t self)
{
- USB_MATCH_START(uvscom, uaa);
+ struct usb_attach_arg *uaa = device_get_ivars(self);
if (uaa->iface != NULL)
return (UMATCH_NONE);
OpenPOWER on IntegriCloud