[PATCH 1/2] ppc32: Make platform devices being able to assign functions (resend)

Grant Likely grant.likely at secretlab.ca
Fri Dec 30 06:54:12 EST 2005


Marcelo Tosatti wrote:
> Hi Vitaly,
> 
> On Wed, Dec 28, 2005 at 11:04:32PM +0300, Vitaly Bordug wrote:
> 
>>Implemented by  modification of the .name field of the platform device,
>>when PDs with the
>>same names are to be used within different drivers, as
>><device_name> -> <device_name>:<function>
>>Corresponding drivers should change the .name in struct device_driver to
>>reflect upper of course.
> 
> 
> I'm not certain that the <device_name>:<function> structure for sysfs   
> representation is "allowed" - have you asked GregKH about it?
> 
>
He didn't seem to have any problem with it when we talked about it at
OLS.  Also, ':' is already used by the PCI bus driver.  Look in
/sys/class/pci_bus.

g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761



More information about the Linuxppc-embedded mailing list