[PATCH] 16/18 add more possible root devices

Arnd Bergmann
2002-08-05T16:10:28Z

This patch adds some more s/390 specific devices to the list of root devices.

diff -urN linux-2.4.19-rc3/init/do_mounts.c linux-2.4.19-s390/init/do_mounts.c
--- linux-2.4.19-rc3/init/do_mounts.c Tue Jul 30 09:02:32 2002
+++ linux-2.4.19-s390/init/do_mounts.c Tue Jul 30 09:02:57 2002
@@ -162,6 +162,58 @@
{ "dasdf", (DASD_MAJOR << MINORBITS) + (5 << 2) },
{ "dasdg", (DASD_MAJOR << MINORBITS) + (6 << 2) },
{ "dasdh", (DASD_MAJOR << MINORBITS) + (7 << 2) },
+ { "dasdi", (DASD_MAJOR << MINORBITS) + (8 << 2) },
+ { "dasdj", (DASD_MAJOR << MINORBITS) + (9 << 2) },
+ { "dasdk", (DASD_MAJOR << MINORBITS) + (10 << 2) },
+ { "dasdl", (DASD_MAJOR << MINORBITS) + (11 << 2) },
+ { "dasdm", (DASD_MAJOR << MINORBITS) + (12 << 2) },
+ { "dasdn", (DASD_MAJOR << MINORBITS) + (13 << 2) },
+ { "dasdo", (DASD_MAJOR << MINORBITS) + (14 << 2) },
+ { "dasdp", (DASD_MAJOR << MINORBITS) + (15 << 2) },
+ { "dasdq", (DASD_MAJOR << MINORBITS) + (16 << 2) },
+ { "dasdr", (DASD_MAJOR << MINORBITS) + (17 << 2) },
+ { "dasds", (DASD_MAJOR << MINORBITS) + (18 << 2) },
+ { "dasdt", (DASD_MAJOR << MINORBITS) + (19 << 2) },
+ { "dasdu", (DASD_MAJOR << MINORBITS) + (20 << 2) },
+ { "dasdv", (DASD_MAJOR << MINORBITS) + (21 << 2) },
+ { "dasdw", (DASD_MAJOR << MINORBITS) + (22 << 2) },
+ { "dasdx", (DASD_MAJOR << MINORBITS) + (23 << 2) },
+ { "dasdy", (DASD_MAJOR << MINORBITS) + (24 << 2) },
+ { "dasdz", (DASD_MAJOR << MINORBITS) + (25 << 2) },
+#endif
+#ifdef CONFIG_BLK_DEV_XPRAM
+ { "xpram0", (XPRAM_MAJOR << MINORBITS) },
+ { "xpram1", (XPRAM_MAJOR << MINORBITS) + 1 },
+ { "xpram2", (XPRAM_MAJOR << MINORBITS) + 2 },
+ { "xpram3", (XPRAM_MAJOR << MINORBITS) + 3 },
+ { "xpram4", (XPRAM_MAJOR << MINORBITS) + 4 },
+ { "xpram5", (XPRAM_MAJOR << MINORBITS) + 5 },
+ { "xpram6", (XPRAM_MAJOR << MINORBITS) + 6 },
+ { "xpram7", (XPRAM_MAJOR << MINORBITS) + 7 },
+ { "xpram8", (XPRAM_MAJOR << MINORBITS) + 8 },
+ { "xpram9", (XPRAM_MAJOR << MINORBITS) + 9 },
+ { "xpram10", (XPRAM_MAJOR << MINORBITS) + 10 },
+ { "xpram11", (XPRAM_MAJOR << MINORBITS) + 11 },
+ { "xpram12", (XPRAM_MAJOR << MINORBITS) + 12 },
+ { "xpram13", (XPRAM_MAJOR << MINORBITS) + 13 },
+ { "xpram14", (XPRAM_MAJOR << MINORBITS) + 14 },
+ { "xpram15", (XPRAM_MAJOR << MINORBITS) + 15 },
+ { "xpram16", (XPRAM_MAJOR << MINORBITS) + 16 },
+ { "xpram17", (XPRAM_MAJOR << MINORBITS) + 17 },
+ { "xpram18", (XPRAM_MAJOR << MINORBITS) + 18 },
+ { "xpram19", (XPRAM_MAJOR << MINORBITS) + 19 },
+ { "xpram20", (XPRAM_MAJOR << MINORBITS) + 20 },
+ { "xpram21", (XPRAM_MAJOR << MINORBITS) + 21 },
+ { "xpram22", (XPRAM_MAJOR << MINORBITS) + 22 },
+ { "xpram23", (XPRAM_MAJOR << MINORBITS) + 23 },
+ { "xpram24", (XPRAM_MAJOR << MINORBITS) + 24 },
+ { "xpram25", (XPRAM_MAJOR << MINORBITS) + 25 },
+ { "xpram26", (XPRAM_MAJOR << MINORBITS) + 26 },
+ { "xpram27", (XPRAM_MAJOR << MINORBITS) + 27 },
+ { "xpram28", (XPRAM_MAJOR << MINORBITS) + 28 },
+ { "xpram29", (XPRAM_MAJOR << MINORBITS) + 29 },
+ { "xpram30", (XPRAM_MAJOR << MINORBITS) + 30 },
+ { "xpram31", (XPRAM_MAJOR << MINORBITS) + 31 },
#endif
#if defined(CONFIG_BLK_CPQ_DA) || defined(CONFIG_BLK_CPQ_DA_MODULE)
{ "ida/c0d0p",0x4800 },