/* When a user pulls a connection, the DECchip can end up in a 'running - waiting for end of transmission' state. This means that we have to perform a chip soft reset to ensure that we can synchronize the hardware and software and make any media probes using a loopback packet meaningful.  */
static void de4x5_save_skbs(struct net_device *dev)
/* When a user pulls a connection, the DECchip can end up in a 'running - waiting for end of transmission' state. This means that we have to perform a chip soft reset to ensure that we can synchronize the hardware and software and make any media probes using a loopback packet meaningful.  */
static void de4x5_save_skbs(struct net_device *dev)
{
    struct de4x5_private *lp = netdev_priv(dev);
    u_long iobase = dev->base_addr;
    s32 omr;
    if (!lp->cache.save_cnt) {
	STOP_DE4X5;
	de4x5_tx(dev);
	de4x5_free_tx_buffs(dev);
	de4x5_cache_state(dev, DE4X5_SAVE_STATE);
	de4x5_sw_reset(dev);
	de4x5_cache_state(dev, DE4X5_RESTORE_STATE);
	lp->cache.save_cnt++;
	START_DE4X5;
    }
    return;
}