diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-09-27 18:08:43 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-09-27 18:08:43 +0000 |
commit | 132b4fa9f18fdcfe72d361060f2d23b96e0e72ab (patch) | |
tree | 65a5a66477795936b126f55d463dd454d672c99b | |
parent | 60a0a7e3c62b9e1c46ae273f680e7ebdfa3d179d (diff) |
Print the LOM type (LOMlite/LOMlite2).
-rw-r--r-- | sys/arch/sparc64/dev/lom.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/lom.c b/sys/arch/sparc64/dev/lom.c index 9ce7844d0a3..759420b8edd 100644 --- a/sys/arch/sparc64/dev/lom.c +++ b/sys/arch/sparc64/dev/lom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lom.c,v 1.14 2009/09/27 17:59:55 kettenis Exp $ */ +/* $OpenBSD: lom.c,v 1.15 2009/09/27 18:08:42 kettenis Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -336,7 +336,9 @@ lom_attach(struct device *parent, struct device *self, void *aux) wdog_register(sc, lom_wdog_cb); - printf(": rev %d.%d\n", fw_rev >> 4, fw_rev & 0x0f); + printf(": %s rev %d.%d\n", + sc->sc_type < LOM_LOMLITE2 ? "LOMlite" : "LOMlite2", + fw_rev >> 4, fw_rev & 0x0f); } int |