summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-16 21:29:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-16 21:29:27 +0000
commit2d71d771c7fa865f738320f080d713362c06011b (patch)
tree3bb0a34f80084a8ae576960e42daa2c9ae2bf5fc /sys
parenteb30845ea7279d4233bbfac706c56dcf037c0ee3 (diff)
Display the system type on the mainbus0 line as well.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/loongson/dev/mainbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/dev/mainbus.c b/sys/arch/loongson/dev/mainbus.c
index 8def1cfd57b..705bdd3b9e9 100644
--- a/sys/arch/loongson/dev/mainbus.c
+++ b/sys/arch/loongson/dev/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.2 2010/01/09 20:33:16 miod Exp $ */
+/* $OpenBSD: mainbus.c,v 1.3 2010/02/16 21:29:26 miod Exp $ */
/*
* Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -60,7 +60,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
{
struct cpu_attach_args caa;
- printf("\n");
+ printf(": %s %s\n", sys_platform->vendor, sys_platform->product);
bzero(&caa, sizeof caa);
caa.caa_maa.maa_name = "cpu";