On Feb 3, 2008 1:52 PM, Rudolf Marek r.marek@assembler.cz wrote:
Hi Urbez,
- Add the follow code to the end of the function main() in auto.c: if
not, your normal IDE cannot use DMA and via-rhine, usb's, etc, not works.
//This enable the access of PCI devices to the PCI bus master? pci_write_config8(cn700->d0f7, 0x57, 0x20);//was 0x01
I think this is connected to some last DRAM address stuff. DMA may not work if this is incorrect. Consult some similar datasheet jjj.ivn.pbz.gj!ra!qbjaybnqf!qngnfurrgf!puvcfrgf!QF_PA400_118.mvc It may be the last bank ending address??? Perhaps this must be copied from function 3 maybe?
Exactly
- If you will that the FILO not confuses scanning PCI, you must add, to
the end of main() in auto.c:
pci_write_config8(cn700->d1f0,0x19,0x1,CF8);//enable PCI-BRIGDE
SECONDARY BUS pci_write_config8(cn700->d1f0,0x1a,0x1,CF8);
Perhaps is something translating configuration cycles?
Rudolf
Nope, secondary and subordinate bus number. But what's up with the CF8 at the end of these commands?
-Corey