diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
commit | b5e8ce9f12b66453759f254bdf8bfc53fe2b6948 (patch) | |
tree | e4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/scsi/scsiconf.h | |
parent | 11098d3bad179feb30248af23c90e5df877d36f8 (diff) |
Notes
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r-- | sys/scsi/scsiconf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 2c18e9cb4c31..47c963b8e993 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: scsiconf.h,v 1.18 1995/03/01 22:24:44 dufault Exp $ + * $Id: scsiconf.h,v 1.19 1995/03/04 20:51:00 dufault Exp $ */ #ifndef SCSI_SCSICONF_H #define SCSI_SCSICONF_H 1 @@ -440,6 +440,7 @@ struct scsi_xfer #define XS_LENGTH 0x09 /* Illegal length (over/under run) */ #ifdef KERNEL +void *extend_get(struct extend_array *ea, int index); char * scsi_type_long_name(int type); char * scsi_type_name(int type); void scsi_attachdevs __P((struct scsi_link *sc_link_proto)); @@ -454,7 +455,9 @@ errval scsi_inquire( struct scsi_link *sc_link, errval scsi_prevent( struct scsi_link *sc_link, u_int32 type,u_int32 flags); errval scsi_probe_busses __P(( int, int, int)); errval scsi_start_unit( struct scsi_link *sc_link, u_int32 flags); +errval scsi_stop_unit(struct scsi_link *sc_link, u_int32 eject, u_int32 flags); void scsi_done(struct scsi_xfer *xs); +void scsi_user_done(struct scsi_xfer *xs); errval scsi_scsi_cmd( struct scsi_link *sc_link, struct scsi_generic *scsi_cmd, u_int32 cmdlen, u_char *data_addr, u_int32 datalen, u_int32 retries, @@ -469,6 +472,7 @@ struct proc *p))); int scsi_opened_ok __P((dev_t dev, int flag, int type, struct scsi_link *sc_link)); +char *scsi_sense_desc(int asc, int ascq); void scsi_sense_print(struct scsi_xfer *xs); void show_scsi_xs(struct scsi_xfer *xs); void show_scsi_cmd(struct scsi_xfer *xs); |