On Fri, 2010-02-05 at 14:49 +0100, Geert Uytterhoeven wrote: > On Fri, 5 Feb 2010, Josh Boyer wrote: > > This allows the upgrade path from older kernel releases to work > > with the Fedora mkinitrd tool. > > > > --- > > > > --- linux-2.6.22.ppc64/drivers/block/ps3disk.c~ 2007-07-25 > > 16:06:16.000000000 +0100 > > +++ linux-2.6.22.ppc64/drivers/block/ps3disk.c 2007-07-26 > > 08:49:44.000000000 +0100 > > @@ -628,3 +628,4 @@ MODULE_LICENSE("GPL"); > > MODULE_DESCRIPTION("PS3 Disk Storage Driver"); > > MODULE_AUTHOR("Sony Corporation"); > > MODULE_ALIAS(PS3_MODULE_ALIAS_STOR_DISK); > > +MODULE_ALIAS("ps3_storage"); > > NAKed-by: Geert Uytterhoeven <geert.uytterhoe...@sonycom.com> > > ps3_storage was replaced by 3 drivers: ps3disk, ps3rom, and ps3flash. These > are > automatically loaded by udev. > > How does mkinitrd determine the driver for the root file system on other > systems? Does it really contain a big list of e.g. all SCSI drivers?
It pokes about in sysfs and works out the driver which is used for the current root devices. This hack was only needed for the upgrade -- when you were running a kernel with the ps3_storage kernel and you first installed a kernel with the new ps3disk driver, you needed it to find the right module. I think we can drop it now. -- David Woodhouse Open Source Technology Centre david.woodho...@intel.com Intel Corporation _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev