public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] init/main.c/root_dev_names - another one #ifdef
@ 2001-10-30 23:53 Denis Zaitsev
  2001-10-31  0:15 ` Alan Cox
  0 siblings, 1 reply; 11+ messages in thread
From: Denis Zaitsev @ 2001-10-30 23:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

The idea is to include the SCSI disk's names into the list only if we
compile the kernel with the corresponding support.  It's not very
serious patch, but to put the things in order...  Linus, please, apply
it.

--- init/main.c.orig	Wed Oct 31 02:23:48 2001
+++ init/main.c	Wed Oct 31 02:44:02 2001
@@ -166,6 +166,7 @@
 	{ "hdr",     0x5A40 },
 	{ "hds",     0x5B00 },
 	{ "hdt",     0x5B40 },
+#ifdef CONFIG_BLK_DEV_SD
 	{ "sda",     0x0800 },
 	{ "sdb",     0x0810 },
 	{ "sdc",     0x0820 },
@@ -182,6 +183,7 @@
 	{ "sdn",     0x08d0 },
 	{ "sdo",     0x08e0 },
 	{ "sdp",     0x08f0 },
+#endif
 	{ "ada",     0x1c00 },
 	{ "adb",     0x1c10 },
 	{ "adc",     0x1c20 },

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-11-01  2:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-30 23:53 [PATCH] init/main.c/root_dev_names - another one #ifdef Denis Zaitsev
2001-10-31  0:15 ` Alan Cox
2001-10-31  0:12   ` Linus Torvalds
2001-10-31  0:28     ` Alan Cox
2001-10-31  1:28     ` Andreas Dilger
2001-10-31 17:28       ` Christoph Hellwig
2001-10-31 18:20         ` Andreas Dilger
2001-10-31 18:31           ` Christoph Hellwig
2001-10-31 19:08             ` Andreas Dilger
2001-11-01  2:05     ` Denis Zaitsev
2001-10-31  1:36   ` Denis Zaitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox