diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-06-24 22:42:08 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-06-24 22:42:08 +0000 |
commit | 817ecac2e2ca954de96eab1d2a48544a1d6f8524 (patch) | |
tree | d3bd0356fc0cf8f76aab56b06b2f97b0d7fa70ec /sys/scsi/scsi_disk.h | |
parent | 379cd4e469d883bc090ce5bcf24ceb72dc2aa1cf (diff) |
try to devise drive's rpm and default to 3600 should we fail miserably.
derived from pr2815 from Marco Peereboom
krw@ deraadt@ ok
Diffstat (limited to 'sys/scsi/scsi_disk.h')
-rw-r--r-- | sys/scsi/scsi_disk.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/scsi/scsi_disk.h b/sys/scsi/scsi_disk.h index 00b137c15b0..cb93bcd8c30 100644 --- a/sys/scsi/scsi_disk.h +++ b/sys/scsi/scsi_disk.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_disk.h,v 1.13 2002/12/15 20:53:33 krw Exp $ */ +/* $OpenBSD: scsi_disk.h,v 1.14 2003/06/24 22:42:07 mickey Exp $ */ /* $NetBSD: scsi_disk.h,v 1.10 1996/07/05 16:19:05 christos Exp $ */ /* @@ -310,10 +310,9 @@ union scsi_disk_pages { u_int8_t head_unload; /* head unload delay */ u_int8_t pin_34_2; /* pin 34 (6) pin 2 (7/11) definition */ u_int8_t pin_4_1; /* pin 4 (8/9) pin 1 (13) definition */ + u_int8_t rpm[2]; /* media rotation speed */ u_int8_t reserved1; u_int8_t reserved2; - u_int8_t reserved3; - u_int8_t reserved4; } flex_geometry; struct page_reduced_geometry { u_int8_t pg_code; /* page code (should be 6) */ |