diff options
| -rw-r--r-- | drivers/bluetooth/bcm203x.c | 9 | ||||
| -rw-r--r-- | drivers/bluetooth/bfusb.c | 10 | ||||
| -rw-r--r-- | drivers/bluetooth/bpa10x.c | 10 | ||||
| -rw-r--r-- | drivers/bluetooth/hci_usb.c | 8 |
4 files changed, 6 insertions, 31 deletions
diff --git a/drivers/bluetooth/bcm203x.c b/drivers/bluetooth/bcm203x.c index 8919ccf8274b..ee40201c7278 100644 --- a/drivers/bluetooth/bcm203x.c +++ b/drivers/bluetooth/bcm203x.c | |||
| @@ -42,9 +42,7 @@ | |||
| 42 | #define BT_DBG(D...) | 42 | #define BT_DBG(D...) |
| 43 | #endif | 43 | #endif |
| 44 | 44 | ||
| 45 | #define VERSION "1.1" | 45 | #define VERSION "1.2" |
| 46 | |||
| 47 | static int ignore = 0; | ||
| 48 | 46 | ||
| 49 | static struct usb_device_id bcm203x_table[] = { | 47 | static struct usb_device_id bcm203x_table[] = { |
| 50 | /* Broadcom Blutonium (BCM2033) */ | 48 | /* Broadcom Blutonium (BCM2033) */ |
| @@ -175,7 +173,7 @@ static int bcm203x_probe(struct usb_interface *intf, const struct usb_device_id | |||
| 175 | 173 | ||
| 176 | BT_DBG("intf %p id %p", intf, id); | 174 | BT_DBG("intf %p id %p", intf, id); |
| 177 | 175 | ||
| 178 | if (ignore || (intf->cur_altsetting->desc.bInterfaceNumber != 0)) | 176 | if (intf->cur_altsetting->desc.bInterfaceNumber != 0) |
| 179 | return -ENODEV; | 177 | return -ENODEV; |
| 180 | 178 | ||
| 181 | data = kzalloc(sizeof(*data), GFP_KERNEL); | 179 | data = kzalloc(sizeof(*data), GFP_KERNEL); |
| @@ -300,9 +298,6 @@ static void __exit bcm203x_exit(void) | |||
| 300 | module_init(bcm203x_init); | 298 | module_init(bcm203x_init); |
| 301 | module_exit(bcm203x_exit); | 299 | module_exit(bcm203x_exit); |
| 302 | 300 | ||
| 303 | module_param(ignore, bool, 0644); | ||
| 304 | MODULE_PARM_DESC(ignore, "Ignore devices from the matching table"); | ||
| 305 | |||
| 306 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); | 301 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); |
| 307 | MODULE_DESCRIPTION("Broadcom Blutonium firmware driver ver " VERSION); | 302 | MODULE_DESCRIPTION("Broadcom Blutonium firmware driver ver " VERSION); |
| 308 | MODULE_VERSION(VERSION); | 303 | MODULE_VERSION(VERSION); |
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index 0c211adbc063..90a094634630 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c | |||
| @@ -43,9 +43,7 @@ | |||
| 43 | #define BT_DBG(D...) | 43 | #define BT_DBG(D...) |
| 44 | #endif | 44 | #endif |
| 45 | 45 | ||
| 46 | #define VERSION "1.1" | 46 | #define VERSION "1.2" |
| 47 | |||
| 48 | static int ignore = 0; | ||
| 49 | 47 | ||
| 50 | static struct usb_driver bfusb_driver; | 48 | static struct usb_driver bfusb_driver; |
| 51 | 49 | ||
| @@ -656,9 +654,6 @@ static int bfusb_probe(struct usb_interface *intf, const struct usb_device_id *i | |||
| 656 | 654 | ||
| 657 | BT_DBG("intf %p id %p", intf, id); | 655 | BT_DBG("intf %p id %p", intf, id); |
| 658 | 656 | ||
| 659 | if (ignore) | ||
| 660 | return -ENODEV; | ||
| 661 | |||
| 662 | /* Check number of endpoints */ | 657 | /* Check number of endpoints */ |
| 663 | if (intf->cur_altsetting->desc.bNumEndpoints < 2) | 658 | if (intf->cur_altsetting->desc.bNumEndpoints < 2) |
| 664 | return -EIO; | 659 | return -EIO; |
| @@ -795,9 +790,6 @@ static void __exit bfusb_exit(void) | |||
| 795 | module_init(bfusb_init); | 790 | module_init(bfusb_init); |
| 796 | module_exit(bfusb_exit); | 791 | module_exit(bfusb_exit); |
| 797 | 792 | ||
| 798 | module_param(ignore, bool, 0644); | ||
| 799 | MODULE_PARM_DESC(ignore, "Ignore devices from the matching table"); | ||
| 800 | |||
| 801 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); | 793 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); |
| 802 | MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION); | 794 | MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION); |
| 803 | MODULE_VERSION(VERSION); | 795 | MODULE_VERSION(VERSION); |
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c index 3b28658f5a1f..1e55a658e6ce 100644 --- a/drivers/bluetooth/bpa10x.c +++ b/drivers/bluetooth/bpa10x.c | |||
| @@ -40,9 +40,7 @@ | |||
| 40 | #define BT_DBG(D...) | 40 | #define BT_DBG(D...) |
| 41 | #endif | 41 | #endif |
| 42 | 42 | ||
| 43 | #define VERSION "0.9" | 43 | #define VERSION "0.10" |
| 44 | |||
| 45 | static int ignore = 0; | ||
| 46 | 44 | ||
| 47 | static struct usb_device_id bpa10x_table[] = { | 45 | static struct usb_device_id bpa10x_table[] = { |
| 48 | /* Tektronix BPA 100/105 (Digianswer) */ | 46 | /* Tektronix BPA 100/105 (Digianswer) */ |
| @@ -460,9 +458,6 @@ static int bpa10x_probe(struct usb_interface *intf, const struct usb_device_id * | |||
| 460 | 458 | ||
| 461 | BT_DBG("intf %p id %p", intf, id); | 459 | BT_DBG("intf %p id %p", intf, id); |
| 462 | 460 | ||
| 463 | if (ignore) | ||
| 464 | return -ENODEV; | ||
| 465 | |||
| 466 | if (intf->cur_altsetting->desc.bInterfaceNumber != 0) | 461 | if (intf->cur_altsetting->desc.bInterfaceNumber != 0) |
| 467 | return -ENODEV; | 462 | return -ENODEV; |
| 468 | 463 | ||
| @@ -546,9 +541,6 @@ static void __exit bpa10x_exit(void) | |||
| 546 | module_init(bpa10x_init); | 541 | module_init(bpa10x_init); |
| 547 | module_exit(bpa10x_exit); | 542 | module_exit(bpa10x_exit); |
| 548 | 543 | ||
| 549 | module_param(ignore, bool, 0644); | ||
| 550 | MODULE_PARM_DESC(ignore, "Ignore devices from the matching table"); | ||
| 551 | |||
| 552 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); | 544 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); |
| 553 | MODULE_DESCRIPTION("Digianswer Bluetooth USB driver ver " VERSION); | 545 | MODULE_DESCRIPTION("Digianswer Bluetooth USB driver ver " VERSION); |
| 554 | MODULE_VERSION(VERSION); | 546 | MODULE_VERSION(VERSION); |
diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c index c33bb59ed1fa..e397572bf574 100644 --- a/drivers/bluetooth/hci_usb.c +++ b/drivers/bluetooth/hci_usb.c | |||
| @@ -62,7 +62,6 @@ | |||
| 62 | #define URB_ZERO_PACKET 0 | 62 | #define URB_ZERO_PACKET 0 |
| 63 | #endif | 63 | #endif |
| 64 | 64 | ||
| 65 | static int ignore; | ||
| 66 | static int ignore_dga; | 65 | static int ignore_dga; |
| 67 | static int ignore_csr; | 66 | static int ignore_csr; |
| 68 | static int ignore_sniffer; | 67 | static int ignore_sniffer; |
| @@ -74,7 +73,7 @@ static int reset; | |||
| 74 | static int isoc = 2; | 73 | static int isoc = 2; |
| 75 | #endif | 74 | #endif |
| 76 | 75 | ||
| 77 | #define VERSION "2.9" | 76 | #define VERSION "2.10" |
| 78 | 77 | ||
| 79 | static struct usb_driver hci_usb_driver; | 78 | static struct usb_driver hci_usb_driver; |
| 80 | 79 | ||
| @@ -801,7 +800,7 @@ static int hci_usb_probe(struct usb_interface *intf, const struct usb_device_id | |||
| 801 | id = match; | 800 | id = match; |
| 802 | } | 801 | } |
| 803 | 802 | ||
| 804 | if (ignore || id->driver_info & HCI_IGNORE) | 803 | if (id->driver_info & HCI_IGNORE) |
| 805 | return -ENODEV; | 804 | return -ENODEV; |
| 806 | 805 | ||
| 807 | if (ignore_dga && id->driver_info & HCI_DIGIANSWER) | 806 | if (ignore_dga && id->driver_info & HCI_DIGIANSWER) |
| @@ -1108,9 +1107,6 @@ static void __exit hci_usb_exit(void) | |||
| 1108 | module_init(hci_usb_init); | 1107 | module_init(hci_usb_init); |
| 1109 | module_exit(hci_usb_exit); | 1108 | module_exit(hci_usb_exit); |
| 1110 | 1109 | ||
| 1111 | module_param(ignore, bool, 0644); | ||
| 1112 | MODULE_PARM_DESC(ignore, "Ignore devices from the matching table"); | ||
| 1113 | |||
| 1114 | module_param(ignore_dga, bool, 0644); | 1110 | module_param(ignore_dga, bool, 0644); |
| 1115 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); | 1111 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); |
| 1116 | 1112 | ||
