As of 2.4.32 (don't know about 2.6.x), natsemi still needs to be patched....I just "fixed" it a few weeks ago for a PC Engines WRAP board....VLANs work great now! Oh, note that I changed PKT_BUF_SZ = 1540, not 2064. With PKT_BUF_SZ = 2064 the driver didn't work and generated tons to error messages. (http://www.candelatech.com/~greear/vlan/howto.html#natsemi) But, isn't 1536 big enough, anyhow? I also changed line 1510 to be add 4 bytes additional overhead if the mtu is set larger than 1500 bytes: np->rx_buf_sz = (dev->mtu <= 1500 ? PKT_BUF_SZ : dev->mtu + 32 + 4); -David On Sat, 17 Jun 2006, Peter Stuge wrote: > 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: > _______________________________________________ > Vlan mailing list > Vlan@xxxxxxxxxxxxxxx > http://www.candelatech.com/mailman/listinfo/vlan >