[PATCH] mv643xx_eth: fix NETPOLL build
DORMANTno replies
From: Lennert Buytenhek <hidden>
Date: 2008-07-06 22:03:06
From: Lennert Buytenhek <hidden>
Date: 2008-07-06 22:03:06
Joseph Fannin [off-list ref] and Takashi Iwai [off-list ref]
noticed that commit 073a345c04b01da0cc5b79ac7be0c7c8b1691ef5
("mv643xx_eth: clarify irq masking and unmasking") broke the
mv643xx_eth build when NETPOLL is enabled, due to it not renaming
one instance of INT_CAUSE_EXT in mv643xx_eth_netpoll(). This patch
takes care of that instance as well.
Signed-off-by: Lennert Buytenhek <redacted>
Cc: Dale Farnsworth <redacted>
Cc: Joseph Fannin <redacted>
Cc: Takashi Iwai <redacted>
Index: linux-2.6.26-rc8/drivers/net/mv643xx_eth.c
===================================================================--- linux-2.6.26-rc8.orig/drivers/net/mv643xx_eth.c
+++ linux-2.6.26-rc8/drivers/net/mv643xx_eth.c@@ -2120,7 +2120,7 @@ static void mv643xx_eth_netpoll(struct n mv643xx_eth_irq(dev->irq, dev); - wrl(mp, INT_MASK(mp->port_num), INT_TX_END | INT_RX | INT_CAUSE_EXT); + wrl(mp, INT_MASK(mp->port_num), INT_TX_END | INT_RX | INT_EXT); } #endif --