patch-2.1.15 linux/include/linux/blkdev.h

Next file: linux/include/linux/etherdevice.h
Previous file: linux/include/linux/blk.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/include/linux/blkdev.h linux/include/linux/blkdev.h
@@ -33,9 +33,14 @@
 	struct request * next;
 };
 
+typedef void (request_fn_proc) (void);
+typedef struct request ** (queue_proc) (kdev_t dev);
+
 struct blk_dev_struct {
-	void (*request_fn)(void);
-	struct request * current_request;
+	request_fn_proc		*request_fn;
+	queue_proc		*queue;
+	void			*data;
+	struct request		*current_request;
 	struct request   plug;
 	struct tq_struct plug_tq;
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov