diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-07-30 17:12:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-07-30 17:12:57 +0000 |
commit | 7914d9c51a42a843888f1087e6acfd552bedf1ea (patch) | |
tree | af015c6388d869584808cc006abdebaa2584bdb1 /sys/dev/isa/isa.c | |
parent | a8e9888171933705d1e844484a7fa8be1529d66f (diff) |
print ports as 0x%x/%d start/len instead of start-end
Diffstat (limited to 'sys/dev/isa/isa.c')
-rw-r--r-- | sys/dev/isa/isa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c index b59db02608d..778bee68431 100644 --- a/sys/dev/isa/isa.c +++ b/sys/dev/isa/isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa.c,v 1.36 1999/02/07 00:54:46 millert Exp $ */ +/* $OpenBSD: isa.c,v 1.37 1999/07/30 17:12:56 deraadt Exp $ */ /* $NetBSD: isa.c,v 1.85 1996/05/14 00:31:04 thorpej Exp $ */ /* @@ -168,11 +168,11 @@ isaprint(aux, isa) if (ia->ia_iosize) printf(" port 0x%x", ia->ia_iobase); if (ia->ia_iosize > 1) - printf("-0x%x", ia->ia_iobase + ia->ia_iosize - 1); + printf("/%d", ia->ia_iosize); if (ia->ia_msize) printf(" iomem 0x%x", ia->ia_maddr); if (ia->ia_msize > 1) - printf("-0x%x", ia->ia_maddr + ia->ia_msize - 1); + printf("/%d", ia->ia_msize); if (ia->ia_irq != IRQUNK) printf(" irq %d", ia->ia_irq); if (ia->ia_drq != DRQUNK) |