diff mbox

alx: add a simple AR816x/AR817x device driver

Message ID 20130616184220.GA5469@sig21.net
State RFC, archived
Delegated to: David Miller
Headers show

Commit Message

Johannes Stezenbach June 16, 2013, 6:42 p.m. UTC
On Sun, Jun 16, 2013 at 07:48:34PM +0200, Johannes Stezenbach wrote:
> 
> The last version which worked was in compat-wireless-3.6.8-1-snpc.tar.bz2
> from http://wireless.kernel.org/en/users/Download/stable#compat-wireless_3.6_stable_releases
> which I had compiled for linux-3.7.6.

I got it working with this change:


The compat-wireless-3.6.8-1-snpc driver applied this
flag for AR8161 and AR8162 if I got it correctly.


Thanks
Johannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- ./drivers/net/ethernet/atheros/alx/main.c.orig	2013-06-16 11:13:30.763491166 +0200
+++ ./drivers/net/ethernet/atheros/alx/main.c	2013-06-16 20:34:24.351045235 +0200
@@ -722,6 +722,7 @@  static int alx_init_sw(struct alx_priv *
 		      ALX_MAC_CTRL_TXFC_EN |
 		      7 << ALX_MAC_CTRL_PRMBLEN_SHIFT;
 
+	pdev->dev_flags |= PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG;
 	return err;
 }