diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00')
| -rw-r--r-- | drivers/net/wireless/rt2x00/Kconfig | 19 | ||||
| -rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00pci.c | 3 | ||||
| -rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.c | 6 | ||||
| -rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 1 |
4 files changed, 18 insertions, 11 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig index ab1029e79884..2d611876bbe0 100644 --- a/drivers/net/wireless/rt2x00/Kconfig +++ b/drivers/net/wireless/rt2x00/Kconfig | |||
| @@ -32,12 +32,13 @@ config RT2X00_LIB_FIRMWARE | |||
| 32 | config RT2X00_LIB_RFKILL | 32 | config RT2X00_LIB_RFKILL |
| 33 | boolean | 33 | boolean |
| 34 | depends on RT2X00_LIB | 34 | depends on RT2X00_LIB |
| 35 | depends on INPUT | ||
| 35 | select RFKILL | 36 | select RFKILL |
| 36 | select INPUT_POLLDEV | 37 | select INPUT_POLLDEV |
| 37 | 38 | ||
| 38 | config RT2X00_LIB_LEDS | 39 | config RT2X00_LIB_LEDS |
| 39 | boolean | 40 | boolean |
| 40 | depends on RT2X00_LIB | 41 | depends on RT2X00_LIB && NEW_LEDS |
| 41 | 42 | ||
| 42 | config RT2400PCI | 43 | config RT2400PCI |
| 43 | tristate "Ralink rt2400 pci/pcmcia support" | 44 | tristate "Ralink rt2400 pci/pcmcia support" |
| @@ -51,7 +52,7 @@ config RT2400PCI | |||
| 51 | 52 | ||
| 52 | config RT2400PCI_RFKILL | 53 | config RT2400PCI_RFKILL |
| 53 | bool "RT2400 rfkill support" | 54 | bool "RT2400 rfkill support" |
| 54 | depends on RT2400PCI | 55 | depends on RT2400PCI && INPUT |
| 55 | select RT2X00_LIB_RFKILL | 56 | select RT2X00_LIB_RFKILL |
| 56 | ---help--- | 57 | ---help--- |
| 57 | This adds support for integrated rt2400 devices that feature a | 58 | This adds support for integrated rt2400 devices that feature a |
| @@ -60,7 +61,7 @@ config RT2400PCI_RFKILL | |||
| 60 | 61 | ||
| 61 | config RT2400PCI_LEDS | 62 | config RT2400PCI_LEDS |
| 62 | bool "RT2400 leds support" | 63 | bool "RT2400 leds support" |
| 63 | depends on RT2400PCI | 64 | depends on RT2400PCI && NEW_LEDS |
| 64 | select LEDS_CLASS | 65 | select LEDS_CLASS |
| 65 | select RT2X00_LIB_LEDS | 66 | select RT2X00_LIB_LEDS |
| 66 | ---help--- | 67 | ---help--- |
| @@ -78,7 +79,7 @@ config RT2500PCI | |||
| 78 | 79 | ||
| 79 | config RT2500PCI_RFKILL | 80 | config RT2500PCI_RFKILL |
| 80 | bool "RT2500 rfkill support" | 81 | bool "RT2500 rfkill support" |
| 81 | depends on RT2500PCI | 82 | depends on RT2500PCI && INPUT |
| 82 | select RT2X00_LIB_RFKILL | 83 | select RT2X00_LIB_RFKILL |
| 83 | ---help--- | 84 | ---help--- |
| 84 | This adds support for integrated rt2500 devices that feature a | 85 | This adds support for integrated rt2500 devices that feature a |
| @@ -87,7 +88,7 @@ config RT2500PCI_RFKILL | |||
| 87 | 88 | ||
| 88 | config RT2500PCI_LEDS | 89 | config RT2500PCI_LEDS |
| 89 | bool "RT2500 leds support" | 90 | bool "RT2500 leds support" |
| 90 | depends on RT2500PCI | 91 | depends on RT2500PCI && NEW_LEDS |
| 91 | select LEDS_CLASS | 92 | select LEDS_CLASS |
| 92 | select RT2X00_LIB_LEDS | 93 | select RT2X00_LIB_LEDS |
| 93 | ---help--- | 94 | ---help--- |
| @@ -107,7 +108,7 @@ config RT61PCI | |||
| 107 | 108 | ||
| 108 | config RT61PCI_RFKILL | 109 | config RT61PCI_RFKILL |
| 109 | bool "RT61 rfkill support" | 110 | bool "RT61 rfkill support" |
| 110 | depends on RT61PCI | 111 | depends on RT61PCI && INPUT |
| 111 | select RT2X00_LIB_RFKILL | 112 | select RT2X00_LIB_RFKILL |
| 112 | ---help--- | 113 | ---help--- |
| 113 | This adds support for integrated rt61 devices that feature a | 114 | This adds support for integrated rt61 devices that feature a |
| @@ -116,7 +117,7 @@ config RT61PCI_RFKILL | |||
| 116 | 117 | ||
| 117 | config RT61PCI_LEDS | 118 | config RT61PCI_LEDS |
| 118 | bool "RT61 leds support" | 119 | bool "RT61 leds support" |
| 119 | depends on RT61PCI | 120 | depends on RT61PCI && NEW_LEDS |
| 120 | select LEDS_CLASS | 121 | select LEDS_CLASS |
| 121 | select RT2X00_LIB_LEDS | 122 | select RT2X00_LIB_LEDS |
| 122 | ---help--- | 123 | ---help--- |
| @@ -133,7 +134,7 @@ config RT2500USB | |||
| 133 | 134 | ||
| 134 | config RT2500USB_LEDS | 135 | config RT2500USB_LEDS |
| 135 | bool "RT2500 leds support" | 136 | bool "RT2500 leds support" |
| 136 | depends on RT2500USB | 137 | depends on RT2500USB && NEW_LEDS |
| 137 | select LEDS_CLASS | 138 | select LEDS_CLASS |
| 138 | select RT2X00_LIB_LEDS | 139 | select RT2X00_LIB_LEDS |
| 139 | ---help--- | 140 | ---help--- |
| @@ -152,7 +153,7 @@ config RT73USB | |||
| 152 | 153 | ||
| 153 | config RT73USB_LEDS | 154 | config RT73USB_LEDS |
| 154 | bool "RT73 leds support" | 155 | bool "RT73 leds support" |
| 155 | depends on RT73USB | 156 | depends on RT73USB && NEW_LEDS |
| 156 | select LEDS_CLASS | 157 | select LEDS_CLASS |
| 157 | select RT2X00_LIB_LEDS | 158 | select RT2X00_LIB_LEDS |
| 158 | ---help--- | 159 | ---help--- |
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c index 971af2546b59..60893de3bf8f 100644 --- a/drivers/net/wireless/rt2x00/rt2x00pci.c +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c | |||
| @@ -412,8 +412,7 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct pci_device_id *id) | |||
| 412 | if (pci_set_mwi(pci_dev)) | 412 | if (pci_set_mwi(pci_dev)) |
| 413 | ERROR_PROBE("MWI not available.\n"); | 413 | ERROR_PROBE("MWI not available.\n"); |
| 414 | 414 | ||
| 415 | if (pci_set_dma_mask(pci_dev, DMA_64BIT_MASK) && | 415 | if (pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) { |
| 416 | pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) { | ||
| 417 | ERROR_PROBE("PCI DMA not supported.\n"); | 416 | ERROR_PROBE("PCI DMA not supported.\n"); |
| 418 | retval = -EIO; | 417 | retval = -EIO; |
| 419 | goto exit_disable_device; | 418 | goto exit_disable_device; |
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index 5a331674dcb2..e5ceae805b57 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
| @@ -362,6 +362,12 @@ void rt2x00usb_disable_radio(struct rt2x00_dev *rt2x00dev) | |||
| 362 | } | 362 | } |
| 363 | } | 363 | } |
| 364 | 364 | ||
| 365 | /* | ||
| 366 | * Kill guardian urb (if required by driver). | ||
| 367 | */ | ||
| 368 | if (!test_bit(DRIVER_REQUIRE_BEACON_GUARD, &rt2x00dev->flags)) | ||
| 369 | return; | ||
| 370 | |||
| 365 | for (i = 0; i < rt2x00dev->bcn->limit; i++) { | 371 | for (i = 0; i < rt2x00dev->bcn->limit; i++) { |
| 366 | priv_bcn = rt2x00dev->bcn->entries[i].priv_data; | 372 | priv_bcn = rt2x00dev->bcn->entries[i].priv_data; |
| 367 | usb_kill_urb(priv_bcn->urb); | 373 | usb_kill_urb(priv_bcn->urb); |
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index da19a3a91f4d..fff8386e816b 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
| @@ -2131,6 +2131,7 @@ static struct usb_device_id rt73usb_device_table[] = { | |||
| 2131 | /* D-Link */ | 2131 | /* D-Link */ |
| 2132 | { USB_DEVICE(0x07d1, 0x3c03), USB_DEVICE_DATA(&rt73usb_ops) }, | 2132 | { USB_DEVICE(0x07d1, 0x3c03), USB_DEVICE_DATA(&rt73usb_ops) }, |
| 2133 | { USB_DEVICE(0x07d1, 0x3c04), USB_DEVICE_DATA(&rt73usb_ops) }, | 2133 | { USB_DEVICE(0x07d1, 0x3c04), USB_DEVICE_DATA(&rt73usb_ops) }, |
| 2134 | { USB_DEVICE(0x07d1, 0x3c06), USB_DEVICE_DATA(&rt73usb_ops) }, | ||
| 2134 | { USB_DEVICE(0x07d1, 0x3c07), USB_DEVICE_DATA(&rt73usb_ops) }, | 2135 | { USB_DEVICE(0x07d1, 0x3c07), USB_DEVICE_DATA(&rt73usb_ops) }, |
| 2135 | /* Gemtek */ | 2136 | /* Gemtek */ |
| 2136 | { USB_DEVICE(0x15a9, 0x0004), USB_DEVICE_DATA(&rt73usb_ops) }, | 2137 | { USB_DEVICE(0x15a9, 0x0004), USB_DEVICE_DATA(&rt73usb_ops) }, |
