summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2008-11-12 13:58:59 +0000
committerkeramida <keramida@FreeBSD.org>2008-11-12 13:58:59 +0000
commit11002cc1cd5341dafbe1268a16fb4bed1b6580d6 (patch)
treed1c47d682e1a684759c9b2173f8eef75ee6576b0 /sys/dev
parent71ee27bd194e00d2bf0c9a50f953df2a6f8faf88 (diff)
downloadFreeBSD-src-11002cc1cd5341dafbe1268a16fb4bed1b6580d6.zip
FreeBSD-src-11002cc1cd5341dafbe1268a16fb4bed1b6580d6.tar.gz
Add a quirk for Belkin USB Bluetooth adapters (F8T012xx1 series)
The same (vendor, product) tuple is used for aue(4) adapters, but I am not sure if the quirk is correct. I'm using the USB device 'release' info to skip aue(4) detection right now, but if there's a better way to differentiate between USB-LAN and USB Bluetooth we should update the quirk. Reviewed by: imp, rink MFC after: 2 weeks
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_aue.c9
-rw-r--r--sys/dev/usb/usbdevs1
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index 463129b..1c6d8a3 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -630,6 +630,15 @@ aue_match(device_t self)
if (uaa->iface != NULL)
return (UMATCH_NONE);
+ /*
+ * Belkin USB Bluetooth dongles of the F8T012xx1 model series conflict
+ * with older Belkin USB2LAN adapters. Skip if_aue if we detect one of
+ * the devices that look like Bluetooth adapters.
+ */
+ if (uaa->vendor == USB_VENDOR_BELKIN &&
+ uaa->product == USB_PRODUCT_BELKIN_F8T012 && uaa->release == 0x0413)
+ return (UMATCH_NONE);
+
return (aue_lookup(uaa->vendor, uaa->product) != NULL ?
UMATCH_VENDOR_PRODUCT : UMATCH_NONE);
}
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 00b9ec6..671b327 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -932,6 +932,7 @@ product BELKIN FBT003V 0x0084 FBT003v2 Bluetooth
product BELKIN F5U103 0x0103 F5U103 Serial
product BELKIN F5U109 0x0109 F5U109 Serial
product BELKIN USB2SCSI 0x0115 USB to SCSI
+product BELKIN F8T012 0x0121 F8T012xx1 Bluetooth USB Adapter
product BELKIN USB2LAN 0x0121 USB to LAN
product BELKIN F5U208 0x0208 F5U208 VideoBus II
product BELKIN F5U237 0x0237 F5U237 USB 2.0 7-Port Hub
OpenPOWER on IntegriCloud