Maciej W. Rozycki wrote:
On Thu, 14 Oct 2004, Ralf Baechle wrote:
This small patch is required to get PCI working on the Broadcom SWARM board in 2.6. Without this patch, the PCI bus scan is skipped due to resource conflict. Tested using the E100 network cardI'm too lazy to dig up the actual numbers from the BCM1250 manuals but
- ioport_resource.end = 0x0000ffff; /* 32MB reserved by sb1250 */
+ ioport_resource.end = 0xffffffff; /* 32MB reserved by sb1250 */
it definately does not have 4GB of port address space.
The doc states low 25 bits are used for I/O addressing, matching the comment above (surprise!, surprise!), so I guess the constant sought for the bit mask above is 0x01ffffff. If that turns out to work, I can apply an update (can I, Ralf?).
Maciej
Hello !
Honestly, I dont have the manual to determine the port address space bits. Hence, I set it to this value to MAX (i.e. 0xffffffff). Probably, should have mentioned that when sending the patch. Do you want me to try with this value (0x01ffffff) ?
Thanks Manish Lachwani