[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAB=NE6VhF=nj8-n_QY339VOzQUEPZsSzsOd7Q2TwgyUywzdjNA@mail.gmail.com>
Date: Sat, 28 Apr 2012 10:21:40 -0700
From: "Luis R. Rodriguez" <rodrigue@....qualcomm.com>
To: "Huang, Xiong" <xiong@....qualcomm.com>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
qca-linux-team <qca-linux-team@...lcomm.com>,
nic-devel <nic-devel@...lcomm.com>
Subject: Re: [PATCH 01/10] atl1c: add workaround for issue of bit INTX-disable
for MSI interrupt
On Sat, Apr 28, 2012 at 2:53 AM, Huang, Xiong <xiong@....qualcomm.com> wrote:
> Thanks Luis, just one question:
>
> I don't know which kernel version contains the updated pci/quirks.c, so,
> if I write the patch file (a 58-drivers-pci-quirks.patch) as:
>
> --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
> +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
>
> +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22))
> + pdev->dev_flags |= PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG;
> +#endif
>
>
> It seems not good for the kernel with updated pci/quirks.c
>
> Any better suggestion ? thanks
That looks good for the backport, you would just ifdef around <
KERNEL_VERSION(3,5,0)
Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists