patch-2.2.15 linux/include/linux/blk.h
Next file: linux/include/linux/cd1400.h
Previous file: linux/include/linux/apm_bios.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Apr 21 23:10:16 2000
- Orig file:
v2.2.14/include/linux/blk.h
- Orig date:
Tue Jan 4 21:19:02 2000
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/include/linux/blk.h linux/include/linux/blk.h
@@ -400,6 +400,14 @@
#define DEVICE_ON(device)
#define DEVICE_OFF(device)
+#elif (MAJOR_NR == I2O_MAJOR)
+
+#define DEVICE_NAME "I2O block"
+#define DEVICE_REQUEST do_i2ob_request
+#define DEVICE_NR(device) (MINOR(device)>>4)
+#define DEVICE_ON(device)
+#define DEVICE_OFF(device)
+
#endif /* MAJOR_NR == whatever */
#if (MAJOR_NR != SCSI_TAPE_MAJOR)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)