diff options
| author | deraadt <deraadt@NetBSD.org> | 1993-06-20 07:24:53 +0000 |
|---|---|---|
| committer | deraadt <deraadt@NetBSD.org> | 1993-06-20 07:24:53 +0000 |
| commit | 277c73694e5c30eb0d3c044258cc95b30276febf (patch) | |
| tree | c187df1e6f513a523486018c68c22b85801cd802 /sys/dev | |
| parent | 4c0169f317f27bfaba60eaaa2875172bb3b80b37 (diff) | |
print "maddr 0xd0000 msize 65536" as "maddr 0xd0000-0xdffff" instead.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/isa/isa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c index 926d85c7093..2b6e68759e5 100644 --- a/sys/dev/isa/isa.c +++ b/sys/dev/isa/isa.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: isa.c,v 1.19 1993/06/16 02:59:42 mycroft Exp $ + * $Id: isa.c,v 1.20 1993/06/20 07:24:53 deraadt Exp $ */ /* @@ -168,7 +168,8 @@ config_isadev(isdp, mp) if (isdp->id_maddr != 0) printf(" maddr 0x%x", kvtop(isdp->id_maddr)); if (isdp->id_msize != 0) - printf(" msize %d", isdp->id_msize); + printf("-0x%x", kvtop(isdp->id_maddr) + + isdp->id_msize - 1); if (isdp->id_flags != 0) printf(" flags 0x%x", isdp->id_flags); printf(" on isa\n"); |
