diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/e1000/e1000_hw.h | 2 | ||||
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 16 |
2 files changed, 0 insertions, 18 deletions
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h index 8c0e046d1dd8..a6c3c34feb98 100644 --- a/drivers/net/e1000/e1000_hw.h +++ b/drivers/net/e1000/e1000_hw.h | |||
@@ -421,8 +421,6 @@ void e1000_tbi_adjust_stats(struct e1000_hw *hw, struct e1000_hw_stats *stats, u | |||
421 | void e1000_get_bus_info(struct e1000_hw *hw); | 421 | void e1000_get_bus_info(struct e1000_hw *hw); |
422 | void e1000_pci_set_mwi(struct e1000_hw *hw); | 422 | void e1000_pci_set_mwi(struct e1000_hw *hw); |
423 | void e1000_pci_clear_mwi(struct e1000_hw *hw); | 423 | void e1000_pci_clear_mwi(struct e1000_hw *hw); |
424 | void e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t * value); | ||
425 | void e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t * value); | ||
426 | int32_t e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value); | 424 | int32_t e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value); |
427 | void e1000_pcix_set_mmrbc(struct e1000_hw *hw, int mmrbc); | 425 | void e1000_pcix_set_mmrbc(struct e1000_hw *hw, int mmrbc); |
428 | int e1000_pcix_get_mmrbc(struct e1000_hw *hw); | 426 | int e1000_pcix_get_mmrbc(struct e1000_hw *hw); |
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 | { |