summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-09-08 09:47:46 +0000
committerkato <kato@FreeBSD.org>1998-09-08 09:47:46 +0000
commit8ee969646faea339b6bac041b1a23a57c56d1aaa (patch)
treeabbba87a3ab55710074b143372ee8ceda8d7486b /sys/pc98/cbus
parent4f35de094db020995056c5a6c64cbb5fac34e78a (diff)
downloadFreeBSD-src-8ee969646faea339b6bac041b1a23a57c56d1aaa.zip
FreeBSD-src-8ee969646faea339b6bac041b1a23a57c56d1aaa.tar.gz
Sync with sys/i386/isa/clock.c revision 1.125.
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r--sys/pc98/cbus/clock.c6
-rw-r--r--sys/pc98/cbus/pcrtc.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 1a95656..aa031e1 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.57 1998/06/08 08:56:43 kato Exp $
+ * $Id: clock.c,v 1.58 1998/06/10 08:25:23 kato Exp $
*/
/*
@@ -1221,7 +1221,7 @@ cpu_initclocks()
/* Finish initializing 8253 timer 0. */
#ifdef APIC_IO
- apic_8254_intr = isa_apic_pin(0);
+ apic_8254_intr = isa_apic_irq(0);
apic_8254_trial = 0;
if (apic_8254_intr >= 0 ) {
if (apic_int_type(0, 0) == 3)
@@ -1262,7 +1262,7 @@ cpu_initclocks()
printf("RTC BIOS diagnostic error %b\n", diag, RTCDG_BITS);
#ifdef APIC_IO
- if (isa_apic_pin(8) != 8)
+ if (isa_apic_irq(8) != 8)
panic("APIC RTC != 8");
#endif /* APIC_IO */
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 1a95656..aa031e1 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.57 1998/06/08 08:56:43 kato Exp $
+ * $Id: clock.c,v 1.58 1998/06/10 08:25:23 kato Exp $
*/
/*
@@ -1221,7 +1221,7 @@ cpu_initclocks()
/* Finish initializing 8253 timer 0. */
#ifdef APIC_IO
- apic_8254_intr = isa_apic_pin(0);
+ apic_8254_intr = isa_apic_irq(0);
apic_8254_trial = 0;
if (apic_8254_intr >= 0 ) {
if (apic_int_type(0, 0) == 3)
@@ -1262,7 +1262,7 @@ cpu_initclocks()
printf("RTC BIOS diagnostic error %b\n", diag, RTCDG_BITS);
#ifdef APIC_IO
- if (isa_apic_pin(8) != 8)
+ if (isa_apic_irq(8) != 8)
panic("APIC RTC != 8");
#endif /* APIC_IO */
OpenPOWER on IntegriCloud