Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/alpha/alpha Pull up 1.40 -> 1.41.



details:   https://anonhg.NetBSD.org/src/rev/51264416273a
branches:  netbsd-1-4
changeset: 468299:51264416273a
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Apr 16 23:09:48 1999 +0000

description:
Pull up 1.40 -> 1.41.

diffstat:

 sys/arch/alpha/alpha/dec_2100_a50.c |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 8112beb3e520 -r 51264416273a sys/arch/alpha/alpha/dec_2100_a50.c
--- a/sys/arch/alpha/alpha/dec_2100_a50.c       Fri Apr 16 23:09:07 1999 +0000
+++ b/sys/arch/alpha/alpha/dec_2100_a50.c       Fri Apr 16 23:09:48 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dec_2100_a50.c,v 1.40 1999/02/13 02:41:40 thorpej Exp $ */
+/* $NetBSD: dec_2100_a50.c,v 1.40.2.1 1999/04/16 23:09:48 thorpej Exp $ */
 
 /*
  * Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
@@ -31,7 +31,7 @@
  */
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.40 1999/02/13 02:41:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.40.2.1 1999/04/16 23:09:48 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -136,17 +136,18 @@
                }
 
        case 3:
-#if    NPCKBD  > 0
+#if NPCKBD > 0
                /* display console ... */
                /* XXX */
                (void) pckbc_cnattach(&acp->ac_iot, PCKBC_KBD_SLOT);
 
-               if ((ctb->ctb_turboslot & 0xffff) == 0)
+               if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) ==
+                   CTB_TURBOSLOT_TYPE_ISA)
                        isa_display_console(&acp->ac_iot, &acp->ac_memt);
                else
                        pci_display_console(&acp->ac_iot, &acp->ac_memt,
-                           &acp->ac_pc, (ctb->ctb_turboslot >> 8) & 0xff,
-                           ctb->ctb_turboslot & 0xff, 0);
+                           &acp->ac_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot),
+                           CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0);
 #else
                panic("not configured to use display && keyboard console");
 #endif



Home | Main Index | Thread Index | Old Index