Hi all.
The D-Link DWA-125/B2 works out-of-the box here on amd64. Okay?
(I remember to commit usbdevs.h and usbdevs_data.h separately)
--
WBR,
Vadim Zhukov
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.680
diff -u -p -r1.680 usbdevs
--- sys/dev/usb/usbdevs 11 Jan 2018 09:26:36 -0000 1.680
+++ sys/dev/usb/usbdevs 29 Jan 2018 22:21:06 -0000
@@ -1549,6 +1549,7 @@ product DLINK RT3072 0x3c0a RT3072
product DLINK DWA140B3 0x3c15 DWA-140 rev B3
product DLINK DWA160B2 0x3c1a DWA-160 rev B2
product DLINK DWA127 0x3c1b DWA-127
+product DLINK DWA125B2 0x3c1e DWA-125 rev B2
product DLINK DWA162 0x3c1f DWA-162 Wireless Adapter
product DLINK DWA140D1 0x3c20 DWA-140 rev D1
product DLINK DWA130F1 0x3c25 DWA-130 rev F1
Index: sys/dev/usb/usbdevs.h
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.692
diff -u -p -r1.692 usbdevs.h
--- sys/dev/usb/usbdevs.h 11 Jan 2018 09:27:20 -0000 1.692
+++ sys/dev/usb/usbdevs.h 29 Jan 2018 22:21:07 -0000
@@ -1556,6 +1556,7 @@
#define USB_PRODUCT_DLINK_DWA140B3 0x3c15 /* DWA-140 rev
B3 */
#define USB_PRODUCT_DLINK_DWA160B2 0x3c1a /* DWA-160 rev
B2 */
#define USB_PRODUCT_DLINK_DWA127 0x3c1b /* DWA-127 */
+#define USB_PRODUCT_DLINK_DWA125B2 0x3c1e /* DWA-125 rev
B2 */
#define USB_PRODUCT_DLINK_DWA162 0x3c1f /* DWA-162
Wireless Adapter */
#define USB_PRODUCT_DLINK_DWA140D1 0x3c20 /* DWA-140 rev
D1 */
#define USB_PRODUCT_DLINK_DWA130F1 0x3c25 /* DWA-130 rev
F1 */
Index: sys/dev/usb/usbdevs_data.h
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.686
diff -u -p -r1.686 usbdevs_data.h
--- sys/dev/usb/usbdevs_data.h 11 Jan 2018 09:27:20 -0000 1.686
+++ sys/dev/usb/usbdevs_data.h 29 Jan 2018 22:21:07 -0000
@@ -2602,6 +2602,10 @@ const struct usb_known_product usb_known
"DWA-127",
},
{
+ USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DWA125B2,
+ "DWA-125 rev B2",
+ },
+ {
USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DWA162,
"DWA-162 Wireless Adapter",
},
Index: sys/dev/usb/if_run.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_run.c,v
retrieving revision 1.124
diff -u -p -r1.124 if_run.c
--- sys/dev/usb/if_run.c 26 Oct 2017 15:00:28 -0000 1.124
+++ sys/dev/usb/if_run.c 29 Jan 2018 22:21:08 -0000
@@ -152,6 +152,7 @@ static const struct usb_devno run_devs[]
USB_ID(COREGA, RT2870_3),
USB_ID(COREGA, RT3070),
USB_ID(CYBERTAN, RT2870),
+ USB_ID(DLINK, DWA125B2),
USB_ID(DLINK, DWA127),
USB_ID(DLINK, DWA130F1),
USB_ID(DLINK, DWA137A1),
Index: share/man/man4/run.4
===================================================================
RCS file: /cvs/src/share/man/man4/run.4,v
retrieving revision 1.50
diff -u -p -r1.50 run.4
--- share/man/man4/run.4 2 Aug 2017 18:28:02 -0000 1.50
+++ share/man/man4/run.4 29 Jan 2018 22:21:08 -0000
@@ -119,6 +119,7 @@ The following adapters should work:
.It Corega CG-WLUSB2GNR
.It Corega CG-WLUSB300AGN
.It Corega CG-WLUSB300GNM
+.It D-Link DWA-125 rev B2
.It D-Link DWA-127
.It D-Link DWA-130 rev B1, F1
.It D-Link DWA-140 rev B1, B2, B3, \&D1