summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-07 03:23:38 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-07 03:23:38 +0000
commit5a0aaa7fd4287ecfbfc498d12a1e80b14fb1dd0d (patch)
treed06778092fed76541c6fba1cbe51ade098e68b7f /sys/arch/mac68k/dev
parent6377c617eda415f5477f625fe2994ea16d89b892 (diff)
Ahem... bus_probe() already exists and does what bus_space_bad_addr() does.
Nuke the latter.
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r--sys/arch/mac68k/dev/if_sn_obio.c4
1 files 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 6d691a87fe7..c3b5551734a 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.7 1997/04/06 01:02:13 briggs Exp $ */
+/* $OpenBSD: if_sn_obio.c,v 1.8 1997/04/07 03:23:36 briggs Exp $ */
/*
* Copyright (C) 1997 Allen Briggs
@@ -161,7 +161,7 @@ sn_obio_getaddr(sc)
panic("failed to map space to read SONIC address.\n");
}
- if (bus_space_bad_addr(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;
}