Platform device model drawback

Kumar Gala galak at gate.crashing.org
Wed Nov 16 06:34:47 EST 2005


> You only register the driver once.  The individual devices can be bound
> to the same driver, right?
> 
> > Not registering it in CPM_UART, how the pdev could be obtained?
> > 
> > Maybe this is clear, but platform stuff is cumbersome some times...
> 
> Then make it cleaner :)

This is where the confusion is.  We have two instances of device A.  We 
want instance 1 of device A bound to driver "enet" and instance 2 of 
device A bound to "serial".

Today both instances are called "deviceA".  However we can't register two 
different drivers as "deviceA".

Not sure if that clarifies the issue any.

- kumar




More information about the Linuxppc-embedded mailing list