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

From: David Miller
Date: Tue Jun 23 2009 - 19:44:43 EST


From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jun 2009 16:33:24 +0100

>> > The cs5520 isn't a standard IDE controller in the first place and doesn't
>> > have two channels anyway. It's special as it uses non standard bar
>>
>> Please note that both cs5520.c / pata_cs5520.c assume that the controller
>> has two ports (please verify whether they need some fixing, thanks)..
>
> It can it turns out have two if the relevant external logic is present.

Ok, so previously the code would set both port IRQs to 14. But now
only the first port IRQ gets initialized to 14, any subsequent port
has it's IRQ left uninitiailized.

What should we do? I guess "do nothing and wait until we see a bug
report from an actual user" is a valid response...
--
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/