From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 21 21:50:12 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F50C1065742 for ; Tue, 21 Jun 2011 21:50:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E2ACD8FC1B for ; Tue, 21 Jun 2011 21:50:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5LLoBNJ073209 for ; Tue, 21 Jun 2011 21:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5LLoBpg073208; Tue, 21 Jun 2011 21:50:11 GMT (envelope-from gnats) Resent-Date: Tue, 21 Jun 2011 21:50:11 GMT Resent-Message-Id: <201106212150.p5LLoBpg073208@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Millan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2E11106570F for ; Tue, 21 Jun 2011 21:40:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A3A128FC14 for ; Tue, 21 Jun 2011 21:40:40 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5LLee1X017753 for ; Tue, 21 Jun 2011 21:40:40 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5LLeewO017752; Tue, 21 Jun 2011 21:40:40 GMT (envelope-from nobody) Message-Id: <201106212140.p5LLeewO017752@red.freebsd.org> Date: Tue, 21 Jun 2011 21:40:40 GMT From: Robert Millan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/158142: use USB_VENDOR_OVISLINK in if_urtw.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2011 21:50:12 -0000 >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: