summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-07-14 04:29:47 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-07-14 04:29:47 +0000
commitc37f46e9f82cf45b2e5f726f29ac55e384ab8083 (patch)
treefa1a8f1c3166c027acd2b1d04be6ff75f9f76317 /sys/dev/ic
parentb3ea5d2886af1bbe66b91cb034002a2286307bd7 (diff)
Add physical disk structure.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/amireg.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/dev/ic/amireg.h b/sys/dev/ic/amireg.h
index 2feada3a00c..bdf3f974351 100644
--- a/sys/dev/ic/amireg.h
+++ b/sys/dev/ic/amireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amireg.h,v 1.13 2005/07/12 03:21:17 marco Exp $ */
+/* $OpenBSD: amireg.h,v 1.14 2005/07/14 04:29:46 marco Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -660,4 +660,18 @@ struct ami_drivehistory {
} adh_fail[AMI_FAILHISTORY];
};
+struct ami_phys_disk {
+ u_int32_t apd_sectsz;
+ char apd_vendor[9];
+ char apd_prodid[17];
+ char apd_revno[9];
+ u_int32_t apd_scsitype;
+ union {
+ u_int8_t apd_scsi; /* SCSI Opt ISO Ver */
+ u_int8_t apd_ide; /* connection ID */
+ };
+ u_int8_t apd_mederr;
+ u_int8_t apd_otherr;
+};
+
#pragma pack()