[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4dde4acb0707050221k5a73a4abt2db9e8b0f7c74ae1@mail.gmail.com>
Date: Thu, 5 Jul 2007 14:51:35 +0530
From: "Midhun Agnihotram" <agnimidhun@...il.com>
To: "Pierre Ossman" <drzeus-mmc@...eus.cx>
Cc: "Nobin Mathew" <nobin.mathew@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: platform_driver_register() ??
Hi All,
> > I think mmc driver is layered modules, only top block driver
> > registers driver under "mmc_bus_type" bus, see
> > drivers/mmc/mmc_sysfs.c and mmc_block.c. I think they are creating a
> > tree of devices of same characteristics under that bus.
> > I think your driver is linux/drivers/mmc/imxmmc.c where it registers a
> > driver for device of type "platform_bus_type". This module will come
> > under above mentioned block driver.
> > Corresponding platform device is registered in
> > linux/arch/arm/mach-imx/generic.c see platform_device imx_mmc_device.
Is it necessary that the firmware (may be bootloader) notify about
the MMC host to Linux? The kernel documentation (platform.txt) says :
"The firmware should notify the platform bus about devices before the
legacy drivers have had a chance to load."
Have I interpreted the above sentence correctly?
Thanks,
Midhun.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists