summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-09-20 04:25:28 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-09-20 04:25:28 +0000
commit5f6a7edef820af641eb4f60bd07c875dde239931 (patch)
tree47049350c19a28f9dd7f81cd4a2f42e0c5b11956 /sys/dev
parent5053629a13bd33cf3faeeaa7e0b0850e0c5b0100 (diff)
remove software-based workaround for the resume issue.
ok beck@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/fxp.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c
index d6bc1f1f1a5..9e06e072435 100644
--- a/sys/dev/ic/fxp.c
+++ b/sys/dev/ic/fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxp.c,v 1.57 2004/09/16 13:57:49 markus Exp $ */
+/* $OpenBSD: fxp.c,v 1.58 2004/09/20 04:25:27 brad Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -1196,11 +1196,6 @@ fxp_scb_cmd(sc, cmd)
struct fxp_softc *sc;
u_int8_t cmd;
{
- if (cmd == FXP_SCB_COMMAND_CU_RESUME &&
- (sc->sc_flags & FXPF_FIX_RESUME_BUG) != 0) {
- CSR_WRITE_1(sc, FXP_CSR_SCB_COMMAND, FXP_CB_COMMAND_NOP);
- fxp_scb_wait(sc);
- }
CSR_WRITE_1(sc, FXP_CSR_SCB_COMMAND, cmd);
}
@@ -1620,18 +1615,7 @@ void
fxp_statchg(self)
struct device *self;
{
- struct fxp_softc *sc = (struct fxp_softc *)self;
-
- /*
- * Determine whether or not we have to work-around the
- * Resume Bug.
- */
- if (sc->sc_flags & FXPF_HAS_RESUME_BUG) {
- if (IFM_TYPE(sc->sc_mii.mii_media_active) == IFM_10_T)
- sc->sc_flags |= FXPF_FIX_RESUME_BUG;
- else
- sc->sc_flags &= ~FXPF_FIX_RESUME_BUG;
- }
+ /* Nothing to do. */
}
void