diff options
Diffstat (limited to 'drivers/net/cxgb3')
-rwxr-xr-x | drivers/net/cxgb3/cxgb3_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index 8ad5f3299baf..e2b119312a00 100755 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c | |||
@@ -2871,6 +2871,9 @@ static void t3_io_resume(struct pci_dev *pdev) | |||
2871 | { | 2871 | { |
2872 | struct adapter *adapter = pci_get_drvdata(pdev); | 2872 | struct adapter *adapter = pci_get_drvdata(pdev); |
2873 | 2873 | ||
2874 | CH_ALERT(adapter, "adapter recovering, PEX ERR 0x%x\n", | ||
2875 | t3_read_reg(adapter, A_PCIE_PEX_ERR)); | ||
2876 | |||
2874 | t3_resume_ports(adapter); | 2877 | t3_resume_ports(adapter); |
2875 | } | 2878 | } |
2876 | 2879 | ||
@@ -3003,7 +3006,7 @@ static int __devinit init_one(struct pci_dev *pdev, | |||
3003 | static int version_printed; | 3006 | static int version_printed; |
3004 | 3007 | ||
3005 | int i, err, pci_using_dac = 0; | 3008 | int i, err, pci_using_dac = 0; |
3006 | unsigned long mmio_start, mmio_len; | 3009 | resource_size_t mmio_start, mmio_len; |
3007 | const struct adapter_info *ai; | 3010 | const struct adapter_info *ai; |
3008 | struct adapter *adapter = NULL; | 3011 | struct adapter *adapter = NULL; |
3009 | struct port_info *pi; | 3012 | struct port_info *pi; |