diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-08-13 18:39:24 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-08-13 18:39:24 +0000 |
commit | 17d5aba6f2ac45c2fc102114f1a02a62a94c6bbe (patch) | |
tree | 6000c938bb7a8dfddd2c1d8371e6a377a6757bda /sys/dev/usb/usb.h | |
parent | 2424c7393a2a912ab1e3678c643b613766634171 (diff) | |
download | FreeBSD-src-17d5aba6f2ac45c2fc102114f1a02a62a94c6bbe.zip FreeBSD-src-17d5aba6f2ac45c2fc102114f1a02a62a94c6bbe.tar.gz |
From NetBSD:
Make it possible to move a device to its unconfigured state by
using config #0.
Add some comments.
Change error reporting in port reset function.
usbd_devinfo_vp(): search the know devs array also if the device doesn't
return product description (e.g. Kye's Genius NetScroll mouse returns
vendor, but not product); the strings returned by device are still
preferred to those in the array, though
Diffstat (limited to 'sys/dev/usb/usb.h')
-rw-r--r-- | sys/dev/usb/usb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 0d987d3..71d903b 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -427,6 +427,9 @@ typedef struct { #define USB_BUS_RESET_DELAY 100 /* ms XXX?*/ +#define USB_UNCONFIG_NO 0 +#define USB_UNCONFIG_INDEX (-1) + /*** ioctl() related stuff ***/ struct usb_ctl_request { |