how does kernel select the right driver specified in the "root" CMDLINE option?
I am using 184.108.40.206 kernel and i see two config files in the archive with different CMDLINE options. one CMDLINE option specifies 'root=/dev/mmcblock0' and the other specifies 'root=/dev/mmcblock0_xyz'.
Looking at these two CMDLINE options, it seems that the kernel selects the right driver based on the 'root' argument.
Can anybody tell where this registration/mapping happens in the kernel so that i can choose which driver to use based on the 'root' CMDLINE option?