Subject: ADB quirks
To: port-mac68k <port-mac68k@NetBSD.ORG>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 03/19/1998 00:44:13
Hi,

a few observations from a kernel compile session this evening...

[The machine in question is a Quadra 700/33/68MB]


1) With the ADB direct-to-metal driver, the box locks up solid during the
initial probe. This ran fine until 1.3B.


2) For whatever reason, mac68k/dev/{adb_direct.c,pm_direct.c} link
ADB_DEBUG unconditionally to DEBUG with the construct

#ifdef DEBUG
#ifndef ADB_DEBUG
#define ADB_DEBUG
#endif
#endif

-- whereas the other adb_* files do not. This breaks builds with DEBUG but
not ADB_DEBUG defined -- Ick.

Fix: Don't do this, kick out the above construct.


3) The ROM based (MRG) ADB driver unconditionally disables the adb device
if you boot with serial console -- no local X server. I can see situations
where this comes in handy, but please make it an option (for the booter?).

	hauke


--
"It's never straight up and down"     (DEVO)