High Precision Timer on JS20

Segher Boessenkool segher at kernel.crashing.org
Thu Jan 29 20:32:04 EST 2004


> I'm now trying to use the High Precision Timer (HPET) of the 8111
> Hypertransport IO hub. This function is part of the LPC sub-device
> which
> is supposed to be probed as a pci sub-device (device B, function 0 in
> the IO Hub doc.).

You'll have to enable it first (DevB:0xa0).

> But it seems that the only sub-device listed in the device tree and
> detected through the pci scan is the IDE controller which is the
> function 1 of this part of the IO hub.
>
> Even trying to reach the function 0 (and the other available functions)
> through pci_config_read call is failing (returning 0xffffffff).

Function 0 can't be disabled; you must be doing something wrong.
Maybe you're trying for the wrong address?  Bus 0 dev 4 func 0 is
what you're after...


Segher


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list