Re: [PATCH 01/10] atl1c: add workaround for issue of bit INTX-disable for MSI interrupt
From: Luis R. Rodriguez <hidden>
Date: 2012-04-28 17:22:27
Also in:
lkml
From: Luis R. Rodriguez <hidden>
Date: 2012-04-28 17:22:27
Also in:
lkml
On Sat, Apr 28, 2012 at 2:53 AM, Huang, Xiong [off-list ref] 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; +#endifIt 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