print "maddr 0xd0000 msize 65536" as "maddr 0xd0000-0xdffff" instead.

This commit is contained in:
deraadt 1993-06-20 07:24:53 +00:00
parent 4c0169f317
commit 277c73694e
2 changed files with 6 additions and 4 deletions

View File

@ -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");

View File

@ -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");