summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-07-28 06:21:30 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-07-28 06:21:30 +0000
commit8b615f84149f0dc3e69dccaa73bb1a8e505d0fc2 (patch)
tree25edc32131db085166eac4e0f586c089cb6613fa /sys/arch/sparc64
parent1f29e21c75b337df515776be7875c322c69ca12f (diff)
Hardware supported by machfb(4) needs the aperture (for now) so make ramdisks
print a message to that extent such that the install scripts can do their magic. ok miod@, deraadt@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/machfb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/machfb.c b/sys/arch/sparc64/dev/machfb.c
index 8b8ea68121c..1c55ddf8ba4 100644
--- a/sys/arch/sparc64/dev/machfb.c
+++ b/sys/arch/sparc64/dev/machfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machfb.c,v 1.8 2013/10/20 20:07:27 miod Exp $ */
+/* $OpenBSD: machfb.c,v 1.9 2014/07/28 06:21:29 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
@@ -295,6 +295,10 @@ machfb_attach(struct device *parent, struct device *self, void *aux)
printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height);
+#ifdef SMALL_KERNEL
+ printf("%s: aperture needed\n", self->dv_xname);
+#endif
+
ri = &sc->sc_sunfb.sf_ro;
ri->ri_bits = bus_space_vaddr(sc->sc_memt, sc->sc_memh);
ri->ri_hw = sc;