add in an INT_PENDING macro
This commit is contained in:
parent
548e2091e5
commit
84b77252f9
@ -1,5 +1,4 @@
|
||||
/* $FreeBSD$ */
|
||||
/* release_5_11_99 */
|
||||
/*
|
||||
* Machine Independent (well, as best as possible) register
|
||||
* definitions for Qlogic ISP SCSI adapters.
|
||||
@ -222,6 +221,8 @@
|
||||
#define BIU2100_ISR_RXDMA_INT_PENDING 0x0002 /* Global interrupt pending */
|
||||
#define BIU2100_ISR_TXDMA_INT_PENDING 0x0001 /* Global interrupt pending */
|
||||
|
||||
#define INT_PENDING(isp, isr) (IS_FC(isp)? \
|
||||
((isr & BIU2100_ISR_RISC_INT) != 0) : ((isr & BIU_ISR_RISC_INT) != 0))
|
||||
|
||||
/* BUS SEMAPHORE REGISTER */
|
||||
#define BIU_SEMA_STATUS 0x0002 /* Semaphore Status Bit */
|
||||
|
Loading…
Reference in New Issue
Block a user