Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/aacraid/aacraid_var.h
Show First 20 Lines • Show All 465 Lines • ▼ Show 20 Lines | #define AAC_CAM_TARGET_WILDCARD ~0 | ||||
u_int32_t DebugFlags; /* Debug print flags bitmap */ | u_int32_t DebugFlags; /* Debug print flags bitmap */ | ||||
u_int32_t DebugOffset; /* Offset from DPMEM start */ | u_int32_t DebugOffset; /* Offset from DPMEM start */ | ||||
u_int32_t DebugHeaderSize; /* Size of debug header */ | u_int32_t DebugHeaderSize; /* Size of debug header */ | ||||
u_int32_t FwDebugFlags; /* FW Debug Flags */ | u_int32_t FwDebugFlags; /* FW Debug Flags */ | ||||
u_int32_t FwDebugBufferSize; /* FW Debug Buffer size */ | u_int32_t FwDebugBufferSize; /* FW Debug Buffer size */ | ||||
}; | }; | ||||
/* | /* | ||||
* Max. I/O size in bytes. | |||||
* Reserve one page for the DMA subsystem, that may need it when the | |||||
* I/O buffer is not page aligned. | |||||
*/ | |||||
#define AAC_MAXIO_SIZE(sc) MIN(((sc)->aac_max_sectors << 9) - PAGE_SIZE, \ | |||||
maxphys) | |||||
/* | |||||
* Event callback mechanism for the driver | * Event callback mechanism for the driver | ||||
*/ | */ | ||||
#define AAC_EVENT_NONE 0x00 | #define AAC_EVENT_NONE 0x00 | ||||
#define AAC_EVENT_CMFREE 0x01 | #define AAC_EVENT_CMFREE 0x01 | ||||
#define AAC_EVENT_MASK 0xff | #define AAC_EVENT_MASK 0xff | ||||
#define AAC_EVENT_REPEAT 0x100 | #define AAC_EVENT_REPEAT 0x100 | ||||
typedef void aac_event_cb_t(struct aac_softc *sc, struct aac_event *event, | typedef void aac_event_cb_t(struct aac_softc *sc, struct aac_event *event, | ||||
▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines |