Messages in this thread Patch in this message | | | From | Nathaniel Russell <> | Subject | [PATCH] trivial patch for 2.4.20-pre1 8139too.c driver | Date | Tue, 6 Aug 2002 00:31:58 +0000 |
| |
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 codediff -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 }, | |