Thread (19 messages) 19 messages, 4 authors, 2012-05-01

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

On Sat, Apr 28, 2012 at 2:53 AM, Huang, Xiong [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help