| Age | Commit message (Collapse) | Author |
|
Add the basic RTC subsystem infrastructure to the kernel.
rtc/class.c - registration facilities for RTC drivers
rtc/interface.c - kernel/rtc interface functions
rtc/hctosys.c - snippet of code that copies hw clock to sw clock
at bootup, if configured to do so.
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
RTC and date/time related functions.
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Git patch 52dfa9a64cfb3dd01fa1ee1150d589481e54e28e
[PATCH] move rtc_interrupt() prototype to rtc.h
broke strace(1) builds. The below moves the kernel-only additions lower,
under the already provided #ifdef __KERNEL__ statement.
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch moves the rtc_interrupt() prototype to rtc.h and removes the
prototypes from C files.
It also renames static rtc_interrupt() functions in
arch/arm/mach-integrator/time.c and arch/sh64/kernel/time.c to avoid compile
problems.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Paul Gortmaker <p_gortmaker@yahoo.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
The new HPET RTC emulation code uses a function in rtc.c, get_rtc_time().
So that function was made non-static. Problem is, the same function name is
used elsewhere by some architectures, so there will be linkage problems.
And rtc_get_time() is used too, so I renamed it to rtc_get_rtc_time().
Also, the HPET code was setting CONFIG_HPET_EMULATE_RTC by hand in a header
file. Fix it to use the Kconfig system properly.
|
|
Genrtc: Sync generic RTC driver with 2.4.x.
|
|
|
|
This is the current version of the genrtc driver from the m68k
community. This is slightly different than the version I have sent
previously in that it has been switched to C99-style initializers,
which was done in the current m68k CVS tree by Geert Uytterhoeven, and
the needed changes to select/compile it in general. I had previously
asked the m68k community if anyone objected to this being submitted by me,
and I got Richard Zidlicky's (who's at the top of the file) approval, as
well as Geert Uytterhoeven's approval.
|
|
This patch to allow using of RTC timer inside the kernel space. We can
use the RTC timer as timing source for ALSA sequencer. Patch by Takashi.
The patch adds these three functions and one structure to rtc.h and
rtc.c:
typedef struct rtc_task {
void (*func)(void *private_data);
void *private_data;
} rtc_task_t;
int rtc_register(rtc_task_t *task);
int rtc_unregister(rtc_task_t *task);
int rtc_control(rtc_task_t *t, unsigned int cmd, unsigned long arg);
Jaroslav
|
|
- Get non-cpuid Cyrix probing right (it's not a NexGen)
- Jens Axboe: cdrom tray status and queing cleanups
- AGP GART: don't disable VIA, and allow i815 with external AGP
- Coda: use iget4() in order to have big inode numbers without clashes.
- Fix UDF writepage() page locking
- NIIBE Yutaka: SuperH update
- Martin Diehl and others: SiS pirq routing fixes
- Andy Grover: ACPI update
- Andrea Arkangeli: LVM update
- Ingo Molnar: RAID cleanups
- David Miller: sparc and networking updates
- Make NFS really be able to handle large files
|
|
|