patch-2.4.19 linux-2.4.19/include/asm-arm/ide.h
Next file: linux-2.4.19/include/asm-arm/io.h
Previous file: linux-2.4.19/include/asm-arm/hdreg.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-arm/ide.h
- Orig date:
Thu Jun 17 01:11:35 1999
diff -urN linux-2.4.18/include/asm-arm/ide.h linux-2.4.19/include/asm-arm/ide.h
@@ -30,7 +30,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;
#define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id))
#define ide_free_irq(irq,dev_id) free_irq((irq), (dev_id))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)