linux-mips
[Top] [All Lists]

patch: au1000 eth vlan support

To: linux-mips@linux-mips.org
Subject: patch: au1000 eth vlan support
From: Bruno Randolf <bruno.randolf@4g-systems.biz>
Date: Tue, 23 Nov 2004 16:10:31 +0100
Organization: 4G Systems
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.7.1
hello!

i think i've sent in the following patch already, but it, or something 
similar, is not yet in the CVS. the following line adds 802.1Q VLAN support 
to the au1000 eth driver. without it vlans frames (which are 4 bytes bigger 
than normal ones) are tuncated.

thanks,
bruno

--- linux/drivers/net/au1000_eth.c.orig 2004-11-18 13:44:52.163605416 +0100
+++ linux/drivers/net/au1000_eth.c 2004-11-18 13:51:42.096286176 +0100
@@ -1389,6 +1389,7 @@
   control |= MAC_FULL_DUPLEX;
  }
  aup->mac->control = control;
+ aup->mac->vlan1_tag = 0x8100; /* activate vlan support */
  au_sync();
 
  spin_unlock_irqrestore(&aup->lock, flags);

Attachment: pgpitQzuHOlq4.pgp
Description: PGP signature

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