/* Shuts down the internal operations of the velocity and disables interrupts, autopolling, transmit and receive  */
static void velocity_shutdown(struct velocity_info *vptr)
/* Shuts down the internal operations of the velocity and disables interrupts, autopolling, transmit and receive  */
static void velocity_shutdown(struct velocity_info *vptr)
{
	struct mac_regs __iomem *regs = vptr->mac_regs;
	mac_disable_int(regs);
	writel(CR0_STOP, &regs->CR0Set);
	writew(0xFFFF, &regs->TDCSRClr);
	writeb(0xFF, &regs->RDCSRClr);
	safe_disable_mii_autopoll(regs);
	mac_clear_isr(regs);
}