Keywest detection

Jean Delvare khali at linux-fr.org
Thu Aug 7 12:49:54 CEST 2003


> There's a /proc/device-tree directory on PPCs that have Open Firmware
> (that is not all PPCs, but all supported PowerMacs) that contains the
> Open Firmware device-tree.

OK, I just took a look, and it seems to be a complete mess there (2.4).
I think I will add the Keywest to the list of the _un_detectable
adapters.

> The CPU itself doesn't have the inX/outX instructions, like most non
> x86 CPUs, but there is till the possiblility of having an ISA bus on
> some machines, in which case it's available on a southbridge on the
> PCI bus. The PowerMacs don't have one though.
> 
> There are some techniques to issue IOs from userland, but those
> involve using some syscalls to find the IO base address of a given
> PCI bus, then mmap'ing /dev/mem to get access to this IO range, then
> re-implementing the kernel IO accessors based on this. This isn't
> something I recommend to do unless it cannot be avoided. (XFree is
> an example of a userland app that do need that).

Thanks for the information. I think I will fix isadump but won't compile
it be default on linux-ppc.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



More information about the lm-sensors mailing list