Netdev List
 help / color / mirror / Atom feed
* [PATCH, net-next] r8169: Remove unfounded interrupts
@ 2015-08-23 16:18 Corcodel Marian
  2015-08-23 16:44 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Corcodel Marian @ 2015-08-23 16:18 UTC (permalink / raw)
  To: netdev; +Cc: Corcodel Marian

Remove unfounded interrupts which is not on RTL 8101 series.

Signed-off-by: Corcodel Marian <corcodel.marian@gmail.com>

diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 5fb79b1..5693e65 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -6614,15 +6614,15 @@ static void rtl_hw_start_8101(struct net_device *dev)
 
 	RTL_W8(Cfg9346, Cfg9346_Lock);
 
-	RTL_W16(IntrMitigate, 0x0000);
+	//RTL_W16(IntrMitigate, 0x0000);
 
 	//RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb);
 
 	rtl_set_rx_mode(dev);
 
-	RTL_R8(IntrMask);
+	//RTL_R8(IntrMask);
 
-	RTL_W16(MultiIntr, RTL_R16(MultiIntr) & 0xf000);
+	//RTL_W16(MultiIntr, RTL_R16(MultiIntr) & 0xf000);
 }
 
 static int rtl8169_change_mtu(struct net_device *dev, int new_mtu)
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-23 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-23 16:18 [PATCH, net-next] r8169: Remove unfounded interrupts Corcodel Marian
2015-08-23 16:44 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox