Hi, I have a question about PCI memory map. We use a processor that can only access 128M of PCI memory. So lets say it has assigned the PCI memory address from 0xd0000000 - 0xd7ffffff .. Now I have PCI device which has 4 base address.
Base Adress 0 - 64M Base Address 1 -4 M Base Address 2 - 4 M Base Adress 3 - 4 M
Now what I see when Linux Boots up. It sets the first PCI memory at 64 Meg boundary. That means, linux Writes 0xd4000000 on the first BaseAddress_0 of the PCI card . Then it would set the Base Address_1 to 0xd8000000.
Now as you can see, Linux just wasted the memory from 0xd0000000 -
0xd4000000 .. Is there any reason why Linux has to set the BaseAddress_0 starting at 64 Meg boundary. Why cannt I set BaseAddress_0 to 0xd0000000 (which is a page boudary) Thanks