Skip to contentSkip to conversation

IDE and PCI

DISCUSSION Marco Schramel 2 participants 2 messages Apr 12, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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 first INB() call in ide_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