diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-26 17:00:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-26 17:00:29 +0000 |
commit | b70ce41c22de7e2281a07553ebb61643145ed28a (patch) | |
tree | f2692c2cfe78abcaa8479c0abca876ca3073a3ce /sys/dev/usb/uts.c | |
parent | e74be22fa284be519fe4f94e07adf0e0ee2395cd (diff) |
USB device lists do not need a terminating sentinel, so don't provide any;
this should prevent phantom devices from attaching axe or uberry on
some machines.
ok deraadt@
Diffstat (limited to 'sys/dev/usb/uts.c')
-rw-r--r-- | sys/dev/usb/uts.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/uts.c b/sys/dev/usb/uts.c index fc933bd9bea..ce8408c14df 100644 --- a/sys/dev/usb/uts.c +++ b/sys/dev/usb/uts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uts.c,v 1.4 2007/04/25 14:17:42 robert Exp $ */ +/* $OpenBSD: uts.c,v 1.5 2007/04/26 17:00:28 miod Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -97,8 +97,7 @@ struct uts_pos { Static const struct usb_devno uts_devs[] = { { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_ITM_TOUCH }, { USB_VENDOR_EGALAX, USB_PRODUCT_EGALAX_TPANEL }, - { USB_VENDOR_EGALAX, USB_PRODUCT_EGALAX_TPANEL2 }, - { 0, 0 } + { USB_VENDOR_EGALAX, USB_PRODUCT_EGALAX_TPANEL2 } }; Static void uts_intr(usbd_xfer_handle, usbd_private_handle, usbd_status); |