Messages in this thread Patch in this message | | | Date | Fri, 17 Jan 2003 15:53:58 +0100 | From | Florian Lohoff <> | Subject | eepro100 - 802.1q - mtu size |
| |
Hi, it seems the current (2.4.20) eepro100 driver is not capable of doing 802.1q as the max received packet size seems to be to low - Receiving packets with more that 1514 bytes get dropped. The vlan page lists a patch against a 2.2 kernel which is still valid for 2.4.20 and even works.
Why is this patch not integerated yet ?
Rediffed:
--- linux-2.4.20/drivers/net/eepro100.c Fri Nov 29 00:53:13 2002 +++ linux-2.4.20.flo/drivers/net/eepro100.c Fri Jan 17 15:30:52 2003 @@ -502,12 +502,12 @@ static const char i82557_config_cmd[CONFIG_DATA_SIZE] = { 22, 0x08, 0, 0, 0, 0, 0x32, 0x03, 1, /* 1=Use MII 0=Use AUI */ 0, 0x2E, 0, 0x60, 0, - 0xf2, 0x48, 0, 0x40, 0xf2, 0x80, /* 0x40=Force full-duplex */ + 0xf2, 0x48, 0, 0x40, 0xfa, 0x80, /* 0x40=Force full-duplex */ 0x3f, 0x05, }; static const char i82558_config_cmd[CONFIG_DATA_SIZE] = { 22, 0x08, 0, 1, 0, 0, 0x22, 0x03, 1, /* 1=Use MII 0=Use AUI */ 0, 0x2E, 0, 0x60, 0x08, 0x88, - 0x68, 0, 0x40, 0xf2, 0x84, /* Disable FC */ + 0x68, 0, 0x40, 0xfa, 0x84, /* Disable FC */ 0x31, 0x05, }; /* PHY media interface chips. */
I tried on this chip:
02:08.0 Ethernet controller: Intel Corp. 82820 (ICH2) Chipset Ethernet Controller (rev 03) Subsystem: Intel Corp.: Unknown device 3013 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 66 (2000ns min, 14000ns max), cache line size 08 Interrupt: pin A routed to IRQ 9 Region 0: Memory at f4900000 (32-bit, non-prefetchable) [size=4K] Region 1: I/O ports at 3000 [size=64] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- Flo -- Florian Lohoff flo@rfc822.org +49-5201-669912 Heisenberg may have been here. [unhandled content-type:application/pgp-signature]
| |