diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 1999-10-17 18:41:47 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 1999-10-17 18:41:47 +0000 |
| commit | b996239f46d142d89340b8c2ab48007626f3b3b0 (patch) | |
| tree | 7326bd9240ab198b25765b4d281b79feacada91a /sys/dev/isp/ispreg.h | |
| parent | 327d3cc65b4b29e45616740705d274997a2554d6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/ispreg.h')
| -rw-r--r-- | sys/dev/isp/ispreg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isp/ispreg.h b/sys/dev/isp/ispreg.h index 893f69784672..18791fffae5f 100644 --- a/sys/dev/isp/ispreg.h +++ b/sys/dev/isp/ispreg.h @@ -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 */ |
