struct ixgb_adapter *adapter = netdev->priv; 
struct ixgb_adapter *adapter = netdev_priv(netdev); 
ixgb_vlan_rx_register(struct net_device *netdev, struct vlan_group *grp){	struct ixgb_adapter *adapter = netdev->priv;	uint32_t ctrl, rctl;	ixgb_irq_disable(adapter);	adapter->vlgrp = grp;	if(grp) {		/* enable VLAN tag insert/strip */		ctrl = IXGB_READ_REG(&adapter->hw, CTRL0);		ctrl |= IXGB_CTRL0_VME;		IXGB_WRITE_REG(&adapter->hw, CTRL0, ctrl);		/* enable VLAN receive filtering */		rctl = IXGB_READ_REG(&adapter->hw, RCTL);		rctl |= IXGB_RCTL_VFE;		rctl &= ~IXGB_RCTL_CFIEN;		IXGB_WRITE_REG(&adapter->hw, RCTL, rctl);	} else {		/* disable VLAN tag insert/strip */		ctrl = IXGB_READ_REG(&adapter->hw, CTRL0);		ctrl &= ~IXGB_CTRL0_VME;		IXGB_WRITE_REG(&adapter->hw, CTRL0, ctrl);		/* disable VLAN filtering */		rctl = IXGB_READ_REG(&adapter->hw, RCTL);		rctl &= ~IXGB_RCTL_VFE;		IXGB_WRITE_REG(&adapter->hw, RCTL, rctl);	}	ixgb_irq_enable(adapter);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8908c6cd1d6889850148aeb50bb14301959adaa7/ixgb_main.c/buggy/drivers/net/ixgb/ixgb_main.c