summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-06-23 00:31:45 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-06-23 00:31:45 +0000
commit9b0080d95ee3988b00d19db3bcff36d96a3d4d10 (patch)
treeacb9939b36ecc360d4ca7f37e0c45ae843bcb086 /sys/scsi/scsiconf.h
parent6c49b94d9c65ac022eac99a6d38f57df9d5a42b4 (diff)
Don't discard the blocksize information provided by the READ CAPACITY
command. Return it in a new parameter to scsi_size.
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 520a7c36f61..b593faaefe8 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.58 2005/06/05 21:27:07 krw Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.59 2005/06/23 00:31:44 krw Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -326,7 +326,7 @@ struct scsi_xfer *
scsi_get_xs(struct scsi_link *, int);
void scsi_free_xs(struct scsi_xfer *);
int scsi_execute_xs(struct scsi_xfer *);
-u_long scsi_size(struct scsi_link *, int);
+u_long scsi_size(struct scsi_link *, int, u_int32_t *);
int scsi_test_unit_ready(struct scsi_link *, int, int);
int scsi_inquire(struct scsi_link *, struct scsi_inquiry_data *, int);
int scsi_prevent(struct scsi_link *, int, int);