Deleted Added
full compact
ispreg.h (50477) ispreg.h (52346)
1/* $FreeBSD: head/sys/dev/isp/ispreg.h 50477 1999-08-28 01:08:13Z peter $ */
2/* release_5_11_99 */
1/* $FreeBSD: head/sys/dev/isp/ispreg.h 52346 1999-10-17 18:41:47Z mjacob $ */
3/*
4 * Machine Independent (well, as best as possible) register
5 * definitions for Qlogic ISP SCSI adapters.
6 *
7 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob
8 * NASA/Ames Research Center
9 * All rights reserved.
10 *

--- 206 unchanged lines hidden (view full) ---

217#define BIU2100_ISR_INT_PENDING 0x8000 /* Global interrupt pending */
218#define BIU2100_ISR_FPM_INT 0x0020 /* FPM interrupt pending */
219#define BIU2100_ISR_FB_INT 0x0010 /* FB interrupt pending */
220#define BIU2100_ISR_RISC_INT 0x0008 /* Risc interrupt pending */
221#define BIU2100_ISR_CDMA_INT 0x0004 /* CDMA interrupt pending */
222#define BIU2100_ISR_RXDMA_INT_PENDING 0x0002 /* Global interrupt pending */
223#define BIU2100_ISR_TXDMA_INT_PENDING 0x0001 /* Global interrupt pending */
224
2/*
3 * Machine Independent (well, as best as possible) register
4 * definitions for Qlogic ISP SCSI adapters.
5 *
6 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob
7 * NASA/Ames Research Center
8 * All rights reserved.
9 *

--- 206 unchanged lines hidden (view full) ---

216#define BIU2100_ISR_INT_PENDING 0x8000 /* Global interrupt pending */
217#define BIU2100_ISR_FPM_INT 0x0020 /* FPM interrupt pending */
218#define BIU2100_ISR_FB_INT 0x0010 /* FB interrupt pending */
219#define BIU2100_ISR_RISC_INT 0x0008 /* Risc interrupt pending */
220#define BIU2100_ISR_CDMA_INT 0x0004 /* CDMA interrupt pending */
221#define BIU2100_ISR_RXDMA_INT_PENDING 0x0002 /* Global interrupt pending */
222#define BIU2100_ISR_TXDMA_INT_PENDING 0x0001 /* Global interrupt pending */
223
224#define INT_PENDING(isp, isr) (IS_FC(isp)? \
225 ((isr & BIU2100_ISR_RISC_INT) != 0) : ((isr & BIU_ISR_RISC_INT) != 0))
225
226/* BUS SEMAPHORE REGISTER */
227#define BIU_SEMA_STATUS 0x0002 /* Semaphore Status Bit */
228#define BIU_SEMA_LOCK 0x0001 /* Semaphore Lock Bit */
229
230/* NVRAM SEMAPHORE REGISTER */
231#define BIU_NVRAM_CLOCK 0x0001
232#define BIU_NVRAM_SELECT 0x0002

--- 610 unchanged lines hidden ---
226
227/* BUS SEMAPHORE REGISTER */
228#define BIU_SEMA_STATUS 0x0002 /* Semaphore Status Bit */
229#define BIU_SEMA_LOCK 0x0001 /* Semaphore Lock Bit */
230
231/* NVRAM SEMAPHORE REGISTER */
232#define BIU_NVRAM_CLOCK 0x0001
233#define BIU_NVRAM_SELECT 0x0002

--- 610 unchanged lines hidden ---