NetBSD Problem Report #51529

From www@NetBSD.org  Tue Oct  4 17:44:39 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D38407A16D
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  4 Oct 2016 17:44:39 +0000 (UTC)
Message-Id: <20161004174438.A87547A2A8@mollari.NetBSD.org>
Date: Tue,  4 Oct 2016 17:44:38 +0000 (UTC)
From: jake.slazenger@yandex.com
Reply-To: jake.slazenger@yandex.com
To: gnats-bugs@NetBSD.org
Subject: D-Link DWA 125 rev. D1 USB wireless network adapter support
X-Send-Pr-Version: www-1.0

>Number:         51529
>Category:       kern
>Synopsis:       D-Link DWA 125 rev. D1 USB wireless network adapter support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 04 17:45:00 +0000 2016
>Closed-Date:    Sun Oct 09 08:52:52 +0000 2016
>Last-Modified:  Sun Oct 09 08:52:52 +0000 2016
>Originator:     Jake Slazenger
>Release:        NetBSD-7.0.1
>Organization:
>Environment:
NetBSD  7.0_STABLE NetBSD 7.0_STABLE (RUSTY) #0: Tue Sep 20 15:21:22 MSK 2016  root@:/usr/obj/sys/arch/amd64/compile/RUSTY amd64
>Description:
Support for D-Link DWA 125 rev.D1 USB wireless network adapter via urtwn driver.
>How-To-Repeat:

>Fix:
? urtwn.patch
? arch/amd64/conf/RUSTY
Index: dev/usb/if_urtwn.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/if_urtwn.c,v
retrieving revision 1.34
diff -u -r1.34 if_urtwn.c
--- dev/usb/if_urtwn.c	25 Jul 2014 15:07:03 -0000	1.34
+++ dev/usb/if_urtwn.c	4 Oct 2016 17:13:35 -0000
@@ -167,6 +167,7 @@
 	URTWN_RTL8188E_DEV(ELECOM, WDC150SU2M),
 	URTWN_RTL8188E_DEV(REALTEK, RTL8188ETV),
 	URTWN_RTL8188E_DEV(REALTEK, RTL8188EU),
+	URTWN_RTL8188E_DEV(DLINK, DWA125D1),
 };
 #undef URTWN_DEV
 #undef URTWN_RTL8188E_DEV
Index: dev/usb/usbdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.672.2.4
diff -u -r1.672.2.4 usbdevs.h
--- dev/usb/usbdevs.h	18 Oct 2015 09:03:22 -0000	1.672.2.4
+++ dev/usb/usbdevs.h	4 Oct 2016 17:13:36 -0000
@@ -1327,6 +1327,7 @@
 #define	USB_PRODUCT_DLINK_RTL8188CU	0x3308		/* RTL8188CU */
 #define	USB_PRODUCT_DLINK_RTL8192CU_2	0x3309		/* RTL8192CU */
 #define	USB_PRODUCT_DLINK_RTL8192CU_3	0x330a		/* RTL8192CU */
+#define	USB_PRODUCT_DLINK_DWA125D1	0x330f		/* DWA-125 rev D1 */
 #define	USB_PRODUCT_DLINK_DWL122	0x3700		/* Wireless DWL122 */
 #define	USB_PRODUCT_DLINK_DWLG120	0x3701		/* DWL-G120 */
 #define	USB_PRODUCT_DLINK_DWL120F	0x3702		/* DWL-120 rev F */

>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51529 CVS commit: src/sys/dev/usb
Date: Tue, 4 Oct 2016 17:36:38 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Tue Oct  4 21:36:38 UTC 2016

 Modified Files:
 	src/sys/dev/usb: if_urtwn.c usbdevs

 Log Message:
 PR/51529: Jake Slazenger: D-Link DWA 125 rev. D1 USB wireless network adapter
 support


 To generate a diff of this commit:
 cvs rdiff -u -r1.45 -r1.46 src/sys/dev/usb/if_urtwn.c
 cvs rdiff -u -r1.716 -r1.717 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Sun, 09 Oct 2016 08:52:52 +0000
State-Changed-Why:
<christos> committed the patch proposed.
Thank you Jake for the PR and patch and Christos for quickly applying it!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.