summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_auereg.h
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-05-26 23:54:37 +0000
committerjoe <joe@FreeBSD.org>2002-05-26 23:54:37 +0000
commit831cd78c747d792ed66379e6da5311808b63616c (patch)
treec0c4658188ed1453fa3719cf45fc3d22b79f4133 /sys/dev/usb/if_auereg.h
parent334090e93788356c92a8aa7097fb56c6dc9e8a97 (diff)
downloadFreeBSD-src-831cd78c747d792ed66379e6da5311808b63616c.zip
FreeBSD-src-831cd78c747d792ed66379e6da5311808b63616c.tar.gz
Use aue_lookup for looking up devices.
Diffstat (limited to 'sys/dev/usb/if_auereg.h')
-rw-r--r--sys/dev/usb/if_auereg.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/sys/dev/usb/if_auereg.h b/sys/dev/usb/if_auereg.h
index 4c45285..57ad525 100644
--- a/sys/dev/usb/if_auereg.h
+++ b/sys/dev/usb/if_auereg.h
@@ -196,15 +196,6 @@ struct aue_rxpkt {
#define AUE_RXSTAT_DRIBBLE 0x10
#define AUE_RXSTAT_MASK 0x1E
-struct aue_type {
- u_int16_t aue_vid;
- u_int16_t aue_did;
- u_int16_t aue_flags;
-#define LSYS 0x0001 /* use Linksys reset */
-#define PNA 0x0002 /* has Home PNA */
-#define PII 0x0004 /* Pegasus II chip */
-};
-
#define AUE_TX_LIST_CNT 1
#define AUE_RX_LIST_CNT 1
@@ -242,7 +233,8 @@ struct aue_softc {
device_t aue_miibus;
usbd_device_handle aue_udev;
usbd_interface_handle aue_iface;
- struct aue_type *aue_info;
+ u_int16_t aue_vendor;
+ u_int16_t aue_product;
int aue_ed[AUE_ENDPT_MAX];
usbd_pipe_handle aue_ep[AUE_ENDPT_MAX];
int aue_unit;
@@ -251,6 +243,7 @@ struct aue_softc {
struct aue_cdata aue_cdata;
struct callout_handle aue_stat_ch;
struct mtx aue_mtx;
+ u_int16_t aue_flags;
char aue_dying;
struct timeval aue_rx_notice;
};
OpenPOWER on IntegriCloud