diff options
author | 2006-03-10 18:13:10 +0000 | |
---|---|---|
committer | 2006-03-10 18:13:10 +0000 | |
commit | ee110eec5330de867e0e980e33f30a74d420a1db (patch) | |
tree | 3ee8f54988ba506c164d77c4099e26d8e4f33b0b | |
parent | some IAPP implementations still use the pre-standard port 2313 in broadcast (diff) | |
download | wireguard-openbsd-ee110eec5330de867e0e980e33f30a74d420a1db.tar.xz wireguard-openbsd-ee110eec5330de867e0e980e33f30a74d420a1db.zip |
Silence mcd during probe, as in 1.13 but accidentally lost in 1.24.
-rw-r--r-- | sys/dev/isa/mcd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c index 5a46a8acda8..8222c2ddc53 100644 --- a/sys/dev/isa/mcd.c +++ b/sys/dev/isa/mcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mcd.c,v 1.37 2006/03/09 23:06:20 miod Exp $ */ +/* $OpenBSD: mcd.c,v 1.38 2006/03/10 18:13:10 miod Exp $ */ /* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */ /* @@ -909,7 +909,6 @@ mcdprobe(parent, match, aux) /* printf("mcdprobe: could not setup OPTi chipset.\n") */; bzero(&sc, sizeof sc); - strlcpy(sc.sc_dev.dv_xname, "mcd", sizeof(sc.sc_dev.dv_xname)); sc.debug = 0; sc.probe = 1; @@ -973,7 +972,7 @@ mcd_getresult(sc, res) if ((x = mcd_getreply(sc)) < 0) { if (sc->debug) printf(" timeout\n"); - else if (sc->probe) + else if (sc->probe == 0) printf("%s: timeout in getresult\n", sc->sc_dev.dv_xname); return EIO; } |