linux-mips
[Top] [All Lists]

patch: au1000_eth vlan

To: Pete Popov <ppopov@mvista.com>
Subject: patch: au1000_eth vlan
From: Bruno Randolf <bruno.randolf@4g-systems.biz>
Date: Thu, 25 Mar 2004 13:42:18 +0100
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.6.1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello pete!

please consider adding the following patch to support 802.1Q VLAN tagged 
ethernet frames in the au1000_eth driver.

thanks,
bruno


diff -Nurb linux-2.4.24-isl/drivers/net/au1000_eth.c 
linux/drivers/net/au1000_eth.c
- --- linux-2.4.24-isl/drivers/net/au1000_eth.c   2004-03-14 20:01:45.000000000 
+0100
+++ linux/drivers/net/au1000_eth.c      2004-03-25 12:36:27.290599896 +0100
@@ -1384,6 +1384,7 @@
                control |= MAC_FULL_DUPLEX;
        }
        aup->mac->control = control;
+       aup->mac->vlan1_tag = 0x8100; /* vlan */
        au_sync();

        spin_unlock_irqrestore(&aup->lock, flags);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAYtOqfg2jtUL97G4RAj3dAJ0XraGIkpZGXBUONKzXrDs/HVYwzwCgglyC
CPsIhh1Wjo+F1WPyOu9AbxY=
=93l6
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>
  • patch: au1000_eth vlan, Bruno Randolf <=