Can not boot 7.0-BETA3 with puc

Marcel Moolenaar xcllnt at mac.com
Sun Nov 25 13:56:39 PST 2007


On Nov 25, 2007, at 4:46 AM, Frank Behrens wrote:

> Marcel,
>
> thanks for your explanation.
>
> Marcel Moolenaar <xcllnt at mac.com> wrote on 24 Nov 2007 10:20:
>> No, it isn't. The puc(4) driver can have different children.
>> Currently, it
>> can have 3 different children. Standard bus probing determines which
>> driver will attach. The puc(4) driver does not care about unit  
>> numbers
>> for
>> the simple reason that it doesn't care about which driver attaches.
>
> OK. I interpret this as: It is not puc's problem, which sio units  
> are asssigned, it is the job for
> the sio driver itself.

It's actually more a job for the newbus infrastructure. Whenever
a child is created in a particular device class, it's assigned
a unit number. Then and there do you want to implement policies
about unit numbers. Not in the individual drivers, whether leave
or otherwise.

FYI,

-- 
Marcel Moolenaar
xcllnt at mac.com




More information about the freebsd-current mailing list