Sorry for all the confusion, and subsequent traffic as
a result of my mistakes.
I'm still feeling my way with regards to programming
the PCI and have mixed up terms and addresses.
Just for the record :
In actual fact the PCI code is writing physical
addresses to the Base Address Register, eg 0x02000000.
Then later on when the driver is initialising itself
it reads the BAR and adds on KSEG1 :
dev->base_addr = KSEG1ADDR(base_addr);
It is this "dev->base_addr" that gets reported to me
on boot up ( 0xA2000000 ) as being the base address of
the device. The 0xC000 0000 I wrote in my first mail
was from another problem I had been working and was
somehow burned into my brain.
There is nothing like someone questioning one's
assumptions to make one re-evaluate those assumptions.
For this I am grateful to those people, for spotting
the gaping whole of my mistake and bringing it to my
attention. For me at least it has been very useful in
I still would like to understand PCI issues more
particularly with respect to so called "legacy PCi
devices" VGA, sound card etc. So if anyone would like
to mail me off the list with tips / reading they have
found useful, it would be most appreciated.
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices