Module Name: src Committed By: martin Date: Fri Jul 20 16:38:42 UTC 2018
Modified Files: src/sys/dev/usb: if_axen.c Log Message: Andrius V in PR kern/53461: add support for D-Link DUB-1312 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/usb/if_axen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/if_axen.c diff -u src/sys/dev/usb/if_axen.c:1.13 src/sys/dev/usb/if_axen.c:1.14 --- src/sys/dev/usb/if_axen.c:1.13 Tue Jun 26 06:48:02 2018 +++ src/sys/dev/usb/if_axen.c Fri Jul 20 16:38:42 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: if_axen.c,v 1.13 2018/06/26 06:48:02 msaitoh Exp $ */ +/* $NetBSD: if_axen.c,v 1.14 2018/07/20 16:38:42 martin Exp $ */ /* $OpenBSD: if_axen.c,v 1.3 2013/10/21 10:10:22 yuo Exp $ */ /* @@ -23,7 +23,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.13 2018/06/26 06:48:02 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.14 2018/07/20 16:38:42 martin Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -79,7 +79,8 @@ static const struct axen_type axen_devs[ #if 0 /* not tested */ { { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88178A}, AX178A }, #endif - { { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88179}, AX179 } + { { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88179}, AX179 }, + { { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUB1312}, AX179 } }; #define axen_lookup(v, p) ((const struct axen_type *)usb_lookup(axen_devs, v, p))