svn commit: r244704 - in head: share/man/man4 sys/netgraph/bluetooth/drivers/ubt
Hans Petter Selasky
hselasky at c2i.net
Wed Dec 26 16:39:00 UTC 2012
On Wednesday 26 December 2012 16:10:20 Gleb Smirnoff wrote:
> Author: glebius
> Date: Wed Dec 26 15:10:20 2012
> New Revision: 244704
> URL: http://svnweb.freebsd.org/changeset/base/244704
>
> Log:
> Add vendor IDs for Broadcom USB dongles (BCM20702).
>
> PR: kern/174707
> Submitted by: rakuco
>
> Modified:
> head/share/man/man4/ng_ubt.4
> head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
Hi,
I think USB_IF_CSI() was not what you meant:
Can you commit and test this patch?
--HPS
=== sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
==================================================================
--- sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c (revision 244712)
+++ sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c (local)
@@ -401,7 +401,9 @@
/* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */
{ USB_VENDOR(USB_VENDOR_BROADCOM),
- USB_IF_CSI(UICLASS_VENDOR, 0x01, 0x01) },
+ USB_IFACE_CLASS(UICLASS_VENDOR),
+ USB_IFACE_SUBCLASS(UDSUBCLASS_RF),
+ USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) },
};
/*
@@ -1764,7 +1766,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 svn-src-all
mailing list