summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/creator_mainbus.c8
-rw-r--r--sys/arch/sparc64/dev/creator_upa.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/sparc64/dev/creator_mainbus.c b/sys/arch/sparc64/dev/creator_mainbus.c
index a6644e7d8b1..69d37adc05e 100644
--- a/sys/arch/sparc64/dev/creator_mainbus.c
+++ b/sys/arch/sparc64/dev/creator_mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: creator_mainbus.c,v 1.2 2002/06/15 01:32:01 fgsch Exp $ */
+/* $OpenBSD: creator_mainbus.c,v 1.3 2002/07/25 19:40:33 jason Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net),
@@ -91,9 +91,9 @@ creator_mainbus_attach(parent, self, aux)
goto fail;
}
- if (bus_space_map2(sc->sc_bt, 0, ma->ma_reg[FFB_REG_DFB24].ur_paddr,
- ma->ma_reg[FFB_REG_DFB24].ur_len, 0, NULL, &sc->sc_pixel_h)) {
- printf("%s: failed to map dfb24\n", sc->sc_dv.dv_xname);
+ if (bus_space_map(sc->sc_bt, ma->ma_reg[FFB_REG_DFB24].ur_paddr,
+ ma->ma_reg[FFB_REG_DFB24].ur_len, 0, &sc->sc_pixel_h)) {
+ printf(": failed to map dfb24\n");
goto fail;
}
diff --git a/sys/arch/sparc64/dev/creator_upa.c b/sys/arch/sparc64/dev/creator_upa.c
index 32c64d0d32b..2c915046bdc 100644
--- a/sys/arch/sparc64/dev/creator_upa.c
+++ b/sys/arch/sparc64/dev/creator_upa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: creator_upa.c,v 1.1 2002/06/11 10:48:24 jason Exp $ */
+/* $OpenBSD: creator_upa.c,v 1.2 2002/07/25 19:40:33 jason Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -90,9 +90,9 @@ creator_upa_attach(parent, self, aux)
goto fail;
}
- if (bus_space_map2(sc->sc_bt, 0, ma->ma_reg[FFB_REG_DFB24].ur_paddr,
- ma->ma_reg[FFB_REG_DFB24].ur_len, 0, NULL, &sc->sc_pixel_h)) {
- printf("%s: failed to map dfb24\n", sc->sc_dv.dv_xname);
+ if (bus_space_map(sc->sc_bt, ma->ma_reg[FFB_REG_DFB24].ur_paddr,
+ ma->ma_reg[FFB_REG_DFB24].ur_len, 0, &sc->sc_pixel_h)) {
+ printf(": failed to map dfb24\n");
goto fail;
}