patch-2.2.18 linux/include/linux/genhd.h
Next file: linux/include/linux/hdreg.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Nov 8 23:08:48 2000
- Orig file:
v2.2.17/include/linux/genhd.h
- Orig date:
Fri Apr 21 23:10:16 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/linux/genhd.h linux/include/linux/genhd.h
@@ -256,6 +256,18 @@
extern struct gendisk *gendisk_head; /* linked list of disks */
+#ifdef CONFIG_ARCH_S390
+/*
+ * dasd_device_name(...)
+ * formats the devicename of the indicated disk
+ * into the supplied buffer, and returns a pointer
+ * to that same buffer (for convenience).
+ * Because the S390 DASDs span a larger namespace than other
+ * platforms we need our own function.
+ */
+int (*genhd_dasd_name)(char*,int,int,struct gendisk*);
+#endif
+
/*
* disk_name() is used by genhd.c and md.c.
* It formats the devicename of the indicated disk
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)