summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-07-16 23:21:46 +0000
committermav <mav@FreeBSD.org>2010-07-16 23:21:46 +0000
commit4e6cef612e23720c249be94dd6e9cfc64da509da (patch)
treed509157643ec5a37811d25d2a0ed37c36d7bcaf8
parentf06f20d898bab093a300e2d121a01fe7aba540eb (diff)
downloadFreeBSD-src-4e6cef612e23720c249be94dd6e9cfc64da509da.zip
FreeBSD-src-4e6cef612e23720c249be94dd6e9cfc64da509da.tar.gz
Add hints for i8254 timer on i386 and amd64. Some people report about
systems with PnP/ACPI not reporting i8254 timer. In some cases it can be fatal, as i8254 can be the only available time counter hardware. From other side we are now heavily depend on i8254 timer and till the last time it's init/usage was completely hardcoded. So this change just restores previous behavior in more regular fashion.
-rw-r--r--sys/amd64/conf/GENERIC.hints3
-rw-r--r--sys/i386/conf/GENERIC.hints3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/amd64/conf/GENERIC.hints b/sys/amd64/conf/GENERIC.hints
index 731124d..763b3eb 100644
--- a/sys/amd64/conf/GENERIC.hints
+++ b/sys/amd64/conf/GENERIC.hints
@@ -27,3 +27,6 @@ hint.ppc.0.irq="7"
hint.atrtc.0.at="isa"
hint.atrtc.0.port="0x70"
hint.atrtc.0.irq="8"
+hint.attimer.0.at="isa"
+hint.attimer.0.port="0x40"
+hint.attimer.0.irq="0"
diff --git a/sys/i386/conf/GENERIC.hints b/sys/i386/conf/GENERIC.hints
index 8e37ff1..dc827a8 100644
--- a/sys/i386/conf/GENERIC.hints
+++ b/sys/i386/conf/GENERIC.hints
@@ -35,3 +35,6 @@ hint.ppc.0.irq="7"
hint.atrtc.0.at="isa"
hint.atrtc.0.port="0x70"
hint.atrtc.0.irq="8"
+hint.attimer.0.at="isa"
+hint.attimer.0.port="0x40"
+hint.attimer.0.irq="0"
OpenPOWER on IntegriCloud