Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Fix bug, remove {0,0} because we switched to usb...



details:   https://anonhg.NetBSD.org/src/rev/8b3e90e4bd57
branches:  trunk
changeset: 965012:8b3e90e4bd57
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Aug 27 17:24:51 2019 +0000

description:
Fix bug, remove {0,0} because we switched to usb_lookup().

diffstat:

 sys/dev/usb/if_upl.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r bc6d9e637fa9 -r 8b3e90e4bd57 sys/dev/usb/if_upl.c
--- a/sys/dev/usb/if_upl.c      Tue Aug 27 17:23:24 2019 +0000
+++ b/sys/dev/usb/if_upl.c      Tue Aug 27 17:24:51 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_upl.c,v 1.66 2019/08/20 06:37:06 mrg Exp $  */
+/*     $NetBSD: if_upl.c,v 1.67 2019/08/27 17:24:51 maxv Exp $ */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_upl.c,v 1.66 2019/08/20 06:37:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_upl.c,v 1.67 2019/08/27 17:24:51 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -95,8 +95,7 @@
        { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2302 },
        { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL25A1 },
        { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5U258 },
-       { USB_VENDOR_NI, USB_PRODUCT_NI_HTOH_7825 },
-       { 0, 0 }
+       { USB_VENDOR_NI, USB_PRODUCT_NI_HTOH_7825 }
 };
 
 int    upl_match(device_t, cfdata_t, void *);



Home | Main Index | Thread Index | Old Index