diff options
Diffstat (limited to 'sys/dev/aac/aacvar.h')
-rw-r--r-- | sys/dev/aac/aacvar.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/aac/aacvar.h b/sys/dev/aac/aacvar.h index e4b870e..30d5535 100644 --- a/sys/dev/aac/aacvar.h +++ b/sys/dev/aac/aacvar.h @@ -362,6 +362,11 @@ struct aac_softc #define AAC_AIFFLAGS_EXITED (1 << 3) u_int32_t quirks; #define AAC_QUIRK_PERC2QC (1 << 0) +#define AAC_QUIRK_NOCAM (1 << 1) /* No SCSI passthrough */ +#define AAC_QUIRK_CAM_NORESET (1 << 2) /* Fake SCSI resets */ +#define AAC_QUIRK_CAM_PASSONLY (1 << 3) /* Only create pass devices */ + + u_int32_t scsi_method_id; }; @@ -377,7 +382,11 @@ extern int aac_resume(device_t dev); extern void aac_intr(void *arg); extern void aac_submit_bio(struct bio *bp); extern void aac_biodone(struct bio *bp); -extern int aac_get_sync_fib(struct aac_softc *sc, +extern void aac_startio(struct aac_softc *sc); +extern int aac_alloc_command(struct aac_softc *sc, + struct aac_command **cmp); +extern void aac_release_command(struct aac_command *cm); +extern int aac_alloc_sync_fib(struct aac_softc *sc, struct aac_fib **fib, int flags); extern void aac_release_sync_fib(struct aac_softc *sc); extern int aac_sync_fib(struct aac_softc *sc, u_int32_t command, |