e1000e: fix use of pci_enable_pcie_error_reporting
authorXiaotian Feng <dfeng@redhat.com>
Fri, 14 Aug 2009 14:35:52 +0000 (14:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <dfeng@redhat.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c