/* eth_disable - Disable the interface */
/*********************************************************************/
static void davicom_disable ( struct nic *nic, struct pci_device *pci __unused ) {
- nic_disable ( nic );
+
whereami("davicom_disable\n");
davicom_reset(nic);
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"));
}
static void
natsemi_disable ( struct nic *nic, struct pci_device *pci __unused ) {
- nic_disable ( nic );
- /* merge reset and disable */
+
natsemi_init(nic);
/* Disable interrupts using the mask. */
static void
sis900_disable ( struct nic *nic, struct pci_device *pci __unused ) {
- nic_disable ( nic );
- /* merge reset and disable */
+
sis900_init(nic);
/* Disable interrupts by clearing the interrupt mask. */
}
static void smc9000_disable ( struct nic *nic, struct isa_device *isa __unused ) {
- nic_disable ( nic );
+
smc_reset(nic->ioaddr);
/* no more interrupts for me */
/* eth_disable - Disable the interface */
/*********************************************************************/
static void tulip_disable ( struct nic *nic, struct pci_device *pci __unused ) {
-nic_disable ( nic );
+
#ifdef TULIP_DEBUG_WHERE
whereami("tulip_disable\n");
#endif
static void
rhine_disable ( struct nic *nic, struct pci_device *pci __unused ) {
- nic_disable ( nic );
+
struct rhine_private *tp = (struct rhine_private *) nic->priv_data;
int ioaddr = tp->ioaddr;
w89c840_disable - Turn off ethernet interface
***************************************************************************/
static void w89c840_disable ( struct nic *nic, struct pci_device *pci __unused ) {
- nic_disable ( nic );
+
/* merge reset and disable */
w89c840_reset(nic);