summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_disk.h
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1999-08-24 01:20:23 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1999-08-24 01:20:23 +0000
commitb24f9df7ec3ec16be1cd52c9189217ab9af11311 (patch)
tree66ba79b8e8415341d8568978a4d07533f8fa5114 /sys/scsi/scsi_disk.h
parentfab392781711b5f3ab639479a93d855b6c0e1dc3 (diff)
Added type field to scsi_addr to reflect bus/device type (ATAPI or SCSI).
Updated ioctls to match Minor patches in anticipation of wd->sd translation layer
Diffstat (limited to 'sys/scsi/scsi_disk.h')
-rw-r--r--sys/scsi/scsi_disk.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/scsi/scsi_disk.h b/sys/scsi/scsi_disk.h
index 33c207d6bb7..59a34e62bbb 100644
--- a/sys/scsi/scsi_disk.h
+++ b/sys/scsi/scsi_disk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_disk.h,v 1.7 1999/07/25 07:09:19 csapuntz Exp $ */
+/* $OpenBSD: scsi_disk.h,v 1.8 1999/08/24 01:20:22 csapuntz Exp $ */
/* $NetBSD: scsi_disk.h,v 1.10 1996/07/05 16:19:05 christos Exp $ */
/*
@@ -240,6 +240,12 @@ struct scsi_reassign_blocks_data {
} defect_descriptor[1];
};
+struct scsi_disk_blk_desc {
+ u_int8_t nblocks[4];
+ u_int8_t density;
+ u_int8_t blklen[3];
+};
+
union scsi_disk_pages {
#define DISK_PGCODE 0x3F /* only 6 bits valid */
struct page_disk_format {