patch-2.4.19 linux-2.4.19/include/asm-cris/ide.h
Next file: linux-2.4.19/include/asm-cris/ioctls.h
Previous file: linux-2.4.19/include/asm-cris/etraxgpio.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-cris/ide.h
- Orig date:
Tue Feb 13 14:13:44 2001
diff -urN linux-2.4.18/include/asm-cris/ide.h linux-2.4.19/include/asm-cris/ide.h
@@ -1,7 +1,7 @@
/*
* linux/include/asm-cris/ide.h
*
- * Copyright (C) 2000 Axis Communications AB
+ * Copyright (C) 2000, 2001, 2002 Axis Communications AB
*
* Authors: Bjorn Wesen
*
@@ -97,7 +97,19 @@
unsigned lba : 1; /* using LBA instead of CHS */
unsigned bit7 : 1; /* always 1 */
} b;
- } select_t;
+} select_t;
+
+typedef union {
+ unsigned all : 8; /* all of the bits together */
+ struct {
+ unsigned bit0 : 1;
+ unsigned nIEN : 1; /* device INTRQ to host */
+ unsigned SRST : 1; /* host soft reset bit */
+ unsigned bit3 : 1; /* ATA-2 thingy */
+ unsigned reserved456 : 3;
+ unsigned HOB : 1; /* 48-bit address ordering */
+ } b;
+} control_t;
/* some configuration options we don't need */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)