diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-12-13 12:36:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:07:17 -0500 |
commit | 67cefcbafc16d01f9d64be8c62cccfd30b3b07c2 (patch) | |
tree | f6b420d7a74a583262a825461564666c61c9bc1c /drivers/net/e1000/e1000_main.c | |
parent | a7df90a51944a963d9a4fbe12790630aa4da7aee (diff) |
e1000: remove no longer used code for pci read/write cfg
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index d3665bc9bd40..5b129964e832 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -4864,22 +4864,6 @@ e1000_pci_clear_mwi(struct e1000_hw *hw) | |||
4864 | pci_clear_mwi(adapter->pdev); | 4864 | pci_clear_mwi(adapter->pdev); |
4865 | } | 4865 | } |
4866 | 4866 | ||
4867 | void | ||
4868 | e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) | ||
4869 | { | ||
4870 | struct e1000_adapter *adapter = hw->back; | ||
4871 | |||
4872 | pci_read_config_word(adapter->pdev, reg, value); | ||
4873 | } | ||
4874 | |||
4875 | void | ||
4876 | e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) | ||
4877 | { | ||
4878 | struct e1000_adapter *adapter = hw->back; | ||
4879 | |||
4880 | pci_write_config_word(adapter->pdev, reg, *value); | ||
4881 | } | ||
4882 | |||
4883 | int | 4867 | int |
4884 | e1000_pcix_get_mmrbc(struct e1000_hw *hw) | 4868 | e1000_pcix_get_mmrbc(struct e1000_hw *hw) |
4885 | { | 4869 | { |