summaryrefslogtreecommitdiff
path: root/patches/unified-drivers/network/0005-alx-intx-msi-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/unified-drivers/network/0005-alx-intx-msi-workaround.patch')
-rw-r--r--patches/unified-drivers/network/0005-alx-intx-msi-workaround.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/patches/unified-drivers/network/0005-alx-intx-msi-workaround.patch b/patches/unified-drivers/network/0005-alx-intx-msi-workaround.patch
deleted file mode 100644
index e982c35e..00000000
--- a/patches/unified-drivers/network/0005-alx-intx-msi-workaround.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-For new kernels this is dealt with in drivers/pci/quirks.c
-Since older kernels will not have this we add a hack to the
-driver to deal with the PCI quirk.
-
---- a/drivers/net/ethernet/atheros/alx/alx_main.c
-+++ b/drivers/net/ethernet/atheros/alx/alx_main.c
-@@ -1032,6 +1032,9 @@ static int alx_identify_hw(struct alx_ad
- if (rev < ALX_REV_C0) {
- hw->ptrn_ofs = 0x600;
- hw->max_ptrns = 8;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+ pdev->dev_flags |= PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG;
-+#endif
- } else {
- hw->ptrn_ofs = 0x14000;
- hw->max_ptrns = 16;