Re: Fundamental Design Flaw of the Device Driver Model?

From: Jon Smirl
Date: Fri Aug 22 2008 - 10:33:39 EST


On 8/22/08, Eric Miao <eric.y.miao@xxxxxxxxx> wrote:
======================================================
> This, however, creates many questions you have to face with:
>
> 1. on what bus shall these sub-devices be?
> ** this is the reason I choose to use "platform_device", at least they
> can reside on the platform_bus_type, thus platform_driver can be used
> for this sub-device

Another option is making your own bus. If I understand your hardware
it effectively has an internal bus.

--
Jon Smirl
jonsmirl@xxxxxxxxx
--
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/