Oops. We do not want to unmap something that we've used bus_space_subregion
authorbriggs <briggs@openbsd.org>
Sun, 13 Apr 1997 16:44:01 +0000 (16:44 +0000)
committerbriggs <briggs@openbsd.org>
Sun, 13 Apr 1997 16:44:01 +0000 (16:44 +0000)
to get.

sys/arch/mac68k/dev/if_sn_nubus.c

index 2c0b47e..6831488 100644 (file)
@@ -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;