Subject: Re: MI console detection
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 10/31/2002 15:17:24
On Thu, Oct 31, 2002 at 01:14:30PM +0100, Matthias Drochner wrote:

> In i386 land and alphas, the md consinit code calls some driver
> specific XXXcnattach() functions for the devices it has decided
> to put the console on.

Which means that consinit code needs to know (in advance) the driver
specific cnattach function.

> So I'd say that no additional framework is needed.

I'm not sure I got your point. To me this reads as "we already have two
or three very evil hacks in place, just add another one."

I, personally, very much prefer a few #ifdef __sparc__ in otherwise generic
PCI drivers over hacking knowledge of all possible console devices into
consinit.

Martin