Re: [PATCH] cs5520: add missing IRQ setup for the second port

From: Frans Pop
Date: Mon Jun 22 2009 - 19:58:26 EST


David Miller wrote:
> ide_pci_setup_ports() would loop over the available ports, one
> by one, recording IRQ numbers increasingly from the one passed
> in as "pciirq".

I looked at the commit and at the code and called functions several times
(just out of curiosity), but have been completely unable to find where
that increase of pciirq actually happened.
AFAICT ide_pci_setup_ports() just passed it on to ide_hw_configure() and
all that did was 'hw->irq = irq', so AFAICT in the old case both ports
would get the *same* IRQ, and not consecutive ones.

Am I missing something here?
--
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/