On Wed, Dec 29, 2010 at 10:26:35PM +0100, Sebastian Andrzej Siewior wrote:
> * David Brownell | 2010-12-29 09:00:36 [-0800]:
> 
> >I detect an effort to change the classic model for board initialization in 
> >Linux:  first set up
> >and register all system/platform devices on each
> >board then do the same for their drivers.  ("hardware first" ... "software 
> >second".
> 
> What are you suggesting? platform_driver_probe() does not work with
> hotpluged devices.

That assumption only holds for certain devices on certain boards.
platform_device_probe() is a machine specific optimization that I will
not hesitate to remove if it breaks the driver on other machines.

> I don't see a reason why it should be available to drivers. It is
> unlikely that platform devices are hotlpluged but not impossible.

More and more likely all the time though.  Many drivers use the model
of registering child platform_devices (for instance, multi function
devices).

g.


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to