patch-2.4.21 linux-2.4.21/drivers/block/ida_cmd.h
Next file: linux-2.4.21/drivers/block/ida_ioctl.h
Previous file: linux-2.4.21/drivers/block/elevator.c
Back to the patch index
Back to the overall index
-  Lines: 25
-  Date:
2003-06-13 07:51:32.000000000 -0700
-  Orig file: 
linux-2.4.20/drivers/block/ida_cmd.h
-  Orig date: 
2001-11-02 17:45:42.000000000 -0800
diff -urN linux-2.4.20/drivers/block/ida_cmd.h linux-2.4.21/drivers/block/ida_cmd.h
@@ -82,7 +82,6 @@
 
 #define CMD_RWREQ	0x00
 #define CMD_IOCTL_PEND	0x01
-#define CMD_IOCTL_DONE	0x02
 
 typedef struct cmdlist {
 	chdr_t	hdr;
@@ -94,6 +93,7 @@
 	struct cmdlist *prev;
 	struct cmdlist *next;
 	struct request *rq;
+	struct completion *waiting;
 	int type;
 } cmdlist_t;
 	
@@ -318,6 +318,8 @@
 	__u8	reserved[510];
 } mp_delay_t;
 
+#define SENSE_SURF_STATUS	0x70
+
 #define PASSTHRU_A	0x91
 typedef struct {
 	__u8	target;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)