[PATCH] generic check_legacy_ioport

Segher Boessenkool segher at kernel.crashing.org
Wed Apr 25 11:54:47 EST 2007


>>> Do you think a device_type fdc, i8042 or ipmi will appear outside an 
>>> isa
>>> node?
>>
>> Does anyone know where those ipmi devices appear in the device-tree?
>
> There are actually _no_ ipmi devices that we expect to appear here.
> the reason why the check is in the ipmi driver is in order not to crash
> on powerpc machines that load the ipmi driver but have no ipmi nodes
> in the device tree.

> 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).


Segher




More information about the Linuxppc-dev mailing list