summaryrefslogtreecommitdiffstats
path: root/include/linux/cdu31a.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
committer <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
commitbeb116954b9b7f3bb56412b2494b562f02b864b1 (patch)
tree120e997879884e1b9d93b265221b939d2ef1ade1 /include/linux/cdu31a.h
parent908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff)
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'include/linux/cdu31a.h')
-rw-r--r--include/linux/cdu31a.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/cdu31a.h b/include/linux/cdu31a.h
index fc1150fef..269e7b614 100644
--- a/include/linux/cdu31a.h
+++ b/include/linux/cdu31a.h
@@ -66,16 +66,16 @@
#define LOG_START_OFFSET 150 /* Offset of first logical sector */
-#define SONY_DETECT_TIMEOUT 80 /* Maximum amount of time
+#define SONY_DETECT_TIMEOUT (8*HZ/10) /* Maximum amount of time
that drive detection code
will wait for response
from drive (in 1/100th's
of seconds). */
-#define SONY_JIFFIES_TIMEOUT 1000 /* Maximum number of times the
+#define SONY_JIFFIES_TIMEOUT 1000 /* Maximum number of times the
drive will wait/try for an
operation */
-#define SONY_RESET_TIMEOUT 100 /* Maximum number of times the
+#define SONY_RESET_TIMEOUT 100 /* Maximum number of times the
drive will wait/try a reset
operation */
#define SONY_READY_RETRIES 20000 /* How many times to retry a
@@ -134,6 +134,13 @@
#define SONY_SD_AUTO_SPIN_DOWN_TIME 0x06
/*
+ * The following are parameter bits for the mechanical control command
+ */
+#define SONY_AUTO_SPIN_UP_BIT 0x01
+#define SONY_AUTO_EJECT_BIT 0x02
+#define SONY_DOUBLE_SPEED_BIT 0x04
+
+/*
* The following extract information from the drive configuration about
* the drive itself.
*/