misc/158142: use USB_VENDOR_OVISLINK in if_urtw.c
Robert Millan
rmh at debian.org
Tue Jun 21 21:50:12 UTC 2011
>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:
More information about the freebsd-bugs
mailing list