From 5b7fdfe02063091cb1aeb4610e515af2a5c6b506 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 22 Apr 2002 20:03:09 +0000 Subject: always print the offset, mask allowing --- sys/arch/hppa/hppa/mainbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index c25d76f990e..90ea9d60cc7 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.32 2002/04/22 01:49:42 mickey Exp $ */ +/* $OpenBSD: mainbus.c,v 1.33 2002/04/22 20:03:08 mickey Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -877,7 +877,7 @@ mbprint(aux, pnp) printf("\"%s\" at %s (type %x, sv %x)", ca->ca_name, pnp, ca->ca_type.iodc_type, ca->ca_type.iodc_sv_model); if (ca->ca_hpa) { - if (ca->ca_hpa & ~ca->ca_hpamask) + if (~ca->ca_hpamask) printf(" offset %x", ca->ca_hpa & ~ca->ca_hpamask); if (!pnp && ca->ca_irq >= 0) printf(" irq %d", ca->ca_irq); -- cgit v1.2.3