struct e1000_adapter *adapter = netdev->priv; 
struct e1000_adapter *adapter = netdev_priv(netdev); 
e1000_open(struct net_device *netdev){	struct e1000_adapter *adapter = netdev->priv;	int err;	/* allocate transmit descriptors */	if((err = e1000_setup_tx_resources(adapter)))		goto err_setup_tx;	/* allocate receive descriptors */	if((err = e1000_setup_rx_resources(adapter)))		goto err_setup_rx;	if((err = e1000_up(adapter)))		goto err_up;	adapter->mng_vlan_id = E1000_MNG_VLAN_NONE;	if((adapter->hw.mng_cookie.status &			  E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT)) {		e1000_update_mng_vlan(adapter);	}	return E1000_SUCCESS;err_up:	e1000_free_rx_resources(adapter);err_setup_rx:	e1000_free_tx_resources(adapter);err_setup_tx:	e1000_reset(adapter);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/60490fe030f3969a8706d94c7cf8469be6330678/e1000_main.c/clean/drivers/net/e1000/e1000_main.c