diff options
| author | Marty Connor | 2006-09-14 16:51:38 +0200 |
|---|---|---|
| committer | Marty Connor | 2006-09-14 16:51:38 +0200 |
| commit | 35f90278a8ed0cccc653f3bb474d763a26ec0a74 (patch) | |
| tree | 6e5537b61a86948a695c4d935e9130b1395756f2 /src/drivers/net/mtd80x.c | |
| parent | Remove printf of MAC address in driver. (diff) | |
| download | ipxe-35f90278a8ed0cccc653f3bb474d763a26ec0a74.tar.gz ipxe-35f90278a8ed0cccc653f3bb474d763a26ec0a74.tar.xz ipxe-35f90278a8ed0cccc653f3bb474d763a26ec0a74.zip | |
Remove nic_disable call from drivers. Call should be made at a higher level
Diffstat (limited to 'src/drivers/net/mtd80x.c')
| -rw-r--r-- | src/drivers/net/mtd80x.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/net/mtd80x.c b/src/drivers/net/mtd80x.c index 925da9bf..c3696534 100644 --- a/src/drivers/net/mtd80x.c +++ b/src/drivers/net/mtd80x.c @@ -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")); } |
