[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PCI autodetection



> I suppose I could write a shell script to do the same thing, looking at
> /proc/bus/pci/devices instead of asking the kernel directly, and keep the
> table as text ...

(I just remembered:) 

The reason I did it in C rather than in ash was that I wanted the program
to be usable _before_ base.tar.gz is untarred (and hence before grep and
the rest of busybox is available) -- I'd like dbootstrap to be able to
probe the PCI devices and find the network card, configure the network,
and _then_ fetch the base filesystem. :)

						Will



Reply to: