/* Called before an ethtool operation. We need to make sure the chip is out of D3 state before we poke at it.  */
static int velocity_ethtool_up(struct net_device *dev)
/* Called before an ethtool operation. We need to make sure the chip is out of D3 state before we poke at it.  */
static int velocity_ethtool_up(struct net_device *dev)
{
	struct velocity_info *vptr = netdev_priv(dev);
	if (!netif_running(dev))
		pci_set_power_state(vptr->pdev, PCI_D0);
	return 0;
}