iwlagn: add a iwl_pci.[ch] files that will contain all PCI specific code
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 May 2011 08:39:02 +0000 (11:39 +0300)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 18 Jun 2011 15:05:23 +0000 (08:05 -0700)
commit48d1a2110ad9cb86e5cb0d790729824fa3cca83b
tree873a8c8840d0c2257ece3960043c080a95c8e422
parent7299751df36c02adafb5b897c56de71f0d7e2cb5
iwlagn: add a iwl_pci.[ch] files that will contain all PCI specific code

Move some PCI functionality to the new iwl_pci.[ch] files:
* the PCI_DEVICE_TABLE
* the pci_driver struct definition
* the PCI probe / remove functions
* the PCI suspend / resume functions

All these functions are now split: the trigger comes from the PCI layer which
calls to the bus generic code located in the other files.

This is the beginning only. There are still a lot of PCI related code needs
to be gathered.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/Makefile
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-pci.c [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-pci.h [new file with mode: 0644]