[PATCH] ibmebus/of_platform: Move "name" sysfs attribute into generic OF devices

Joachim Fenkes FENKES at de.ibm.com
Tue Aug 19 20:52:07 EST 2008


Paul Mackerras <paulus at samba.org> wrote on 19.08.2008 06:14:00:
 
> > Recent of_platform changes made of_bus_type_init() overwrite the bus 
type's
> > .dev_attrs list, so move ibmebus' "name" attribute (which is needed by 
eHCA
> > userspace support) into generic OF device code. Tested on POWER.
> 
> Is this a bugfix that is needed for 2.6.27?

Yes, definitely. The eHCA userspace driver relies on the name attribute to 
check for valid adapters (it checks that the name is "lhca"), so with the 
name attribute gone, eHCA userspace will cease to work.

Regards,
  Joachim



More information about the Linuxppc-dev mailing list