Subject: timecounter, ofctl
To: netbsd-macppc macppc <port-macppc@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 09/29/2006 19:13:08
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
basic support for timecounters has been committed into -current (
mostly ported from prep ). Please check if anything is wrong with it,
especially on G5 hardware - I have no idea ( and no way to test ) if it
works at all there.
You should see something like this in your kernel output:
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: selected timecounter "clockinterrupt" frequency 100 Hz
quality 0
timecounter: Timecounter "macppc_mftb" frequency 10000000 Hz quality 0
timecounter: selected timecounter "macppc_mftb" frequency 10000000 Hz
quality 0
The frequency reported for 'macppc_mftb' will vary, a beige G3 for
instance ticks at ~16MHz.
Besides that, ofdump2 finally made it into the source tree, as
/usr/sbin/ofctl - please check if it does anything funny on your
hardware ( besides dumping the OpenFirmware device tree ), it works
fine on what I have here ( PB3400, beige G3, Sun U1 )
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRR2ohMpnzkX8Yg2nAQKJXQf+PAH4QykkIkj3zVD97sQEnSzxj0ngrbxV
mhCnS2NjIgy4X+PlEY/ejxDhsKbWsfmpUWxilZM0Vodw9csaI0UtkSuvvyUKmmdm
vzJcMIFPzIak1d/uPTo7x3wX6IvF27hR/UpQQttNaOzDv9zbzE/K2kEGfQAJjlK2
ieUKigWDkBaFB5npwt3a+4REQ6MsAcsCDBmDFxr7ODB8C0rGbnVeGjvfonx4SGls
6ATJp4MMNEAm6/oXV4aoTB2KnWmtoU+8yVLH6J/nbzk6M/HogINXKayeKlXCjkAa
GefMRGIdonv0U4rJzyE83W0IVgZbTr4sXkigqfIa/rTFvzCqtHGvpg==
=q2MH
-----END PGP SIGNATURE-----