[PATCH] pc386 BSP: initialization of PCI bus
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Fri Aug 19 16:06:30 UTC 2005
Keith Robertson wrote:
> Karel Gardas wrote:
>
>> IIRC Gregory Melke recommended to initializa PCI bus in bsp_startup
>> function of pc386 BSP early this year. Attach patch tries to implement
>> this. It is tested on two x86 systems one with 3C905C-TX and other
>> with Intel's Ethernet NICs.
>>
>> Since till now, initialization of PCI bus was done in appropriate
>> device driver on pc386 BSP, I hope it is right to place its
>> initialization after all needed initializations of IRQ and exceptions
>> management code.
>
>
> Karel,
>
> Do you happen to know if this patch causes any problems on pc386 bsps
> without a PCI bus? Personally, I'm particularly interested in qemu with
> the -isa (aka no pci) option. However, there's likely(?) other setups
> without PCI.
That is an issue which would be nice to know the answer to. But that
only makes it the responsibility of the pc386 to avoid initializing
non-existent hardware at boot time. It would still be OK for the
NIC drivers to assume that if PCI exists, it is initialized.
Also I realize that many times horizontal changes can only be sanity
checked and compiled. No one has every target hardware configuration.
We just do the best we can and be careful.
> Cheers,
>
> Keith
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list