struct e1000_adapter *adapter = netdev->priv;
struct e1000_adapter *adapter = netdev_priv(netdev);
e1000_vlan_rx_add_vid(struct net_device *netdev, uint16_t vid){	struct e1000_adapter *adapter = netdev->priv;	uint32_t vfta, index;	if((adapter->hw.mng_cookie.status &		E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT) &&		(vid == adapter->mng_vlan_id))		return;	/* add VID to filter table */	index = (vid >> 5) & 0x7F;	vfta = E1000_READ_REG_ARRAY(&adapter->hw, VFTA, index);	vfta |= (1 << (vid & 0x1F));	e1000_write_vfta(&adapter->hw, index, vfta);}