diff options
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index ad444c9a5d04..10505de00bcc 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -4903,6 +4903,20 @@ e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) | |||
4903 | pci_write_config_word(adapter->pdev, reg, *value); | 4903 | pci_write_config_word(adapter->pdev, reg, *value); |
4904 | } | 4904 | } |
4905 | 4905 | ||
4906 | int | ||
4907 | e1000_pcix_get_mmrbc(struct e1000_hw *hw) | ||
4908 | { | ||
4909 | struct e1000_adapter *adapter = hw->back; | ||
4910 | return pcix_get_mmrbc(adapter->pdev); | ||
4911 | } | ||
4912 | |||
4913 | void | ||
4914 | e1000_pcix_set_mmrbc(struct e1000_hw *hw, int mmrbc) | ||
4915 | { | ||
4916 | struct e1000_adapter *adapter = hw->back; | ||
4917 | pcix_set_mmrbc(adapter->pdev, mmrbc); | ||
4918 | } | ||
4919 | |||
4906 | int32_t | 4920 | int32_t |
4907 | e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) | 4921 | e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) |
4908 | { | 4922 | { |