IDE and PCI

Marcin Dawidowicz marcin.dawidowicz at kontron.pl
Tue Apr 12 20:36:18 EST 2005


Hi,
On Tuesday 12 of April 2005 12:14, Marco Schramel wrote:
> 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



More information about the Linuxppc-embedded mailing list