a4091-software/scsipi_base.h
Chris Hooper 110fc9b97a a4091: Added detection of SCSI bus stuck busy to "a4091 -t"
a4091d: Added ^C abort to display
a4091d: Added decode of xs_control, xs_status, chan_flags, chan_tflags
a4091d: Added interrupt structude decode, change_periphtab list
a4091d: Added "a4091d -p" to decode periph struct at specified address
a4091d: Added default open of a4091.device target without generating I/O
a4091.device will not terminate with I/O still pending
Added support for TD_REMOVE, TD_ADDCHANGEINT, and TD_REMCHANGEINT
Improved OpenDevice() and I/O error codes to give better reason for failure
Replaced polled SCSI I/O timeout with more accurate and efficient processing
Added panic() requester for rare panic cases
Added option to disable SCSI target disconnect
Improved SCSI timeout handling to quiesce channel before reset hammer
Fixed (prev introduced) bug where SCSI timeout could lead to I/O hang
Adjusted SCSI EJECT / LOAD timeouts to be successful with more drive types
Improved accuracy of TD_CHANGESTATE immediately following TD_EJECT
2022-09-26 02:45:43 -07:00

22 lines
837 B
C

#ifndef _SCSIPI_BASE
#define _SCSIPI_BASE
struct scsipi_xfer *scsipi_get_xs(struct scsipi_periph *, int);
void scsipi_put_xs(struct scsipi_xfer *);
struct scsipi_xfer * scsipi_make_xs_unlocked(struct scsipi_periph *periph,
struct scsipi_generic *cmd, int cmdlen, u_char *data_addr, int datalen,
int retries, int timeout, struct buf *bp, int flags);
struct scsipi_xfer * scsipi_make_xs_locked(struct scsipi_periph *periph,
struct scsipi_generic *cmd, int cmdlen, u_char *data_addr, int datalen,
int retries, int timeout, struct buf *bp, int flags);
int scsipi_command(struct scsipi_periph *periph, struct scsipi_generic *cmd,
int cmdlen, u_char *data_addr, int datalen, int retries, int timeout,
struct buf *bp, int flags);
uint32_t scsipi_chan_periph_hash(uint64_t t, uint64_t l);
#endif /* _SCSIPI_BASE */