Commit graph

36 commits

Author SHA1 Message Date
Trevor Johnson
e66743b7d5 Respect the user's USE_LINUX setting. 2005-03-01 21:51:48 +00:00
Kris Kennaway
07c34713b5 Use NO_FETCH instead of a gratuitous do-fetch target. 2004-12-27 21:28:43 +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
0428d161b2 Bump portrev for last change.
Reminded by:	kris
2004-03-10 09:35:29 +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
Joe Marcus Clarke
0ecea7d9d6 Substitute BROKEN with IGNORE in cases where the port requires the src tree
to be present, or does not compile on certain versions of FreeBSD.  This
will potentially avoid needless compilations on bento, and has the added
benefit of improving certain reporting tools.  To most users, this change
is a no-op.

PR:		61090
Submitted by:	linimon
2004-01-10 07:18:55 +00:00
Martin Blapp
09bbd91bf7 Bump portrevision 2003-05-15 13:07:42 +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
bef6fea12f [Forced commit]
Correct dependency on linux.ko and Bump PORTREVISION.

PR:		ports/37992, ports/40973
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
		Vladimir B. Grebenschikov <vova@sw.ru>
2003-04-04 22:09:04 +00:00
Norikatsu Shigemura
1c169cbd85 Correct dependency on linux.ko.
PR:		ports/40973
Submitted by:	Vladimir B. Grebenschikov <vova@sw.ru>
2003-04-04 22:05:33 +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
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Alexander Langer
091a8416e7 Fix build on -CURRENT by conditionally defining M_WAITOK as 0x0000. 2003-02-12 19:19:03 +00:00
Josef Karthauser
dce696905d Current doesn't use KMODDEPS.
Submitted by:	Mark Santcroos <marks@ripe.net>
2002-08-14 15:56:57 +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
33c97cffa6 Define USE_LINUX, as linux_base must be installed prior to this port. 2001-03-14 11:03:40 +00:00
Maxim Sobolev
2b1a883dc4 Massive style enforcement - use ^I instead of spaces for variables identation. 2001-01-16 17:33:20 +00:00
Akinori MUSHA
8b3cd773ff Use LINUXBASE/USE_LINUX variables.
This is only a cosmetic change, so there's no need to reinstall your
installation(s).
2000-09-22 17:22:24 +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
Akinori MUSHA
e54eaa34bb Set KMODDEPS=linux in Makefile.
Add $FreeBSD$ tag.

Submitted by:	Boris Popov <bp@FreeBSD.org>
2000-09-10 15:06:55 +00:00
Akinori MUSHA
f5e6c15f38 Chase the recent moving of linux_ioctl.h.
PR:		ports/20818
Submitted by:	Sean-Paul Rees <sean@dreamfire.net>
2000-08-24 14:51:20 +00:00
Jun Kuriyama
7ee7199ba0 Remove empty directory.
Submitted by:	bento
2000-08-02 05:19:16 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Akinori MUSHA
d166df7bfa Bump the version number corresponding to Peter's previous commit. 2000-05-06 12:49:51 +00:00
Peter Wemm
217c24e73e The rtc module depends on linux (for -current) 2000-05-05 13:08:30 +00:00
Akinori MUSHA
688db83363 Move /dev/rtc to ${LINUX_DIR}/dev/rtc, since we don't need rtc except
for running Linux stuff.

Suggested by:	Nick Sayer
2000-04-14 20:13:55 +00:00
Michael Haro
b7f08d10c0 PORTNAME/VERSION stuff 2000-04-12 04:56:17 +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