diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/intel/e1000/e1000_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c index 934d5aaee22f..9cf07f6322f8 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_main.c +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c | |||
@@ -1286,6 +1286,8 @@ static void __devexit e1000_remove(struct pci_dev *pdev) | |||
1286 | kfree(adapter->tx_ring); | 1286 | kfree(adapter->tx_ring); |
1287 | kfree(adapter->rx_ring); | 1287 | kfree(adapter->rx_ring); |
1288 | 1288 | ||
1289 | if (hw->mac_type == e1000_ce4100) | ||
1290 | iounmap(ce4100_gbe_mdio_base_virt); | ||
1289 | iounmap(hw->hw_addr); | 1291 | iounmap(hw->hw_addr); |
1290 | if (hw->flash_address) | 1292 | if (hw->flash_address) |
1291 | iounmap(hw->flash_address); | 1293 | iounmap(hw->flash_address); |