Subject: Re: Netpliance Iopener booted with NetBSD...
To: None <thorpej@shagadelic.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: current-users
Date: 03/14/2000 00:24:53
Jason R Thorpe wrote:

> I really wanted to fix this with the config_pending stuff, but while it
> more or less works for e.g. CardBus and PCMCIA, it doesn't work for USB
> because the USB code is constructed such that it decrements its pending
> configuration as soon as the first device is discovered on the USB.
>
> This loses, since once a hub is discovered, it then asynchrously does
> discovery on all the hub ports.
>
> Maybe when a hub is discovered, it should increment config_pending for
> each port that it has... that might be enough to defer mounting of the
> root FS until e.g. the USB Ethernet is found.

That wouldn't work.  It would have to increment only for ports with devices.
And then only for devices that it will actually manage to attach.

It's hairy...  I will think about it a little; I'd really like to be able to use USB
for diskless machines.


--

        -- Lennart