cxgb3 - bogus status error string
authorDivy Le Ray <divy@chelsio.com>
Wed, 31 Jan 2007 03:44:01 +0000 (19:44 -0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:50 +0000 (16:58 -0500)
Remove a status error string from the pci-x context
and add it where it belongs - the pci-e context.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cxgb3/t3_hw.c

index 4545acb3a2d5e27b2a8d686bf621f02b96957aef..22154003fea610fb7171ebe6f583705419e9853b 100644 (file)
@@ -1181,7 +1181,6 @@ static int t3_handle_intr_status(struct adapter *adapter, unsigned int reg,
 static void pci_intr_handler(struct adapter *adapter)
 {
        static const struct intr_info pcix1_intr_info[] = {
-               { F_PEXERR, "PCI PEX error", -1, 1 },
                {F_MSTDETPARERR, "PCI master detected parity error", -1, 1},
                {F_SIGTARABT, "PCI signaled target abort", -1, 1},
                {F_RCVTARABT, "PCI received target abort", -1, 1},
@@ -1218,6 +1217,7 @@ static void pci_intr_handler(struct adapter *adapter)
 static void pcie_intr_handler(struct adapter *adapter)
 {
        static const struct intr_info pcie_intr_info[] = {
+               {F_PEXERR, "PCI PEX error", -1, 1},
                {F_UNXSPLCPLERRR,
                 "PCI unexpected split completion DMA read error", -1, 1},
                {F_UNXSPLCPLERRC,