summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-08-26 15:08:52 +0000
committerkato <kato@FreeBSD.org>1997-08-26 15:08:52 +0000
commitcc4767c96fd7a4b61db4cd86b533f3ea3b9dd4ea (patch)
tree537a25ac186e55da7bc839d968fbfbaae1949cee /sys/pc98
parent296745d84b8dae0e303ef0ecd877452fec7257f9 (diff)
downloadFreeBSD-src-cc4767c96fd7a4b61db4cd86b533f3ea3b9dd4ea.zip
FreeBSD-src-cc4767c96fd7a4b61db4cd86b533f3ea3b9dd4ea.tar.gz
Synchronize with sys/i386/isa/isa.c revision 1.102.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/pc98.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/pc98/pc98/pc98.c b/sys/pc98/pc98/pc98.c
index 58b93a6..5571826 100644
--- a/sys/pc98/pc98/pc98.c
+++ b/sys/pc98/pc98/pc98.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
- * $Id: pc98.c,v 1.37 1997/08/13 11:00:49 kato Exp $
+ * $Id: pc98.c,v 1.38 1997/08/21 08:24:19 kato Exp $
*/
/*
@@ -141,10 +141,14 @@ haveseen(dvp, tmpdvp, checkbits)
u_int checkbits;
{
/*
- * Only check against devices that have already been found and are not
- * unilaterally allowed to conflict anyway.
+ * Ignore all conflicts except IRQ ones if conflicts are allowed.
*/
- if (tmpdvp->id_alive && !dvp->id_conflicts) {
+ if (dvp->id_conflicts)
+ checkbits &= ~(CC_DRQ | CC_IOADDR | CC_MEMADDR);
+ /*
+ * Only check against devices that have already been found.
+ */
+ if (tmpdvp->id_alive) {
char const *whatnot;
whatnot = checkbits & CC_ATTACH ? "attach" : "prob";
@@ -531,9 +535,8 @@ config_isadev_c(isdp, mp, reconfig)
* a check for IRQs in the next group of checks.
*/
checkbits |= CC_IRQ;
- if (haveseen_isadev(isdp, checkbits)) {
+ if (haveseen_isadev(isdp, checkbits))
return;
- }
isdp->id_alive = id_alive;
}
(*dp->attach)(isdp);
@@ -1058,4 +1061,3 @@ struct isa_device *find_isadev(table, driverp, unit)
return (table);
}
-
OpenPOWER on IntegriCloud