Skip to content

Commit

Permalink
mwifiex: store card specific data in PCI device table entry
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Avinash Patil authored and John W. Linville committed Feb 11, 2013
1 parent 1a6404a commit dd04e6a
Show file tree
Hide file tree
Showing 2 changed files with 206 additions and 118 deletions.
Loading

0 comments on commit dd04e6a

Please sign in to comment.