patch: au1000 eth vlan support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgp6BpZ6bfzG3.pgp
Description: PGP signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux