summaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2013-02-08 18:18:06 -0800
committerJohn W. Linville <linville@tuxdriver.com>2013-02-11 15:34:56 -0500
commitdd04e6acd828d51255fbb2d9b7b0e5b85df04f0b (patch)
treee5e301e71fb4eec49755172ae9740d3fd52cdb2b /drivers/hwspinlock
parent1a6404a1d8497692f31808319d662c739033c491 (diff)
mwifiex: store card specific data in PCI device table entry
This patch adds support for storing PCIe device specific data into driver_data structure of pci_device_id. When a device with known device_id is probed, we use this driver_data to populate card specific structres in driver. This enables to remove device specific defines for scratch registers, firmware name, FW download block size, etc. from source code. This will make addition of support for new chipsets a lot easier. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions