From b7e44b056b5b0f7548347a2d54551de8da8dc499 Mon Sep 17 00:00:00 2001 From: Maksim Yevmenkin Date: Sat, 28 May 2005 00:48:42 +0000 Subject: [PATCH] Move AVM USB Bluetooth-Adapter BlueFritz! from "broken" devices list (where I incorrectly put it initially) to "ignored" devices list (where it should be). Pointy hat goes to me. MFC after: 3 days --- sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c index f424a051426..36505354842 100644 --- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c +++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c @@ -258,8 +258,8 @@ USB_MATCH(ubt) { /* * If for some reason device should not be attached then put - * VendorID/ProductID pair into the list below. Currently I - * do not know of any such devices. The format is as follows: + * VendorID/ProductID pair into the list below. The format is + * as follows: * * { VENDOR_ID, PRODUCT_ID }, * @@ -267,17 +267,19 @@ USB_MATCH(ubt) */ Static struct usb_devno const ubt_ignored_devices[] = { + { USB_VENDOR_AVM, 0x3800 }, /* AVM USB Bluetooth-Adapter BlueFritz! */ { 0, 0 } /* This should be the last item in the list */ }; /* * If device violates Bluetooth specification and has bDeviceClass, * bDeviceSubClass and bDeviceProtocol set to wrong values then you - * could try to put VendorID/ProductID pair into the list below. + * could try to put VendorID/ProductID pair into the list below. + * Adding VendorID/ProductID pair into this list forces ng_ubt(4) + * to attach to the broken device. */ Static struct usb_devno const ubt_broken_devices[] = { - { USB_VENDOR_AVM, 0x3800 }, /* AVM USB Bluetooth-Adapter BlueFritz! */ { 0, 0 } /* This should be the last item in the list */ };