Subject: Re: Mac mini and keyboard
To: None <port-macppc@NetBSD.org>
From: Donald Lee <MacPPC1@caution.icompute.com>
List: port-macppc
Date: 03/02/2005 18:56:10
At 7:45 PM -0500 3/2/05, Michael wrote:
>Hello,
>
>> One reason 'flags 1' isn't the default is that this forces
>> use of the host controller before the interrupts are turned on.
>> This piece of code is really dodgy and used to have problems
>> on some platforms.  It seems somewhat better behaved these days.
>Yeah, it also tends to screw up my harddisk numbering because a USB drive gets detected before the SCSI controller - a general solution for this won't be trivial I guess, especially not for generic kernels with lots of drivers.
>
>> What I'd like to see is the question for root device (etc.) moved
>> so that it happens after the kernel threads are started.  I've
>> not checked if this is easy.
>Agreed. I've never looked at this code, but it seems to ask for a root path right before trying to load init but apparently there's a little more happening in between - shouldn't be /that/ hard to figure out.

I would think that ideally, you'd want the USB baseline drivers started very
early, and the USB mass storage detection to happen "much later".  I bet
the USB drivers don't "factor" nicely like that. ;->

-dgl-