summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-18 21:40:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-18 21:40:21 +0000
commite405ccd3733ce73acbfc30eda49e7b0287471b8e (patch)
treedf5a0c327512a77d6c92223d587a568d78bb9863 /sys/arch
parentd3ab058ff60afaced51478e2c2789cbbb804f209 (diff)
for unconfigured devices also print model number
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/mainbus.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c
index 8d715ed19d6..d89345375b2 100644
--- a/sys/arch/hppa/hppa/mainbus.c
+++ b/sys/arch/hppa/hppa/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.59 2004/09/16 00:05:03 mickey Exp $ */
+/* $OpenBSD: mainbus.c,v 1.60 2004/09/18 21:40:20 mickey Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -1101,9 +1101,10 @@ mbprint(aux, pnp)
struct confargs *ca = aux;
if (pnp)
- printf("\"%s\" at %s (type %x, sv %x, hv %x)", ca->ca_name, pnp,
+ printf("\"%s\" at %s (type %x sv %x mod %x hv %x)",
+ ca->ca_name, pnp,
ca->ca_type.iodc_type, ca->ca_type.iodc_sv_model,
- ca->ca_type.iodc_revision);
+ ca->ca_type.iodc_model, ca->ca_type.iodc_revision);
if (ca->ca_hpa) {
if (~ca->ca_hpamask)
printf(" offset %lx", ca->ca_hpa & ~ca->ca_hpamask);