[PATCH] generic check_legacy_ioport

Arnd Bergmann arnd at arndb.de
Wed Apr 25 17:49:17 EST 2007


On Wednesday 25 April 2007, Segher Boessenkool wrote:
> > I don't think there are any powerpc machines where it can find 
> > something
> > there, but we decided to leave the code architecture independent in
> > case there ever are, and just to add the check_legacy_ioport call in 
> > there.
> 
> SLOF/JS21 (at least some versions of it) have an "ipmi"
> node on the "isa" bus.  And the kernel ipmi driver actually
> works on it, too (no idea about the currently proposed
> scanning though -- but the principle is correct at least).

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.

If the ipmi node on the ISA bus is located at the standardized
legacy I/O port range, it should get found by the later probing,
if check_legacy_ioport allows it.

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.

	Arnd <><



More information about the Linuxppc-dev mailing list