All of lore.kernel.org
 help / color / mirror / Atom feed
* IDE and PCI
@ 2005-04-12 10:14 Marco Schramel
  2005-04-12 10:36 ` Marcin Dawidowicz
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Schramel @ 2005-04-12 10:14 UTC (permalink / raw)
  To: PPC_LINUX

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IDE and PCI
  2005-04-12 10:14 IDE and PCI Marco Schramel
@ 2005-04-12 10:36 ` Marcin Dawidowicz
  0 siblings, 0 replies; 2+ messages in thread
From: Marcin Dawidowicz @ 2005-04-12 10:36 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-12 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-12 10:14 IDE and PCI Marco Schramel
2005-04-12 10:36 ` Marcin Dawidowicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.