[VLAN] Vlan linux problem

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

 



On Fri, Jun 16, 2006 at 03:01:47PM -0300, Fabio Silva wrote:
> hi, i use netgear with natsemi modules, and a broadcom  netExtreme
> gigabit with tg3 module...
> 
> its nics are not compatible with vlans on linux ?

They can be.

I don't know about tg3 but at least natsemi used to need a patch.
Don't know if the following still applies. (Pasted from the FAQ.)

//Peter


--- natsemi.c.orig	2002-12-30 21:38:04.000000000 +0100
+++ natsemi.c	2002-12-30 22:25:19.000000000 +0100
@@ -233,7 +233,7 @@
 #define NATSEMI_REGS_SIZE	(NATSEMI_NREGS * sizeof(u32))
 #define NATSEMI_EEPROM_SIZE	24 /* 12 16-bit values */
 
-#define PKT_BUF_SZ		1536 /* Size of each temporary Rx buffer. */
+#define PKT_BUF_SZ		2064 /* Size of each temporary Rx buffer. */
 
 /* These identify the driver base version and may not be removed. */
 static char version[] __devinitdata =
@@ -1290,7 +1290,7 @@
 	/* DRTH 0x10: start copying to memory if 128 bytes are in the fifo
 	 * MXDMA 0: up to 256 byte bursts
 	 */
-	np->rx_config = RxMxdma_256 | 0x20;
+	np->rx_config = RxAcceptLong | RxMxdma_256 | 0x20;
 	writel(np->rx_config, ioaddr + RxConfig);
 
 	/* Disable PME:

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux