Subject: Re: problems with pci bus on a pm520 board

From: Segher Boessenkool <[email-masked]>
Date: Thu, 1 Mar 2007 13:54:07 +0100

>>>             interrupt-map = <8000 0 0 1 500 1 1 3 // e100, 10.0
>>>                              8000 0 0 2 500 1 1 3
>>>                              8000 0 0 3 500 1 1 3
>>>                              8000 0 0 4 500 1 1 3
>>
>> 8000 is device 16, not 10

<snip>

> I got the address 8000 here. Is the
> pdev->bus->number actually supposed to be 10 for device 10? I had some
> trouble tracking down how the bus number is initialized. It might be
> nice if you or some one could give me a hint on this.

8000 is device 16 is 0x10 hex.  PCI device numbers are
usually written in decimal.  Is your device 10 == 0x0a
or 16 == 0x10?

Segher