Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 21:40:40 GMT
From:      Robert Millan <rmh@debian.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/158142: use USB_VENDOR_OVISLINK in if_urtw.c
Message-ID:  <201106212140.p5LLeewO017752@red.freebsd.org>
Resent-Message-ID: <201106212150.p5LLoBpg073208@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         158142
>Category:       misc
>Synopsis:       use USB_VENDOR_OVISLINK in if_urtw.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 21 21:50:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Robert Millan
>Release:        Debian GNU/kFreeBSD "sid"
>Organization:
>Environment:
>Description:
Patch to use USB_VENDOR_OVISLINK in if_urtw.c now that it is available in usbdevs.

There are a number of hardcoded product IDs in that file, which are not present in usbdevs. Should usbdevs be updated?

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: sys/dev/usb/wlan/if_urtw.c
===================================================================
--- sys/dev/usb/wlan/if_urtw.c	(revision 223367)
+++ sys/dev/usb/wlan/if_urtw.c	(working copy)
@@ -115,7 +115,7 @@
 	URTW_DEV_L(REALTEK, RTL8187),
 	URTW_DEV_L(SITECOMEU, WL168V1),
 	URTW_DEV_L(SURECOM, EP9001G2A),
-	{ USB_VPI(0x1b75, 0x8187, URTW_REV_RTL8187L) },
+	{ USB_VPI(USB_VENDOR_OVISLINK, 0x8187, URTW_REV_RTL8187L) },
 	{ USB_VPI(USB_VENDOR_DICKSMITH, 0x9401, URTW_REV_RTL8187L) },
 	{ USB_VPI(USB_VENDOR_HP, 0xca02, URTW_REV_RTL8187L) },
 	{ USB_VPI(USB_VENDOR_LOGITEC, 0x010c, URTW_REV_RTL8187L) },


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106212140.p5LLeewO017752>