[parisc-linux-cvs] 2.4.16-pa1, soft-power-switch support

Grant Grundler grundler@puffin.external.hp.com
Thu, 29 Nov 2001 22:20:30 -0700


Helge Deller wrote:
...
> +/*
> + * On gecko style machines (e.g. 712/xx and 715/xx) 
> + * the power switch status is stored in Bit 0 ("the highest bit")
> + * of CPU diagnose register 25.
> + * 
> + * FIXME: doesn't work yet,
> + * I assume HPUX does some strange things (e.g. copy cr23 to cr25 ?)
> + */

I would expect HPUX to use PDC calls to do something like that
but I was wrong. It has a magic sequence to access diagnose
registers on PCXL/PCXL2 systems. I'll make those sequences
available once I've gone over the code (remove names/IP/etc).

grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253