[vortex] 3c905C: Packet losses (a more precise description)
    Andrew Morton 
    andrewm@uow.edu.au
    Thu, 06 Jul 2000 02:09:48 +1000
    
    
  
arghh...
Andrew Morton wrote:
> 
> 
> Untested patch:
> 
> Index: 3c59x.c
> ===================================================================
> RCS file: /opt/cvs/lk2.2/drivers/net/3c59x.c,v
> retrieving revision 1.2.2.9
> diff -u -r1.2.2.9 3c59x.c
> --- 3c59x.c     2000/06/25 11:09:01     1.2.2.9
> +++ 3c59x.c     2000/07/05 13:52:25
> @@ -1111,7 +1111,7 @@
> 
>         /* Set the full-duplex bit. */
>         outb(((vp->info1 & 0x8000) || vp->full_duplex ? 0x20 : 0) |
          ^^^^ Make this an outw
> -                (dev->mtu > 1500 ? 0x40 : 0), ioaddr + Wn3_MAC_Ctrl);
> +                (dev->mtu > 1500 ? 0x40 : 0) | 0x100, ioaddr + Wn3_MAC_Ctrl);
> 
>         if (vortex_debug > 1) {
>                 printk(KERN_DEBUG "%s: vortex_open() InternalConfig %8.8x.\n",
> @@ -1313,7 +1313,7 @@
>                                           /* Set the full-duplex bit. */
>                                           EL3WINDOW(3);   /* AKPM */
>                                           outb((vp->full_duplex ? 0x20 : 0) |
                                            ^^^^ And this
> -                                                  (dev->mtu > 1500 ? 0x40 : 0),
> +                                                  (dev->mtu > 1500 ? 0x40 : 0) | 0x100,