Update of /cvsroot/leaf/src/bering-uclibc/apps/linux/patches
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv7745

Modified Files:
        vlan-natsemi.patch 
Log Message:
update natsemi vlan patch

Index: vlan-natsemi.patch
===================================================================
RCS file: 
/cvsroot/leaf/src/bering-uclibc/apps/linux/patches/vlan-natsemi.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** vlan-natsemi.patch  17 Sep 2006 14:30:16 -0000      1.1
--- vlan-natsemi.patch  24 Sep 2006 13:23:50 -0000      1.2
***************
*** 1,14 ****
! --- linux.orig/drivers/net/natsemi.c  2002-12-30 21:38:04.000000000 +0100
! +++ linux/drivers/net/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
--- 1,13 ----
! --- linux-2.4.33/drivers/net/natsemi.c.orig   2006-09-23 16:37:43.587021956 
+0200
! +++ linux-2.4.33/drivers/net/natsemi.c        2006-09-23 15:54:10.954653194 
+0200
! @@ -165,6 +165,7 @@
!  #include <linux/rtnetlink.h>
!  #include <linux/mii.h>
!  #include <linux/crc32.h>
! +#include <linux/if_vlan.h>
!  #include <asm/processor.h>   /* Processor type for cache alignment. */
!  #include <asm/bitops.h>
!  #include <asm/io.h>
! @@ -1294,7 +1295,7 @@
        /* DRTH 0x10: start copying to memory if 128 bytes are in the fifo
         * MXDMA 0: up to 256 byte bursts
***************
*** 19,21 ****
   
        /* Disable PME:
! 
--- 18,28 ----
   
        /* Disable PME:
! @@ -1506,7 +1507,7 @@
!       /* 2) RX ring */
!       np->dirty_rx = 0;
!       np->cur_rx = RX_RING_SIZE;
! -     np->rx_buf_sz = (dev->mtu <= 1500 ? PKT_BUF_SZ : dev->mtu + 32);
! +     np->rx_buf_sz = (dev->mtu <= 1500 ? PKT_BUF_SZ + VLAN_HLEN : dev->mtu + 
32 + VLAN_HLEN);
!       np->oom = 0;
!       np->rx_head_desc = &np->rx_ring[0];
!  


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to