From f9a9fbed7d6859586c4a9846b6d7fe91d7730365 Mon Sep 17 00:00:00 2001 From: zhuk Date: Tue, 30 Jan 2018 20:56:38 +0000 Subject: [PATCH] Add D-Link DWA-125 rev B2 to list of devices supported by run(4). Works for me on amd64. okay stsp@, who also noted this matches Linux commit fd7b9270120ca7e53fbf0469febe0c68acf6a0a2 --- share/man/man4/run.4 | 5 +++-- sys/dev/usb/if_run.c | 3 ++- sys/dev/usb/usbdevs | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/share/man/man4/run.4 b/share/man/man4/run.4 index fc9d8e6be2f..ac13bd52087 100644 --- a/share/man/man4/run.4 +++ b/share/man/man4/run.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: run.4,v 1.50 2017/08/02 18:28:02 stsp Exp $ +.\" $OpenBSD: run.4,v 1.51 2018/01/30 20:56:38 zhuk Exp $ .\" .\" Copyright (c) 2008 Damien Bergamini .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 2 2017 $ +.Dd $Mdocdate: January 30 2018 $ .Dt RUN 4 .Os .Sh NAME @@ -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 diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c index 35b1f974605..058a5a5d63f 100644 --- a/sys/dev/usb/if_run.c +++ b/sys/dev/usb/if_run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_run.c,v 1.124 2017/10/26 15:00:28 mpi Exp $ */ +/* $OpenBSD: if_run.c,v 1.125 2018/01/30 20:56:38 zhuk Exp $ */ /*- * Copyright (c) 2008-2010 Damien Bergamini @@ -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), diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 42c04d5b01f..368783f83c4 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1,4 +1,4 @@ -$OpenBSD: usbdevs,v 1.680 2018/01/11 09:26:36 kevlo Exp $ +$OpenBSD: usbdevs,v 1.681 2018/01/30 20:56:38 zhuk Exp $ /* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */ /* @@ -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 -- 2.20.1