summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-06-04 15:40:42 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-06-12 22:59:35 +0400
commit25bf6ce41d2692db2e991447015fb4bfbf3c3982 (patch)
treec21061cbc2df8b0f57ee5b637222ba3e0f0c331c /drivers/net/wireless/b43
parent04453e9bda9da510e79c66f56ab463215d042aa8 (diff)
downloadlinux-25bf6ce41d2692db2e991447015fb4bfbf3c3982.tar.xz
rt2x00: add queue_init callback to rt2x00_ops
The driver uses static data structures for initializing specific fields of a given data queue. These static queue data descriptor structures are containing values which related to a given chipset. Even though the values are chip specific, the actual selection of the used structure is based on device specific vendor/product identifiers. This approach works, but it is not always reliable. Sometimes the vendor and/or device IDs of the PCI and USB devices contains improper values which makes it impossible to select the correct structure for such devices. The patch adds a new callback to tr2x00_ops which is called after the chipset detection is finished. This allows the drivers to do dynamic initialization of the data_queue structure for a given queue based on the actual chipset. After each driver implements the queue_init callback, the data_queue_desc structure will be removed. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Acked-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43')
0 files changed, 0 insertions, 0 deletions