PCI device support in Open Firmware (device tree syntax)
Johnny Hung
johnny.hacking at gmail.com
Tue Jun 30 17:33:11 EST 2009
2009/6/30 Marco Stornelli <marco.stornelli at gmail.com>:
> 2009/6/30 Johnny Hung <johnny.hacking at gmail.com>:
>> Thanks for your reply. So there are no PCI device resource info in
>> flat device tree.
>> How do PCI device resources be assign in general case or is there any example?
>> I am so confusing, would you please give me detailed describle?
>>
>> BRs, H. Johnny
>>>
>
> You should look at your bootloader about the initial configuration of
> the pci device, in general it should (more or less) do the work of
> BIOS as you said. After that the kernel can probe them.
>
> Marco
>
You are right. u-boot do PCI device BAR resources assign and flat
device tree describe PCI device interrupt-map. I use "lspci -s xxx -x"
for the PCI device, the resources was assigned properly.
Thanks.
BRs, H. Johnny
More information about the Linuxppc-dev
mailing list