Re: SDIO Drivers?

From: Russell King
Date: Fri Apr 07 2006 - 10:43:47 EST


On Fri, Apr 07, 2006 at 10:55:15AM +0200, Pierre Ossman wrote:
> Ram wrote:
> > Hi,
> > i want to write an SDIO driver. There is not much information of
> > what an SDIO driver is
> > supposed to do or any sample sdio drivers.
> >
> > I have a few questions regarding that:
> >
> > 1) What is an SDIO Driver?.
> >
>
> They don't exist in the kernel right now, that's why you haven't found
> any examples.
>
> To support SDIO, the MMC layer would need to be extended to handle the
> initialisation of SDIO cards (they're a bit different from SD storage
> and MMC). After that, a driver model needs to be constructed. It might
> be possible to build upon the current MMC driver model, but one would
> need to make sure that cards that are both storage and SDIO are handled.

I think we would be forced to re-think the existing model - SDIO cards
seem to be able to support simultaneously both block device and IO.
Therefore, it would appear that we need the ability to register two
drivers against the same device.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/