The following patch allows the gdrom to be specified as a root device
(ie, root=/dev/gdrom on the command line) on the Dreamcast by adding an
identifier for it to the root_dev_names struct. Thus an initrd is no
longer needed.
It is against my tree but should apply to the current CVS. Not too sure
why no one ever found it missing before. I don't know what it takes to
get it merged, but please?
Robert Love
diff -urN linux-cvs/init/main.c linux/init/main.c
--- linux/init/main.c Fri Nov 9 17:15:00 2001
+++ linux-dc/init/main.c Fri Nov 30 01:19:17 2001
@@ -195,6 +195,7 @@
{ "scd", 0x0b00 },
{ "mcd", 0x1700 },
{ "cdu535", 0x1800 },
+ { "gdrom", 0xFA00 },
{ "sonycd", 0x1800 },
{ "aztcd", 0x1d00 },
{ "cm206cd", 0x2000 },
|