Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/dev The MRG and direct ADB drivers were inco...



details:   https://anonhg.NetBSD.org/src/rev/b2800a74d99b
branches:  trunk
changeset: 483816:b2800a74d99b
user:      scottr <scottr%NetBSD.org@localhost>
date:      Sun Mar 19 06:07:05 2000 +0000

description:
The MRG and direct ADB drivers were inconsistent in how they worked with
a serial console; the direct driver didn't care, but the MRG driver
wouldn't probe ADB when using a serial console.  Remove the check from
the MRG version of the code to resolve this difference.

diffstat:

 sys/arch/mac68k/dev/adb.c |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r c98782f245aa -r b2800a74d99b sys/arch/mac68k/dev/adb.c
--- a/sys/arch/mac68k/dev/adb.c Sun Mar 19 02:47:19 2000 +0000
+++ b/sys/arch/mac68k/dev/adb.c Sun Mar 19 06:07:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adb.c,v 1.34 2000/02/14 07:01:45 scottr Exp $  */
+/*     $NetBSD: adb.c,v 1.35 2000/03/19 06:07:05 scottr Exp $  */
 
 /*
  * Copyright (C) 1994  Bradley A. Grantham
@@ -125,15 +125,6 @@
        adb_polling = 1;
 
 #ifdef MRG_ADB
-       /* 
-        * Even if serial console only, some models require the
-        * ADB in order to get the date/time and do soft power.
-        */
-       if ((mac68k_machine.serial_console & 0x03)) {
-               printf(": using serial console\n");
-               return;
-       }
-
        if (!mrg_romready()) {
                printf(": no ROM ADB driver in this kernel for this machine\n");
                return;



Home | Main Index | Thread Index | Old Index