 if (dev->flags & IFF_PROMISC) { 
 if (dev->flags & IFF_PROMISC) { 
static void sbmac_set_rx_mode(struct net_device *dev){	unsigned long flags;	int msg_flag = 0;	struct sbmac_softc *sc = netdev_priv(dev);	spin_lock_irqsave(&sc->sbm_lock, flags);	if ((dev->flags ^ sc->sbm_devflags) & IFF_PROMISC) {		/*		 * Promiscuous changed.		 */				if (dev->flags & IFF_PROMISC) {				/* Unconditionally log net taps. */			msg_flag = 1;			sbmac_promiscuous_mode(sc,1);		}		else {			msg_flag = 2;			sbmac_promiscuous_mode(sc,0);		}	}	spin_unlock_irqrestore(&sc->sbm_lock, flags);		if (msg_flag) {		printk(KERN_NOTICE "%s: Promiscuous mode %sabled.\n",		       dev->name,(msg_flag==1)?"en":"dis");	}		/*	 * Program the multicasts.  Do this every time.	 */		sbmac_setmulti(sc);	}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/74b0247fbd4b6ed1693a420d85cf50267d840ef4/sb1250-mac.c/buggy/drivers/net/sb1250-mac.c