Re: [patch] Clocks on PC98

From: TAKAHASHI Yoshihiro <nyan_at_FreeBSD.org>
Date: Mon, 12 Jul 2010 22:33:11 +0900 (JST)
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>

Received on Mon Jul 12 2010 - 11:34:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC