eepro100.c with patch suitable for vlan?

Christian Hammers <[email protected]> Wed, 4 Jun 2003 10:35:54 +0200
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <[email protected]>
Hello

I tried kernel 2.4.20 with VLAN but was unable to send 1500byte packets
probably due to mtu problems.

I found the following patch. It's from 2000 so I wondered if it is
discouraged to use it because it seems not to be incorporated yet.

Do I have another chance of using vlan other than using the e100.c
driver (or lowering the mtu). The e100 cannot restart autoneg or reset
the NIC with ethtool/mii-tool as far as I have tested.

bye,

-christian-

http://www.candelatech.com/~greear/vlan/cisco_howto.html
        --- eepro100.c.ORIG     Tue Jan 11 10:07:41 2000
        +++ eepro100.c  Tue Jan 11 10:11:27 2000
        @@ -515,7 +515,7 @@
         const char i82558_config_cmd[22] = {
                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, 0xBD,              /* 0xBD->0xFD=Force full-duplex */
        +       0x68, 0, 0x40, 0xfa, 0xBD,              /* 0xBD->0xFD=Force full-duplex */
                0x31, 0x05, };

-- 
Christian Hammers             WESTEND GmbH  |  Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized Reseller
                              Lütticher Straße 10      Tel 0241/701333-11
[email protected]                D-52064 Aachen              Fax 0241/911879