tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] pcictl: simplify its usage
>> There is nothing that compels busses to be numbered starting 0, and,
>> if pci0 is explicitly configured but not found, it won't exist.
> No, you're right. But that would be a very strange kernel config
> file;
Not so strange as all that. If you want to nail down something - disk,
network, etc - you have to nail down everything on the path from
mainbus0 to it, which likely includes PCI busses. Then if you boot
that kernel on a machine which doesn't have one of those, it will be
absent.
> PCI busses are numbered starting from 0, increasing each time
> autoconf finds a new bus. Of course you could iterate over the
> /dev/pci* until you find one that works.
Given a way to tell when to stop, sure.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index