Remove nic_disable call from drivers. Call should be made at a higher level

This commit is contained in:
Marty Connor
2006-09-14 14:51:38 +00:00
parent 1ed6e69ea5
commit 35f90278a8
8 changed files with 10 additions and 11 deletions

View File

@@ -636,12 +636,13 @@ static void mtd_transmit(
DISABLE - Turn off ethernet interface
***************************************************************************/
static void mtd_disable ( struct nic *nic, struct pci_device *pci __unused ) {
nic_disable ( nic );
/* put the card in its initial state */
/* Disable Tx Rx*/
outl( mtdx.crvalue & (~TxEnable) & (~RxEnable), mtdx.ioaddr + TCRRCR);
/* Reset the chip to erase previous misconfiguration. */
mtd_reset(nic);
DBG(("DISABLE\n"));
}