summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-05-12 16:49:01 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-05-12 16:49:01 +0000
commit90436b58e03d7444a8bb97ee100d2a8d2ec8cd9a (patch)
tree72870d6258f3c52652848272195db61875ef037a
parentacdaf0809519188a0fc1ff907879288774462a25 (diff)
Don't forget to print the frame buffer name obtained from ARCS, as all other
GIO frame buffer drivers do.
-rw-r--r--sys/arch/sgi/gio/impact_gio.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sgi/gio/impact_gio.c b/sys/arch/sgi/gio/impact_gio.c
index 6aa82d813fe..72878f5fc59 100644
--- a/sys/arch/sgi/gio/impact_gio.c
+++ b/sys/arch/sgi/gio/impact_gio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: impact_gio.c,v 1.4 2012/05/10 21:36:11 miod Exp $ */
+/* $OpenBSD: impact_gio.c,v 1.5 2012/05/12 16:49:00 miod Exp $ */
/*
* Copyright (c) 2012 Miodrag Vallat.
@@ -72,8 +72,12 @@ impact_gio_attach(struct device *parent, struct device *self, void *aux)
int console;
extern struct consdev wsdisplay_cons;
+ if (ga->ga_descr != NULL && *ga->ga_descr != '\0')
+ printf(": %s", ga->ga_descr);
+
if (strncmp(bios_graphics, "alive", 5) != 0) {
- printf(" device has not been setup by firmware!\n");
+ printf("\n%s: device has not been setup by firmware!\n",
+ self->dv_xname);
return;
}