FreeBSD/sys/dev/cxgb/common/cxgb_t3_hw.c
/*
 * Interrupt handler for the PCIX1 module.
 */
Interrupt handler for the PCIX1 module.
Interrupt handler for the PCIX1 module .
static void pci_intr_handler(adapter_t *adapter)
{
	static struct intr_info pcix1_intr_info[] = {
		{ 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 },
		{ F_RCVMSTABT, "PCI received master abort", -1, 1 },
		{ F_SIGSYSERR, "PCI signaled system error", -1, 1 },
		{ F_DETPARERR, "PCI detected parity error", -1, 1 },
		{ F_SPLCMPDIS, "PCI split completion discarded", -1, 1 },
		{ F_UNXSPLCMP, "PCI unexpected split completion error", -1, 1 },
		{ F_RCVSPLCMPERR, "PCI received split completion error", -1,
		  1 },
		{ F_DETCORECCERR, "PCI correctable ECC error",
		  STAT_PCI_CORR_ECC, 0 },
		{ F_DETUNCECCERR, "PCI uncorrectable ECC error", -1, 1 },
		{ F_PIOPARERR, "PCI PIO FIFO parity error", -1, 1 },
		{ V_WFPARERR(M_WFPARERR), "PCI write FIFO parity error", -1,
		  1 },
		{ V_RFPARERR(M_RFPARERR), "PCI read FIFO parity error", -1,
		  1 },
		{ V_CFPARERR(M_CFPARERR), "PCI command FIFO parity error", -1,
		  1 },
		{ V_MSIXPARERR(M_MSIXPARERR), "PCI MSI-X table/PBA parity "
		  "error", -1, 1 },
		{ 0 }
	};
	if (t3_handle_intr_status(adapter, A_PCIX_INT_CAUSE, PCIX_INTR_MASK,
				  pcix1_intr_info, adapter->irq_stats))
		t3_fatal_err(adapter);
}
static void pci_intr_handler ( adapter_t * adapter ) { static struct intr_info pcix1_intr_info [ ] = { { F_MSTDETPARERR , " " , -1 , 1 } , { F_SIGTARABT , " " , -1 , 1 } , { F_RCVTARABT , " " , -1 , 1 } , { F_RCVMSTABT , " " , -1 , 1 } , { F_SIGSYSERR , " " , -1 , 1 } , { F_DETPARERR , " " , -1 , 1 } , { F_SPLCMPDIS , " " , -1 , 1 } , { F_UNXSPLCMP , " " , -1 , 1 } , { F_RCVSPLCMPERR , " " , -1 , 1 } , { F_DETCORECCERR , " " , STAT_PCI_CORR_ECC , 0 } , { F_DETUNCECCERR , " " , -1 , 1 } , { F_PIOPARERR , " " , -1 , 1 } , { V_WFPARERR ( M_WFPARERR ) , " " , -1 , 1 } , { V_RFPARERR ( M_RFPARERR ) , " " , -1 , 1 } , { V_CFPARERR ( M_CFPARERR ) , " " , -1 , 1 } , { V_MSIXPARERR ( M_MSIXPARERR ) , " " " " , -1 , 1 } , { 0 } } ; if ( t3_handle_intr_status ( adapter , A_PCIX_INT_CAUSE , PCIX_INTR_MASK , pcix1_intr_info , adapter -> irq_stats ) ) t3_fatal_err ( adapter ) ; }
Interrupt handler for the PCIX1 module.
Interrupt handler for the PCIX1 module .