From 959af34776890c014bde90c47d4cbfcc2b2d2778 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Fri, 27 Dec 2013 08:03:53 +0000 Subject: [PATCH] Add D-Link DWA-140 rev D1, another RT5372/run(4). From Anton Mazunin. --- share/man/man4/run.4 | 4 ++-- sys/dev/usb/usbdevs | 1 + sys/dev/usb/wlan/if_run.c | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/share/man/man4/run.4 b/share/man/man4/run.4 index 1e2e91029b10..33216a16d605 100644 --- a/share/man/man4/run.4 +++ b/share/man/man4/run.4 @@ -16,7 +16,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 11, 2013 +.Dd December 27, 2013 .Dt RUN 4 .Os .Sh NAME @@ -132,7 +132,7 @@ driver supports the following wireless adapters: .It Corega CG-WLUSB300AGN .It Corega CG-WLUSB300GNM .It D-Link DWA-130 rev B1 -.It D-Link DWA-140 rev B1, B2, B3 +.It D-Link DWA-140 rev B1, B2, B3, D1 .It D-Link DWA-160 rev B2 .It DrayTek Vigor N61 .It Edimax EW-7711UAn diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index b25efdc08be7..883846180926 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1558,6 +1558,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 Wireless Adapter +product DLINK DWA140D1 0x3c20 DWA-140 rev D1 product DLINK DSB650C 0x4000 10Mbps Ethernet product DLINK DSB650TX1 0x4001 10/100 Ethernet product DLINK DSB650TX 0x4002 10/100 Ethernet diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index e5de5c289f30..6e826906037a 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -178,6 +178,7 @@ static const STRUCT_USB_HOST_ID run_devs[] = { RUN_DEV(DLINK, DWA127), RUN_DEV(DLINK, DWA140B3), RUN_DEV(DLINK, DWA160B2), + RUN_DEV(DLINK, DWA140D1), RUN_DEV(DLINK2, DWA130), RUN_DEV(DLINK2, RT2870_1), RUN_DEV(DLINK2, RT2870_2),