e1000e: fix use of pci_enable_pcie_error_reporting
authorXiaotian Feng <[email protected]>
Fri, 14 Aug 2009 14:35:52 +0000 (14:35 +0000)
committerDavid S. Miller <[email protected]>
Sun, 16 Aug 2009 01:52:59 +0000 (18:52 -0700)
commit68eac4602b9104cdaa6c18b3edd914cececa6a1e
treeb5ad0de0e84d59451933d358b05ddc582980df67
parent82776a4bcd7aa5fbcd2e6339b3ce88b727dd40ab
e1000e: fix use of pci_enable_pcie_error_reporting

commit 111b9dc5 ("e1000e: add aer support") introduces pcie aer
support for e1000e, but it is not reasonable to disable it in
e1000_remove but enable it in e1000_resume.  This patch enables aer
support in e1000_probe.

Signed-off-by: Xiaotian Feng <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/e1000e/netdev.c