Commit graph

19 commits

Author SHA1 Message Date
Alexander Leidinger
fcb536d684 Users are confused by a diagnostic message more than they are
helped because it is printing the -current- value of HZ, not the
value requested. This is fixed be rearranging the order of changing
the value and printing the message (they are in adjacent lines).

Submitted by:	rgrimes
2006-01-29 16:09:18 +00:00
Florent Thoumie
87e9dc7ae1 - Fix rtc on systems where sizeof(int) != sizeof(long).
- Clean pkg-plist a bit.
- Re-word IGNORE lines and remove quotes.

PR:		ports/87546
Submitted by:	Simun Mikecin <numisemis@yahoo.com>
2005-11-29 15:43:43 +00:00
Mike Silbersack
c9ac4e0cd1 Change the hz warning so that it doesn't bother you if hz is already
set to 1000 or greater, and take out the check to see if hz is greater
than the requested tick rate.
2005-10-06 06:38:38 +00:00
Mike Silbersack
cf1f2dd6ae Patch to keep up with the recent cdev changes. No need for a port
revision bump, the functionality is unchanged.
2004-06-24 07:49:45 +00:00
Mike Silbersack
2d30e526ba Update the rtc device to use dynamic numbering on -current. In order to
accomdate this change, stop using device nodes in /usr/compat/linux/dev
and instead rely on the linuxalator passing through requests to the
real /dev.  (This second change also applies to 4.x).
2004-03-13 21:20:03 +00:00
Mike Silbersack
9ee4a1434b Ugh, 502103 is the correct revision, not 502104.
No portrev bump needed.
2004-03-10 09:44:44 +00:00
Mike Silbersack
2d5c22cfa8 *Actually* make rtc work on post-502104 -CURRENT. 2004-03-10 09:02:02 +00:00
Martin Blapp
a0bb6deda5 Make rtc module work with FreeBSD 502104. 2004-03-03 10:15:11 +00:00
Mike Silbersack
f1d3004b0d Update the rtc driver once again. As of this revision, I believe that
the linux rtc device is being emulated as accurately as possible,
at least in terms of its behavior.  Further improvements to its
accuracy will require much more precise measurement.

Device cloning is not yet implemented.
2004-02-24 23:07:48 +00:00
Mike Silbersack
465bd09c2a Replace rtc with a revamped version that I've been working on. This version
uses tsleep / selrecord and a worker thread to provide a much better emulation
of the rtc driver, as well as greatly decreased processor usage.

Device cloning as well as a few more tweaks to the emulation are still pending.
2004-01-28 08:15:19 +00:00
Mike Silbersack
fdd8b072a2 Fix that pesky panic when the rtc module is unloaded.
PR:	ports/57465
2004-01-23 09:07:51 +00:00
Martin Blapp
8f11d2a89b Fix panic if the rtc module gets loaded twice: Make rtc_dev static
and destroy the device on cleanup.

Submitted by:	Orlando Bassotto <orlando.bassotto@ieo-research.it>
2003-05-15 13:06:57 +00:00
Norikatsu Shigemura
288b6d293b Support post-500104-current.
Submitted by:	Marcin Cielak <saper@sgh.waw.pl>
Tested by:	freebsd-emulation
2003-03-23 12:36:58 +00:00
Akinori MUSHA
c7b626b1a3 Add $FreeBSD$ tags. 2001-09-16 07:05:18 +00:00
Akinori MUSHA
5867e6b1dd - Conditionalize bmaj and kqfilter in cdevsw. 2001-09-16 07:01:44 +00:00
Akinori MUSHA
5f50ae13d7 - Replace ugly perl substitution hacks with #if's.
- Support the post-KSE CURRENT.
2001-09-16 06:42:36 +00:00
Akinori MUSHA
48af3464ad Update for the latest current. (lminor() -> dev2unit())
Correct the startup script to unload rtc.ko module properly.
2000-09-22 11:08:22 +00:00
Peter Wemm
217c24e73e The rtc module depends on linux (for -current) 2000-05-05 13:08:30 +00:00
Akinori MUSHA
3cf900afec This is rtc, a kernel module for /dev/rtc device support.
Some apps such as VMware for Linux would be happy with it.

The code was originally written by Vladimir N. Silyaev.

Note: It _includes_ Linux ioctl support, but basically it's
FreeBSD native stuff.  I'm importing this into emulators
category for convevience' sake.   Check it out.
2000-04-03 15:28:30 +00:00