/* Opposite of ei_open(). Only used when "ifconfig <devname> down" is done.  */
static int __ei_close(struct net_device *dev)
/* Opposite of ei_open(). Only used when "ifconfig <devname> down" is done.  */
static int __ei_close(struct net_device *dev)
{
	struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);
	unsigned long flags;
      	spin_lock_irqsave(&ei_local->page_lock, flags);
	__NS8390_init(dev, 0);
      	spin_unlock_irqrestore(&ei_local->page_lock, flags);
	netif_stop_queue(dev);
	return 0;
}