diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1994-10-19 01:20:44 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-10-19 01:20:44 +0000 |
commit | fc4375072a45151b02646dfff88e44a88e3de51c (patch) | |
tree | 40f845644c04c1b4307350f4ef0af6875148536e /sys/scsi/scsiconf.h | |
parent | 35a03abd9655bc520b2b327bb44d400b00d25930 (diff) |
Notes
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r-- | sys/scsi/scsiconf.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 50b1657539ac..b9ba6797c1af 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.9 1994/03/23 09:15:55 davidg Exp $ + * $Id: scsiconf.h,v 1.10 1994/09/28 20:16:41 se Exp $ */ #ifndef SCSI_SCSICONF_H #define SCSI_SCSICONF_H 1 @@ -260,6 +260,7 @@ struct scsi_xfer #define XS_SWTIMEOUT 0x04 /* The Timeout reported was caught by SW */ #define XS_BUSY 0x08 /* The device busy, try again later? */ +#ifdef KERNEL void scsi_attachdevs __P((struct scsi_link *sc_link_proto)); struct scsi_xfer *get_xs( struct scsi_link *sc_link, u_int32 flags); void free_xs(struct scsi_xfer *xs, struct scsi_link *sc_link,u_int32 flags); @@ -287,6 +288,12 @@ int _3btol __P((u_char *bytes)); extern void sc_print_addr(struct scsi_link *); +#define SCSI_EXTERNALLEN (sizeof(struct scsi_link)) +extern int scsi_externalize(struct scsi_link *, void *, size_t *); +extern int scsi_internalize(struct scsi_link *, void **, size_t *); + +#endif + #ifdef NEW_SCSICONF /********************************************************************** from the scsi2 spec |