[Midnightbsd-cvs] src [8562] trunk: add vendor ids for broadcom usb dongles.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 19 11:20:37 EDT 2016


Revision: 8562
          http://svnweb.midnightbsd.org/src/?rev=8562
Author:   laffer1
Date:     2016-09-19 11:20:37 -0400 (Mon, 19 Sep 2016)
Log Message:
-----------
add vendor ids for broadcom usb dongles. BCM20702

Modified Paths:
--------------
    trunk/share/man/man4/ng_ubt.4
    trunk/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c

Modified: trunk/share/man/man4/ng_ubt.4
===================================================================
--- trunk/share/man/man4/ng_ubt.4	2016-09-19 15:18:48 UTC (rev 8561)
+++ trunk/share/man/man4/ng_ubt.4	2016-09-19 15:20:37 UTC (rev 8562)
@@ -25,7 +25,7 @@
 .\" $Id: ng_ubt.4,v 1.2 2012-12-29 16:29:12 laffer1 Exp $
 .\" $MidnightBSD$
 .\"
-.Dd September 13, 2004
+.Dd December 26, 2012
 .Dt NG_UBT 4
 .Os
 .Sh NAME
@@ -73,6 +73,8 @@
 MSI MS-6967
 .It
 TDK Bluetooth USB adapter
+.It
+Broadcom Bluetooth USB adapter
 .El
 .Sh HOOKS
 This node type supports the following hooks:

Modified: trunk/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
===================================================================
--- trunk/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c	2016-09-19 15:18:48 UTC (rev 8561)
+++ trunk/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c	2016-09-19 15:20:37 UTC (rev 8562)
@@ -399,6 +399,12 @@
 
 	/* AVM USB Bluetooth-Adapter BlueFritz! v2.0 */
 	{ USB_VPI(USB_VENDOR_AVM, 0x3800, 0) },
+
+	/* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */
+	{ USB_VENDOR(USB_VENDOR_BROADCOM),
+	  USB_IFACE_CLASS(UICLASS_VENDOR),
+	  USB_IFACE_SUBCLASS(UDSUBCLASS_RF),
+	  USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) },
 };
 
 /*
@@ -1749,7 +1755,7 @@
 	DEVMETHOD(device_probe,	ubt_probe),
 	DEVMETHOD(device_attach, ubt_attach),
 	DEVMETHOD(device_detach, ubt_detach),
-	{ 0, 0 }
+	DEVMETHOD_END
 };
 
 static driver_t		ubt_driver =



More information about the Midnightbsd-cvs mailing list