Re: [PATCH] ibmebus/of_platform: Move "name" sysfs attribute into genericOF devices

From: Joachim Fenkes
Date: Tue Aug 19 2008 - 06:53:17 EST


Paul Mackerras <paulus@xxxxxxxxx> 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
--
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/