From owner-svn-src-all@FreeBSD.ORG Thu Jan 9 15:31:45 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DAACE56; Thu, 9 Jan 2014 15:31:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FA3110BF; Thu, 9 Jan 2014 15:31:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s09FVj0r096429; Thu, 9 Jan 2014 15:31:45 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s09FVjuc096428; Thu, 9 Jan 2014 15:31:45 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201401091531.s09FVjuc096428@svn.freebsd.org> From: Adrian Chadd Date: Thu, 9 Jan 2014 15:31:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260482 - head/sys/netgraph/bluetooth/drivers/ubt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 15:31:45 -0000 Author: adrian Date: Thu Jan 9 15:31:44 2014 New Revision: 260482 URL: http://svnweb.freebsd.org/changeset/base/260482 Log: Be much more specific (and correct) about the device id matching. These device IDs have an AR3012 bluetooth device that shows up with bcdDevice=1 when it doesn't have the firmware loaded, and bcdDevice=2 when it's ready to speak full HCI. Tested: * AR5B225 PCIe - AR9485 + AR3012 Modified: head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c Modified: head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c ============================================================================== --- head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c Thu Jan 9 14:58:06 2014 (r260481) +++ head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c Thu Jan 9 15:31:44 2014 (r260482) @@ -399,26 +399,26 @@ static const STRUCT_USB_HOST_ID ubt_igno { USB_VPI(0x03f0, 0x311d, 0) }, /* Atheros 3012 with sflash firmware */ - { USB_VPI(0x0cf3, 0x3004, 0) }, - { USB_VPI(0x0cf3, 0x311d, 0) }, - { USB_VPI(0x13d3, 0x3375, 0) }, - { USB_VPI(0x04ca, 0x3005, 0) }, - { USB_VPI(0x04ca, 0x3006, 0) }, - { USB_VPI(0x04ca, 0x3008, 0) }, - { USB_VPI(0x13d3, 0x3362, 0) }, - { USB_VPI(0x0cf3, 0xe004, 0) }, - { USB_VPI(0x0930, 0x0219, 0) }, - { USB_VPI(0x0489, 0xe057, 0) }, - { USB_VPI(0x13d3, 0x3393, 0) }, - { USB_VPI(0x0489, 0xe04e, 0) }, - { USB_VPI(0x0489, 0xe056, 0) }, + { USB_VPI(0x0cf3, 0x3004, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x0cf3, 0x311d, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x13d3, 0x3375, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x04ca, 0x3005, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x04ca, 0x3006, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x04ca, 0x3008, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x13d3, 0x3362, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x0cf3, 0xe004, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x0930, 0x0219, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x0489, 0xe057, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x13d3, 0x3393, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x0489, 0xe04e, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x0489, 0xe056, 0), USB_DEV_BCD_LTEQ(1) }, /* Atheros AR5BBU12 with sflash firmware */ - { USB_VPI(0x0489, 0xe02c, 0) }, + { USB_VPI(0x0489, 0xe02c, 0), USB_DEV_BCD_LTEQ(1) }, /* Atheros AR5BBU12 with sflash firmware */ - { USB_VPI(0x0489, 0xe03c, 0) }, - { USB_VPI(0x0489, 0xe036, 0) }, + { USB_VPI(0x0489, 0xe03c, 0), USB_DEV_BCD_LTEQ(1) }, + { USB_VPI(0x0489, 0xe036, 0), USB_DEV_BCD_LTEQ(1) }, }; /* List of supported bluetooth devices */