diff options
author | imp <imp@FreeBSD.org> | 2006-08-09 23:47:38 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-08-09 23:47:38 +0000 |
commit | b7167a2ca5f3d2bf29a4efe4d85f1127bfbe9054 (patch) | |
tree | 20aa68e235c808b52a199e9b017520c44a3dc2f9 /sys/isa | |
parent | af62585f2dec932d252ce3b61efa2209912447bd (diff) | |
download | FreeBSD-src-b7167a2ca5f3d2bf29a4efe4d85f1127bfbe9054.zip FreeBSD-src-b7167a2ca5f3d2bf29a4efe4d85f1127bfbe9054.tar.gz |
Eliminate one set of XBOX #ifdefs. The Xbox code just needs to set a
different TIMER_FREQ value than default. Accomplish this via the
config file rather than via an #ifdef.
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/atrtc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index f785849..652cc01 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -93,10 +93,6 @@ __FBSDID("$FreeBSD$"); #include <i386/bios/mca_machdep.h> #endif -#ifdef XBOX -#include <machine/xbox.h> -#endif - /* * 32-bit time_t's can't reach leap years before 1904 or after 2036, so we * can use a simple formula for leap years. @@ -543,11 +539,6 @@ calibrate_clocks(void) return (tot_count); fail: -#ifdef XBOX - if (arch_i386_is_xbox) - timer_freq = 1125000; /* gives ~733.34MHz CPU clock */ -#endif - if (bootverbose) printf("failed, using default i8254 clock of %u Hz\n", timer_freq); |