summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/serial/umodem.c
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-06-24 02:30:02 +0000
committerhselasky <hselasky@FreeBSD.org>2011-06-24 02:30:02 +0000
commitdc0788739aaaf15b40f6d2fded382c167e26133d (patch)
tree6e82b2865a1b1c3596523a9b28c7c73c29ffd4ec /sys/dev/usb/serial/umodem.c
parent1d215b1285ab0897c64a473f1b6b30f0311b87d0 (diff)
downloadFreeBSD-src-dc0788739aaaf15b40f6d2fded382c167e26133d.zip
FreeBSD-src-dc0788739aaaf15b40f6d2fded382c167e26133d.tar.gz
- Move all USB device ID arrays into so-called sections,
sorted according to the mode which they support: host, device or dual mode - Add generic tool to extract these data: tools/bus_autoconf Discussed with: imp Suggested by: Robert Millan <rmh@debian.org> PR: misc/157903 MFC after: 14 days
Diffstat (limited to 'sys/dev/usb/serial/umodem.c')
-rw-r--r--sys/dev/usb/serial/umodem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/serial/umodem.c b/sys/dev/usb/serial/umodem.c
index c6d517b..92bfe93 100644
--- a/sys/dev/usb/serial/umodem.c
+++ b/sys/dev/usb/serial/umodem.c
@@ -123,7 +123,7 @@ SYSCTL_INT(_hw_usb_umodem, OID_AUTO, debug, CTLFLAG_RW,
&umodem_debug, 0, "Debug level");
#endif
-static const struct usb_device_id umodem_devs[] = {
+static const STRUCT_USB_HOST_ID umodem_devs[] = {
/* Generic Modem class match */
{USB_IFACE_CLASS(UICLASS_CDC),
USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
OpenPOWER on IntegriCloud