Do a CARDBUS_BM_ENABLE to be sure.

This commit is contained in:
mycroft 2000-03-07 00:32:52 +00:00
parent de8398315a
commit 8b13d21260
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ex_cardbus.c,v 1.12 2000/03/01 20:50:37 thorpej Exp $ */
/* $NetBSD: if_ex_cardbus.c,v 1.13 2000/03/07 00:32:52 mycroft Exp $ */
/*
* CardBus specific routines for 3Com 3C575-family CardBus ethernet adapter
@ -258,6 +258,7 @@ ex_cardbus_attach(parent, self, aux)
sc->intr_ack = ex_cardbus_intr_ack;
}
(ct->ct_cf->cardbus_ctrl)(cc, CARDBUS_BM_ENABLE);
cardbus_conf_write(cc, cf, ca->ca_tag, CARDBUS_COMMAND_STATUS_REG,
command);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_fxp_cardbus.c,v 1.7 2000/02/12 04:05:50 enami Exp $ */
/* $NetBSD: if_fxp_cardbus.c,v 1.8 2000/03/07 00:32:52 mycroft Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -210,6 +210,7 @@ fxp_cardbus_setup(struct fxp_softc *sc)
(cf->cardbus_ctrl)(cc, CARDBUS_IO_ENABLE);
command |= (CARDBUS_COMMAND_IO_ENABLE | CARDBUS_COMMAND_MASTER_ENABLE);
}
(cf->cardbus_ctrl)(cc, CARDBUS_BM_ENABLE);
/* enable the card */
Cardbus_conf_write(csc->ct, tag, CARDBUS_COMMAND_STATUS_REG, command);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ohci_cardbus.c,v 1.4 2000/03/01 20:50:37 thorpej Exp $ */
/* $NetBSD: ohci_cardbus.c,v 1.5 2000/03/07 00:32:52 mycroft Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -149,6 +149,7 @@ ohci_cardbus_attach(parent, self, aux)
XXX (ct->ct_cf->cardbus_mem_open)(cc, 0, iob, iob + 0x40);
#endif
(ct->ct_cf->cardbus_ctrl)(cc, CARDBUS_MEM_ENABLE);
(ct->ct_cf->cardbus_ctrl)(cc, CARDBUS_BM_ENABLE);
/* Enable the device. */
csr = cardbus_conf_read(cc, cf, ca->ca_tag,