summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-05-12 16:49:00 +0000
committermiod <miod@openbsd.org>2012-05-12 16:49:00 +0000
commit8500e424ef0bc6d5a6b5c1ff1d4cd6c41369bdc6 (patch)
treef6692260ff77783efe7b4a83e87e94b266a1e3ff
parentStrip trailing space from ARCS frame buffer names. (diff)
downloadwireguard-openbsd-8500e424ef0bc6d5a6b5c1ff1d4cd6c41369bdc6.tar.xz
wireguard-openbsd-8500e424ef0bc6d5a6b5c1ff1d4cd6c41369bdc6.zip
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;
}