From 4d0649fbad8cd99f1c3302b695eafa871d2de422 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Sat, 16 Feb 2002 00:51:26 +0000 Subject: Merge from NetBSD: Pave the way for USB2, by replacing 'lowspeed' with 'speed', so that it can take the values USB_SPEED_LOW, USB_SPEED_FULL or in time USB_SPEED_HIGH. --- sys/dev/usb/usb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev/usb/usb.h') 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]; -- cgit v1.3