Skip to contentSkip to conversation

trivial patch for 2.4.20-pre1 8139too.c driver

PATCH New Nathaniel Russell 1 participant 1 message Aug 6, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial patch for 2.4.20-pre1 8139too.c driver

This patch removes unneeded code for the Realtek driver this patch does not harm the performance of the driver at all it just removes dead code

drivers/net/8139.c renamed from drivers/net/8139too.c.tmp +0 -3
diff -urN linux-2.4/drivers/net/8139too.c.tmp linux/drivers/net/8139too.c
@@ -211,7 +211,6 @@
 	RTL8139 = 0,
 	RTL8139_CB,
 	SMC1211TX,
-	/*MPX5030,*/
 	DELTA8139,
 	ADDTRON8139,
 	DFE538TX,
@@ -230,7 +229,6 @@
 	{ "RealTek RTL8139 Fast Ethernet", RTL8139_CAPS },
 	{ "RealTek RTL8139B PCI/CardBus", RTL8139_CAPS },
 	{ "SMC1211TX EZCard 10/100 (RealTek RTL8139)", RTL8139_CAPS },
-/*	{ MPX5030, "Accton MPX5030 (RealTek RTL8139)", RTL8139_CAPS },*/
 	{ "Delta Electronics 8139 10/100BaseTX", RTL8139_CAPS },
 	{ "Addtron Technolgy 8139 10/100BaseTX", RTL8139_CAPS },
 	{ "D-Link DFE-538TX (RealTek RTL8139)", RTL8139_CAPS },
@@ -245,7 +243,6 @@
 	{0x10ec, 0x8139, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139 },
 	{0x10ec, 0x8138, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139_CB },
 	{0x1113, 0x1211, PCI_ANY_ID, PCI_ANY_ID, 0, 0, SMC1211TX },
-/*	{0x1113, 0x1211, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MPX5030 },*/
 	{0x1500, 0x1360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DELTA8139 },
 	{0x4033, 0x1360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ADDTRON8139 },
 	{0x1186, 0x1300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DFE538TX },