[patch] Clocks on PC98

TAKAHASHI Yoshihiro nyan at FreeBSD.org
Mon Jul 12 13:34:33 UTC 2010


In article <4C3AD4A8.602 at FreeBSD.org>
Alexander Motin <mav at FreeBSD.org> writes:

> I've made a patch to unify PC98 event timer code with the rest of x86.
> Could somebody test it on that hardware, as all I can say now is that it
> builds.
> 
> I have no idea about ISA PNP on PC98, so if it doesn't report timer
> presence, it may be needed to add to device.hints lines like:
> hint.attimer.0.at="isa"
> hint.attimer.0.port="0x71"
> hint.attimer.0.irq="0"

This patch has two problems.  The one is a missing change in
timer_spkr_setfreq() and the other is wrong allocation for I/O ports.

I attach new patch that works fine for pc98.  Please feel it free.

Thanks for your work.

---
TAKAHASHI Yoshihiro <nyan at FreeBSD.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clock.diff
Type: text/x-patch
Size: 6315 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100712/3cd2a3de/clock.bin


More information about the freebsd-current mailing list