Messages in this thread Patch in this message | | | Date | Wed, 28 Mar 2001 14:04:24 +0200 | From | Luca Montecchiani <> | Subject | [2.2.19pre17] init/main.c |
| |
Hi Alan,
On 28 Dec 2000 I've just sent a similar patch but I never got a reply ;) http://boudicca.tux.org/hypermail/linux-kernel/2000week53/0264.html
The first part of the patch is a must for kernels that load scsi driver from initrd the second one is a must for kernel that load cciss block driver from initrd
Without these changes there is no way to boot loading modules from initrd :((
thanks, luca
diff -ur linux-2.2.19-pre17/init/main.c linux-2.2.19-pre17-tl/init/main.c --- linux-2.2.19-pre17/init/main.c Wed Mar 28 13:55:53 2001 +++ linux-2.2.19-pre17-tl/init/main.c Wed Mar 28 13:02:49 2001 @@ -482,7 +482,7 @@ { "hdk", 0x3900 }, { "hdl", 0x3940 }, #endif -#ifdef CONFIG_BLK_DEV_SD +#if defined(CONFIG_BLK_DEV_SD) || defined(CONFIG_BLK_DEV_SD_MODULE) { "sda", 0x0800 }, { "sdb", 0x0810 }, { "sdc", 0x0820 }, @@ -536,6 +536,24 @@ { "ida/c0d14p",0x48E0 }, { "ida/c0d15p",0x48F0 }, #endif +#if defined(CONFIG_BLK_CPQ_CISS_DA) || defined(CONFIG_BLK_CPQ_CISS_DA_MODULE) + { "cciss/c0d0p",0x6800 }, + { "cciss/c0d1p",0x6810 }, + { "cciss/c0d2p",0x6820 }, + { "cciss/c0d3p",0x6830 }, + { "cciss/c0d4p",0x6840 }, + { "cciss/c0d5p",0x6850 }, + { "cciss/c0d6p",0x6860 }, + { "cciss/c0d7p",0x6870 }, + { "cciss/c0d8p",0x6880 }, + { "cciss/c0d9p",0x6890 }, + { "cciss/c0d10p",0x68A0 }, + { "cciss/c0d11p",0x68B0 }, + { "cciss/c0d12p",0x68C0 }, + { "cciss/c0d13p",0x68D0 }, + { "cciss/c0d14p",0x68E0 }, + { "cciss/c0d15p",0x68F0 }, +#endif #ifdef CONFIG_ATARI_ACSI { "ada", 0x1c00 }, { "adb", 0x1c10 }, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |