e1000_alloc_rx_buffers(adapter);
adapter->alloc_rx_buf(adapter);
e1000_up(struct e1000_adapter *adapter){	struct net_device *netdev = adapter->netdev;	int err;	/* hardware has been reset, we need to reload some things */	/* Reset the PHY if it was previously powered down */	if(adapter->hw.media_type == e1000_media_type_copper) {		uint16_t mii_reg;		e1000_read_phy_reg(&adapter->hw, PHY_CTRL, &mii_reg);		if(mii_reg & MII_CR_POWER_DOWN)			e1000_phy_reset(&adapter->hw);	}	e1000_set_multi(netdev);	e1000_restore_vlan(adapter);	e1000_configure_tx(adapter);	e1000_setup_rctl(adapter);	e1000_configure_rx(adapter);	e1000_alloc_rx_buffers(adapter);#ifdef CONFIG_PCI_MSI	if(adapter->hw.mac_type > e1000_82547_rev_2) {		adapter->have_msi = TRUE;		if((err = pci_enable_msi(adapter->pdev))) {			DPRINTK(PROBE, ERR,			 "Unable to allocate MSI interrupt Error: %d\n", err);			adapter->have_msi = FALSE;		}	}#endif	if((err = request_irq(adapter->pdev->irq, &e1000_intr,		              SA_SHIRQ | SA_SAMPLE_RANDOM,		              netdev->name, netdev)))		return err;	mod_timer(&adapter->watchdog_timer, jiffies);#ifdef CONFIG_E1000_NAPI	netif_poll_enable(netdev);#endif	e1000_irq_enable(adapter);	return 0;}