summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.h
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-02-16 00:51:26 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-02-16 00:51:26 +0000
commit4d0649fbad8cd99f1c3302b695eafa871d2de422 (patch)
tree9c0ec415f0dfcb9ea00bb065aa1466311f4ea70b /sys/dev/usb/usb.h
parentc67fd26e984ab205db6835ab41660bf2e2a32af3 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb.h')
-rw-r--r--sys/dev/usb/usb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h
index 8d5a3da94d1e..2951ecade6a5 100644
--- a/sys/dev/usb/usb.h
+++ b/sys/dev/usb/usb.h
@@ -597,7 +597,10 @@ struct usb_device_info {
u_int8_t subclass;
u_int8_t protocol;
u_int8_t config;
- u_int8_t lowspeed;
+ u_int8_t speed;
+#define USB_SPEED_LOW 1
+#define USB_SPEED_FULL 2
+#define USB_SPEED_HIGH 3
int power; /* power consumption in mA, 0 if selfpowered */
int nports;
char devnames[USB_MAX_DEVNAMES][USB_MAX_DEVNAMELEN];