mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
Now prints ``on eisa'' if id_iobase >= 0x1000, and made a slight code
cleanup for the other 2 cases of ``on motherboard'' and ``on isa''.
This commit is contained in:
parent
3b15f669f7
commit
ce1105630d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1002
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.12 1994/01/16 11:25:06 ats Exp $
|
||||
* $Id: isa.c,v 1.13 1994/01/17 05:49:20 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -293,10 +293,17 @@ config_isadev(isdp, mp)
|
||||
printf(" msize %d", isdp->id_msize);
|
||||
if (isdp->id_flags)
|
||||
printf(" flags 0x%x", isdp->id_flags);
|
||||
if (isdp->id_iobase && (isdp->id_iobase < 0x100))
|
||||
printf(" on motherboard\n");
|
||||
else
|
||||
printf(" on isa\n");
|
||||
if (isdp->id_iobase) {
|
||||
if (isdp->id_iobase < 0x100) {
|
||||
printf(" on motherboard\n");
|
||||
} else {
|
||||
if (isdp->id_iobase >= 0x1000) {
|
||||
printf (" on eisa\n");
|
||||
} else {
|
||||
printf (" on isa\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
(*dp->attach)(isdp);
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.12 1994/01/16 11:25:06 ats Exp $
|
||||
* $Id: isa.c,v 1.13 1994/01/17 05:49:20 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -293,10 +293,17 @@ config_isadev(isdp, mp)
|
||||
printf(" msize %d", isdp->id_msize);
|
||||
if (isdp->id_flags)
|
||||
printf(" flags 0x%x", isdp->id_flags);
|
||||
if (isdp->id_iobase && (isdp->id_iobase < 0x100))
|
||||
printf(" on motherboard\n");
|
||||
else
|
||||
printf(" on isa\n");
|
||||
if (isdp->id_iobase) {
|
||||
if (isdp->id_iobase < 0x100) {
|
||||
printf(" on motherboard\n");
|
||||
} else {
|
||||
if (isdp->id_iobase >= 0x1000) {
|
||||
printf (" on eisa\n");
|
||||
} else {
|
||||
printf (" on isa\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
(*dp->attach)(isdp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user