diff options
-rw-r--r-- | sys/dev/ic/fxp.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/fxpvar.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index ec23490c3c6..9140fb11d68 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.62 2004/12/22 12:02:47 grange Exp $ */ +/* $OpenBSD: fxp.c,v 1.63 2004/12/23 19:40:21 deraadt Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -1873,6 +1873,7 @@ fxp_load_ucode(struct fxp_softc *sc) if (error) { printf("%s: failed loadfirmware of file %s: errno %d\n", sc->sc_dev.dv_xname, uc->uname, error); + sc->sc_flags |= FXPF_UCODE; return; } diff --git a/sys/dev/ic/fxpvar.h b/sys/dev/ic/fxpvar.h index 2f67fa31512..bf7e0e1b819 100644 --- a/sys/dev/ic/fxpvar.h +++ b/sys/dev/ic/fxpvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fxpvar.h,v 1.19 2004/09/20 04:27:23 brad Exp $ */ +/* $OpenBSD: fxpvar.h,v 1.20 2004/12/23 19:40:21 deraadt Exp $ */ /* $NetBSD: if_fxpvar.h,v 1.1 1997/06/05 02:01:58 thorpej Exp $ */ /* @@ -105,7 +105,7 @@ struct fxp_softc { struct mbuf *rfa_tailm; /* last mbuf in receive frame area */ int sc_flags; /* misc. flags */ #define FXPF_DISABLE_STANDBY 0x20 /* currently need to work-around */ -#define FXPF_UCODE 0x40 /* ucode is loaded */ +#define FXPF_UCODE 0x40 /* ucode load already attempted */ struct timeout stats_update_to; /* Pointer to timeout structure */ int rx_idle_secs; /* # of seconds RX has been idle */ struct fxp_cb_tx *cbl_base; /* base of TxCB list */ |