[VLAN] Vlan linux problem
Peter Stuge
stuge-vlan at cdy.org
Fri Jun 16 18:17:29 PDT 2006
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:
More information about the Vlan
mailing list