Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Don't match on idVendor=0x0000 && idProduct=0x0000.
details: https://anonhg.NetBSD.org/src/rev/4fde1fcfdac2
branches: trunk
changeset: 777704:4fde1fcfdac2
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Fri Mar 02 04:22:57 2012 +0000
description:
Don't match on idVendor=0x0000 && idProduct=0x0000.
OpenBSD usb_lookup() might need this as a terminating entry,
but we don't at this point.
Repulsively enough, something that should be a uhidev(4),
ServerEngines SE USB Device, rev 1.10/0.01
has these ID numbers.
diffstat:
sys/dev/usb/if_urndis.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r d068d00a5374 -r 4fde1fcfdac2 sys/dev/usb/if_urndis.c
--- a/sys/dev/usb/if_urndis.c Fri Mar 02 02:58:46 2012 +0000
+++ b/sys/dev/usb/if_urndis.c Fri Mar 02 04:22:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urndis.c,v 1.3 2011/12/23 00:51:44 jakllsch Exp $ */
+/* $NetBSD: if_urndis.c,v 1.4 2012/03/02 04:22:57 jakllsch Exp $ */
/* $OpenBSD: if_urndis.c,v 1.31 2011/07/03 15:47:17 matthew Exp $ */
/*
@@ -21,7 +21,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.3 2011/12/23 00:51:44 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.4 2012/03/02 04:22:57 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -124,7 +124,6 @@
static const struct usb_devno urndis_devs[] = {
{ USB_VENDOR_HTC, USB_PRODUCT_HTC_ANDROID },
{ USB_VENDOR_SAMSUNG, USB_PRODUCT_SAMSUNG_ANDROID2 },
- { 0, 0 }
};
static usbd_status
Home |
Main Index |
Thread Index |
Old Index