From e405ccd3733ce73acbfc30eda49e7b0287471b8e Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sat, 18 Sep 2004 21:40:21 +0000 Subject: for unconfigured devices also print model number --- sys/arch/hppa/hppa/mainbus.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa') 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); -- cgit v1.2.3