From 14a08a0fb2aca744be4d0549ec17f6e40a306c76 Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 26 Jul 2007 21:18:21 +0000 Subject: Use the new x86 code, thanks sn9 ! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8185 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/rdc-2.6/patches/000-rdc_fixes.patch | 39 ------------------------ 1 file changed, 39 deletions(-) (limited to 'target/linux/rdc-2.6/patches/000-rdc_fixes.patch') diff --git a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch index 482088c2e..148fc482b 100644 --- a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch +++ b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch @@ -822,42 +822,3 @@ diff -urN linux-2.6.19/arch/i386/mach-rdc/led.h linux-2.6.19.new/arch/i386/mach- +#define LED_BLINK_RANDOM (LED_BLINK_CMD|0xffff) + +#endif -diff -urN linux-2.6.21.1/arch/i386/kernel/time.c linux-2.6.21.1.new/arch/i386/kernel/time.c ---- linux-2.6.21.1/arch/i386/kernel/time.c 2007-04-27 23:49:26.000000000 +0200 -+++ linux-2.6.21.1.new/arch/i386/kernel/time.c 2007-05-31 13:43:31.000000000 +0200 -@@ -264,8 +264,16 @@ - /* Duplicate of time_init() below, with hpet_enable part added */ - void __init hpet_time_init(void) - { -+#ifndef CONFIG_X86_RDC - if (!hpet_enable()) - setup_pit_timer(); -+#else -+ struct timespec ts; -+ -+ /* RDC devices do not have CMOS */ -+ ts.tv_sec = 0; -+ ts.tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); -+#endif - time_init_hook(); - } - -@@ -279,6 +287,18 @@ - */ - void __init time_init(void) - { -+#ifndef CONFIG_X86_RDC - tsc_init(); - late_time_init = choose_time_init(); -+#else -+ struct timespec ts; -+ -+ /* RDC devices do not have CMOS */ -+ ts.tv_sec = 0; -+ ts.tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); -+ -+ do_settimeofday(&ts); -+ -+ time_init_hook(); -+#endif - } -- cgit v1.2.3