[PATCH] generic check_legacy_ioport
arnd at arndb.de
Thu Apr 26 08:02:54 EST 2007
On Wednesday 25 April 2007, Segher Boessenkool wrote:
> > It won'd be found by the of_platform_driver part of ipmi,
> > since devices on the ISA bus do not get added to the linux
> > device tree.
> Drat. Why not?
We have a number of buses on which devices get automatically added
as of_devices into the Linux driver infrastructures. Which buses
are probed depends on the platform, it may include e.g. "soc",
"plb5" and "siliconbackplane", but no platform currently scans
the ISA bus.
> > We might still want to have the driver use a proper of_device,
> > which would require the maple platform code to add this device
> > during probing.
> That sounds like the only option then. Does
> this have to be done per platform though? It
> sounds perfectly safe to do it in more generic
I think the right solution would be to add automatic probing
of all ISA devices into the platform independent code. Besides
making IPMI work on JS21, it would result in the legacy serial
ports to show up in the right place in sysfs.
I am however worried about what other side-effects this change
could have on platforms that have a broken ISA device in their
More information about the Linuxppc-dev