Subject: Re: Netgear FA311 card => arp_rtrequest: bad gateway value
To: Hal Murray <murray@pa.dec.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 02/05/2001 18:50:18
On Mon, Feb 05, 2001 at 09:29:31AM -0800, Jason R Thorpe wrote:

 >  > Here is from the GENERIC kernel as installed:
 >  > 
 >  > sip0: flags=fbff<UP,BROADCAST,DEBUG,LOOPBACK,POINTOPOINT,NOTRAILERS,RUNNING,NOARP,PROMISC,ALLMULTI,SIMPLEX,LINK0,LINK1,LINK2,MULTICAST> mtu 1500
 > 

D'oh, try this patch.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>

Index: if_sip.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/if_sip.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -c -r1.23 -r1.24
*** if_sip.c	2000/12/28 22:59:13	1.23
--- if_sip.c	2001/02/06 02:49:12	1.24
***************
*** 1,4 ****
! /*	$NetBSD: if_sip.c,v 1.23 2000/12/28 22:59:13 sommerfeld Exp $	*/
  
  /*-
   * Copyright (c) 1999 Network Computer, Inc.
--- 1,4 ----
! /*	$NetBSD: if_sip.c,v 1.24 2001/02/06 02:49:12 thorpej Exp $	*/
  
  /*-
   * Copyright (c) 1999 Network Computer, Inc.
***************
*** 1890,1896 ****
  		ETHER_NEXT_MULTI(step, enm);
  	}
  
! 	ifp->if_flags |= ~IFF_ALLMULTI;
  	sc->sc_rfcr |= RFCR_MHEN;
  	goto setit;
  
--- 1890,1896 ----
  		ETHER_NEXT_MULTI(step, enm);
  	}
  
! 	ifp->if_flags &= ~IFF_ALLMULTI;
  	sc->sc_rfcr |= RFCR_MHEN;
  	goto setit;