IDE and PCI
Hi
we runs a 2.4.25 on a custum board (MPC8270). We use compact flash over UPM. All runs fine.
But if i config in the pci bus the i/o accesses on compact flash will fail. The kernel booting fails and it hangs up. At the same time i can read out the cf registers with bdi.
It crashes on the first INB() call in ide_probe.c. "stat = hwif->INB(hwif->io_ports[IDE_STATUS_OFFSET]);". Without pci it works fine.
Any ideas?
Thanks in advance
Marco
Hi,
Quoted 8 lines · Marco Schramel
Hi
we runs a 2.4.25 on a custum board (MPC8270). We use compact flash over UPM. All runs fine. But if i config in the pci bus the i/o accesses on compact flash will fail. The kernel booting fails and it hangs up. At the same time i can read out the cf registers with bdi.
It crashes on the firstINB()call inide_probe.c. "stat =hwif->INB(hwif->io_ports[IDE_STATUS_OFFSET]);". Without pci it works fine.
Propably isa_io_base is set to beginning of PCI IO area when PCI is enabled. So all io accesses are mapped in different location. In this case you may need to add additional offset to default io port addresses for compact flash access.
Best regards,
Marcin