summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-09-27 11:43:20 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-09-27 11:43:20 +0000
commit80dfa590def1fad41b553042d10bea9828355f8b (patch)
tree97d54d719ed30c38c1846723538f84b444c89ea2 /sys/scsi/scsiconf.h
parenta3d80268fd08b76b1745d0b1ae43a14a85651ffd (diff)
scsi_size() is now used only by cd(4). So move it from scsi_base.c
to cd.c and call it cd_size(), like sd_size() lives in sd.c. Tweak some daddr_t variables to u_int64_t on the way, when they are for disk sector numbers, not 512-byte block numbers.
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 7dbe60509b2..f6c0b7efbe0 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.156 2013/08/29 02:54:37 dlg Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.157 2013/09/27 11:43:19 krw Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -472,7 +472,6 @@ const void *scsi_inqmatch(struct scsi_inquiry_data *, const void *, int,
workq_add_task(NULL, (_fl), (_f), (_a1), (_a2))
void scsi_init(void);
-daddr_t 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_inquire_vpd(struct scsi_link *, void *, u_int, u_int8_t, int);