diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-04-22 20:03:09 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-04-22 20:03:09 +0000 |
commit | 5b7fdfe02063091cb1aeb4610e515af2a5c6b506 (patch) | |
tree | e8c867d28e302fd3e587a66a582d6dd4ce908a50 /sys/arch | |
parent | f5470758f22bd3eb49a16d9a5d294a9317356b89 (diff) |
always print the offset, mask allowing
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/mainbus.c | 4 |
1 files 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); |