From: briggs Date: Sun, 13 Apr 1997 16:44:01 +0000 (+0000) Subject: Oops. We do not want to unmap something that we've used bus_space_subregion X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=31b837df6f3f7b6895cff846dd9bd2be34844d7e;p=openbsd Oops. We do not want to unmap something that we've used bus_space_subregion to get. --- diff --git a/sys/arch/mac68k/dev/if_sn_nubus.c b/sys/arch/mac68k/dev/if_sn_nubus.c index 2c0b47e0dce..6831488e29f 100644 --- a/sys/arch/mac68k/dev/if_sn_nubus.c +++ b/sys/arch/mac68k/dev/if_sn_nubus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sn_nubus.c,v 1.7 1997/04/13 14:14:51 briggs Exp $ */ +/* $OpenBSD: if_sn_nubus.c,v 1.8 1997/04/13 16:44:01 briggs Exp $ */ /* * Copyright (C) 1997 Allen Briggs @@ -142,8 +142,6 @@ sn_nubus_attach(parent, self, aux) sn_get_enaddr(bst, tmp_bsh, 0, sc->sc_arpcom.ac_enaddr); - bus_space_unmap(bst, tmp_bsh, ETHER_ADDR_LEN); - success = 1; break; @@ -166,8 +164,6 @@ sn_nubus_attach(parent, self, aux) sn_get_enaddr(bst, tmp_bsh, 0, sc->sc_arpcom.ac_enaddr); - bus_space_unmap(bst, tmp_bsh, ETHER_ADDR_LEN); - success = 1; break;