Subject: Re: [PATCH] 8139cp: set intr mask after its handler is registered

From: Flavio Leitner <[email-masked]>
Date: Thu, 12 Apr 2012 10:45:29 -0300

On Thu, 12 Apr 2012 16:10:54 +0800
Jason Wang <[email-masked]> wrote:

> We set intr mask before its handler is registered, this does not work well when
> 8139cp is sharing irq line with other devices. As the irq could be enabled by
> the device before 8139cp's hander is registered which may lead unhandled
> irq. Fix this by introducing an helper cp_irq_enable() and call it after
> request_irq().
> 
> Signed-off-by: Jason Wang <[email-masked]>

Reviewed-by: Flavio Leitner <[email-masked]>

fbl