aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/e1000/e1000_hw.h2
-rw-r--r--drivers/net/e1000/e1000_main.c16
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
421void e1000_get_bus_info(struct e1000_hw *hw); 421void e1000_get_bus_info(struct e1000_hw *hw);
422void e1000_pci_set_mwi(struct e1000_hw *hw); 422void e1000_pci_set_mwi(struct e1000_hw *hw);
423void e1000_pci_clear_mwi(struct e1000_hw *hw); 423void e1000_pci_clear_mwi(struct e1000_hw *hw);
424void e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t * value);
425void e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t * value);
426int32_t e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value); 424int32_t e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value);
427void e1000_pcix_set_mmrbc(struct e1000_hw *hw, int mmrbc); 425void e1000_pcix_set_mmrbc(struct e1000_hw *hw, int mmrbc);
428int e1000_pcix_get_mmrbc(struct e1000_hw *hw); 426int 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
4867void
4868e1000_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
4875void
4876e1000_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
4883int 4867int
4884e1000_pcix_get_mmrbc(struct e1000_hw *hw) 4868e1000_pcix_get_mmrbc(struct e1000_hw *hw)
4885{ 4869{