Re: CSB5 IDE does not fully support native mode??

From: Bjorn Helgaas
Date: Thu May 26 2005 - 11:57:40 EST


On Thursday 26 May 2005 8:24 am, Alan Cox wrote:
> In order to keep the legacy world from falling to bits IDE and VGA have
> some ugly hacks in the PCI spec.
>
> In legacy mode an IDE device appears at the "old" standard IDE addresses
> and uses an external IRQ pin wired to the ISA IRQ lines (14 or 15). In
> native mode it behaves like a PCI device, honouring the PCI bars and
> using the PCI INT lines.

This has been niggling in my mind for a while -- in legacy mode,
the device should use IRQ 14/15. But I think we still call
pci_enable_device(), which sets up IRQ routing according to
the usual PCI rules. Should we be using pci_enable_device()
at all in legacy mode?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/