summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-13 16:44:02 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-13 16:44:02 +0000
commit23fa72cdbf4f23f2f5a4192afd6f987fd3b7c551 (patch)
tree39b845e815a7a230bb567a10fdf2c8c05a800434 /sys/arch/mac68k
parent46d303c50eacb3e3911a1d487c30b64bdbbc6bd7 (diff)
Oops. We do not want to unmap something that we've used bus_space_subregion
to get.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/if_sn_nubus.c6
1 files changed, 1 insertions, 5 deletions
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;