[parisc-linux] parisc-linux.org kernel

Alan Cox alan@lxorguk.ukuu.org.uk
15 Apr 2003 16:54:32 +0100


On Maw, 2003-04-15 at 17:32, Joel Soete wrote:

> >ide_get_legacy(int n) [n=0/1] for interfaces.
> 
> And so I still have to add 
> #if defined(CONFIG_SUPERIO)
> #    define ide_get_legacy(x) superio_get_ide_irq()
> #else
> #    define ide_get_legacy(x) ... (still have to find what)
> #endif

What do you need to know if the legacy irq is to come from superio.
Should be we be asking ide_get_legacy(struct pci_device *pdev) ?

I just want to understand this so I (or you) do it right