This removed some old parts remaining from the old alx driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
+++ /dev/null
-#
-# To use this, use the --extra-driver argument to gentree.py,
-# like this:
-# --extra-driver /path/to/alx/ copy-list.alx
-#
-# This probably needs to be changed to target/linux/src/
-# to support "make linux-src" in alx, but then the Makefile
-# is not good ...
-#
-src/ -> drivers/net/ethernet/atheros/alx/
+++ /dev/null
---- 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;