Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 1995 15:22:03 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@freebsd.org
Subject:   Re: xntpd (or kernel) timekeeping problem?
Message-ID:  <199509210522.PAA29492@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >TIMER_FREQ should once and forever be banned from all source files and
>> >moved out into a header file.  (isa.h?)
>>...
>Who's volunteering?  I think you need an agrep to find all the
>locations where this frequency has been defined throughout the source
>tree.  Note that the several definitions used to differ slightly. :-)

pcvt spells it PCVT_SYSBEEPF but gives it the same value.  This doesn't
annoy me as much as both syscons and pcvt ignoring the keyboard defines
that were already in a header files (ic/i8042.h).  E.g.,

port	ic/i8042.h		../include/console.h	pcvt/pcvt_hdr.h
----	----------		--------------------	---------------
0x60	KBDATAP, KBOUTP		KB_DATA, KB_WRITE	CONTROLLER_DATA
0x64	KBSTATP			KB_STAT			CONTROLLER_CTRL

state	ic/i8042.h		../include/console.h	pcvt/pcvt_hdr.h
-----	----------		--------------------	---------------
0x01	KBS_DIB			KB_BUF_FULL		STATUS_OUTPBF
0x02	KBS_IBF			KB_READY		STATUS_INPBF

not to mention

port	isa.h	GENERIC	LINT	thousands of config files
----	-----	-------	----	-------------------------
0x60	IO_KBD	IO_KBD	IO_KBD	IO_KBD

The value in the config files is ignored.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509210522.PAA29492>