/* This routine goes all-out, setting everything up anew at each open, even though many of these registers should only need to be set once at boot.  */
static int ax_open(struct net_device *dev)
/* This routine goes all-out, setting everything up anew at each open, even though many of these registers should only need to be set once at boot.  */
static int ax_open(struct net_device *dev)
{
	unsigned long flags;
	struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);
      	spin_lock_irqsave(&ei_local->page_lock, flags);
	AX88190_init(dev, 1);
	netif_start_queue(dev);
      	spin_unlock_irqrestore(&ei_local->page_lock, flags);
	ei_local->irqlock = 0;
	return 0;
}