[BUG] [RFC PATCH 07/19] pcmcia: re-work pcmcia_request_irq()
Komuro
komurojun-mbn at nifty.com
Sat Apr 3 05:19:09 EDT 2010
Hi,
>do you mean this?
>
>
>diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c
>index bb927ed..63d09df 100644
>--- a/drivers/pcmcia/pcmcia_resource.c
>+++ b/drivers/pcmcia/pcmcia_resource.c
>@@ -452,7 +452,8 @@ int pcmcia_request_configuration(struct pcmcia_device *p_dev,
> if (req->Present & PRESENT_IOBASE_0)
> c->Option |= COR_ADDR_DECODE;
> }
>- if (req->Attributes & CONF_ENABLE_PULSE_IRQ)
>+ if ((req->Attributes & CONF_ENABLE_IRQ) &&
>+ !(req->Attributes & CONF_ENABLE_PULSE_IRQ))
> c->Option |= COR_LEVEL_REQ;
> pcmcia_write_cis_mem(s, 1, (base + CISREG_COR)>>1, 1, &c->Option);
> mdelay(40);
OK. works.
More information about the linux-pcmcia
mailing list