summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-17 02:55:09 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-17 02:55:09 +0000
commit7152c194cef9abc370bc9d6b08e2ebe6e23ed3df (patch)
treedbaa3032335a814584a7c7d83f678ab7d749fd81
parent374e688448aeebf450c5d79fd92cfbc4ad9697e5 (diff)
print out the graphics id
-rw-r--r--sys/dev/ic/sti.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c
index 2427c047866..b4a3d64ee33 100644
--- a/sys/dev/ic/sti.c
+++ b/sys/dev/ic/sti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sti.c,v 1.27 2003/08/11 06:25:36 mickey Exp $ */
+/* $OpenBSD: sti.c,v 1.28 2003/08/17 02:55:08 mickey Exp $ */
/*
* Copyright (c) 2000-2003 Michael Shalayeff
@@ -312,9 +312,10 @@ sti_attach_common(sc)
return;
}
- printf(": %s rev %d.%02d;%d\n"
+ printf(": %s rev %d.%02d;%d, ID 0x%016llX\n"
"%s: %dx%d frame buffer, %dx%dx%d display, offset %dx%d\n",
cfg.name, dd->dd_grrev >> 4, dd->dd_grrev & 0xf, dd->dd_lrrev,
+ *(u_int64_t *)dd->dd_grid,
sc->sc_dev.dv_xname, cfg.fbwidth, cfg.fbheight,
cfg.width, cfg.height, cfg.bpp, cfg.owidth, cfg.oheight);