diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-12-25 06:13:05 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-12-25 06:13:05 +0000 |
commit | 6b3c52bee9cb02b6dc9e77b5af1a53db17addf33 (patch) | |
tree | 1fc07794048c737e0495ec6f4e6714256bcd69f4 /sys/arch | |
parent | bf8ae27fd2ae21d646d632fc534600f20b787ec0 (diff) |
isa_has_been_seen; NetBSD
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/isa/isa_machdep.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/isa_machdep.c b/sys/arch/i386/isa/isa_machdep.c index 25cf63fb31d..2eff3895446 100644 --- a/sys/arch/i386/isa/isa_machdep.c +++ b/sys/arch/i386/isa/isa_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa_machdep.c,v 1.24 1997/12/21 14:44:32 downsj Exp $ */ +/* $OpenBSD: isa_machdep.c,v 1.25 1997/12/25 06:13:04 downsj Exp $ */ /* $NetBSD: isa_machdep.c,v 1.14 1996/05/12 23:06:18 mycroft Exp $ */ /*- @@ -454,7 +454,15 @@ isa_attach_hook(parent, self, iba) struct device *parent, *self; struct isabus_attach_args *iba; { - /* Nothing to do. */ + extern int isa_has_been_seen; + + /* + * Notify others that might need to know that the ISA bus + * has now been attached. + */ + if (isa_has_been_seen) + panic("isaattach: ISA bus already seen!"); + isa_has_been_seen = 1; } /* |