* [PATCH] trivial patch for 2.4.20-pre1 8139too.c driver
@ 2002-08-06 0:31 Nathaniel Russell
0 siblings, 0 replies; 2+ messages in thread
From: Nathaniel Russell @ 2002-08-06 0:31 UTC (permalink / raw)
To: reddog83; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
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
[-- Attachment #2: diff --]
[-- Type: text/x-diff, Size: 1201 bytes --]
diff -urN linux-2.4/drivers/net/8139too.c.tmp linux/drivers/net/8139too.c
--- linux-2.4/drivers/net/8139too.c.tmp Mon Aug 5 18:06:03 2002
+++ linux/drivers/net/8139.c Tue Aug 6 00:09:20 2002
@@ -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 },
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH] trivial patch for 2.4.20-pre1 8139too.c driver
@ 2002-08-06 0:18 Nathaniel Russell
0 siblings, 0 replies; 2+ messages in thread
From: Nathaniel Russell @ 2002-08-06 0:18 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 148 bytes --]
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
[-- Attachment #2: diff --]
[-- Type: text/x-diff, Size: 1201 bytes --]
diff -urN linux-2.4/drivers/net/8139too.c.tmp linux/drivers/net/8139too.c
--- linux-2.4/drivers/net/8139too.c.tmp Mon Aug 5 18:06:03 2002
+++ linux/drivers/net/8139.c Tue Aug 6 00:09:20 2002
@@ -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 },
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-06 4:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06 0:31 [PATCH] trivial patch for 2.4.20-pre1 8139too.c driver Nathaniel Russell
-- strict thread matches above, loose matches on Subject: below --
2002-08-06 0:18 Nathaniel Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®