1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Print "on motherboard" for isa? devices with id_iobase == 0

This commit is contained in:
Andrey A. Chernov 1995-04-04 22:48:40 +00:00
parent 8c4344bebd
commit 29ecb6a386
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7624
2 changed files with 18 additions and 22 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
* $Id: isa.c,v 1.41 1995/03/25 05:54:33 swallace Exp $
* $Id: isa.c,v 1.42 1995/03/28 07:55:38 bde Exp $
*/
/*
@ -453,16 +453,14 @@ config_isadev_c(isdp, mp, reconfig)
printf(" msize %d", isdp->id_msize);
if (isdp->id_flags)
printf(" flags 0x%x", isdp->id_flags);
if (isdp->id_iobase) {
if (!(isdp->id_iobase & 0xf300)) {
printf(" on motherboard");
} else if (isdp->id_iobase >= 0x1000 &&
!(isdp->id_iobase & 0x300)) {
printf (" on eisa slot %d",
isdp->id_iobase >> 12);
} else {
printf (" on isa");
}
if (!(isdp->id_iobase & 0xf300)) {
printf(" on motherboard");
} else if (isdp->id_iobase >= 0x1000 &&
!(isdp->id_iobase & 0x300)) {
printf (" on eisa slot %d",
isdp->id_iobase >> 12);
} else {
printf (" on isa");
}
printf("\n");
/*

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
* $Id: isa.c,v 1.41 1995/03/25 05:54:33 swallace Exp $
* $Id: isa.c,v 1.42 1995/03/28 07:55:38 bde Exp $
*/
/*
@ -453,16 +453,14 @@ config_isadev_c(isdp, mp, reconfig)
printf(" msize %d", isdp->id_msize);
if (isdp->id_flags)
printf(" flags 0x%x", isdp->id_flags);
if (isdp->id_iobase) {
if (!(isdp->id_iobase & 0xf300)) {
printf(" on motherboard");
} else if (isdp->id_iobase >= 0x1000 &&
!(isdp->id_iobase & 0x300)) {
printf (" on eisa slot %d",
isdp->id_iobase >> 12);
} else {
printf (" on isa");
}
if (!(isdp->id_iobase & 0xf300)) {
printf(" on motherboard");
} else if (isdp->id_iobase >= 0x1000 &&
!(isdp->id_iobase & 0x300)) {
printf (" on eisa slot %d",
isdp->id_iobase >> 12);
} else {
printf (" on isa");
}
printf("\n");
/*