From f3486fb1297b796c3301f6f2ce2f8e6dcca1ba8d Mon Sep 17 00:00:00 2001 From: briggs Date: Mon, 7 Apr 1997 13:03:17 +0000 Subject: [PATCH] Bleh. bus_probe has opposite return of my fn. --- sys/arch/mac68k/dev/if_sn_obio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/mac68k/dev/if_sn_obio.c b/sys/arch/mac68k/dev/if_sn_obio.c index 169a3ded164..bdac74a89d6 100644 --- a/sys/arch/mac68k/dev/if_sn_obio.c +++ b/sys/arch/mac68k/dev/if_sn_obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sn_obio.c,v 1.9 1997/04/07 12:45:20 briggs Exp $ */ +/* $OpenBSD: if_sn_obio.c,v 1.10 1997/04/07 13:03:17 briggs Exp $ */ /* * Copyright (C) 1997 Allen Briggs @@ -152,7 +152,7 @@ sn_obio_getaddr(sc) panic("failed to map space to read SONIC address.\n"); } - if (bus_probe(sc->sc_regt, bsh, 0, 1)) { + if (!bus_probe(sc->sc_regt, bsh, 0, 1)) { bus_space_unmap(sc->sc_regt, bsh, NBPG); return -1; } -- 2.20.1