Geert Uytterhoeven wrote:
> On Thu, 10 May 2001, Pete Popov wrote:
> > Are you really trying to assign 0xC000 0000 to the card or was that just
> > an example address? Unless your pci to memory window is such that
> > there's a translation that occurs, that address is incorrect. If the
> > window is 1:1, the physical address 0xC000 0000 does not exist. You
> > need to assign the card a real physical address; if your system has 32MB
> > of memory, than that address would have to be between 0 and 0x2000000.
> > (well, you can't give it address "0" because of interrupt vectors, but
> > you get the point). I can point you to some examples if you have
> > problems.
> If you have 32 MB of RAM and you put a PCI card at an address between 0 and
> 0x2000000 you'll have a problem! PCI cards must not overlap with real memory.
Sorry Wayne, I'm working on an ethernet driver and was thinking of
descriptors and data buffers for PCI ethernet cards, which have to be in
real physical memory. Geert is right, but 0xC000 0000 still seems
suspicious. That's a very high physical address and pci devices are
usually mapped at lower addresses. Something like 0x2000 0000 is more
reasonable and makes accessing the card through kseg1 possible.