diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 1999-10-03 12:13:06 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 1999-10-03 12:13:06 +0000 |
| commit | a2e6dbb39d4518777780673f72c6b1e1a13d395a (patch) | |
| tree | b84ff865dc0d1bc36f83c0742072baf6ec779e9a | |
| parent | 1b779c59bf10974a8a68d3c8a14b4aed89395fd0 (diff) | |
Notes
| -rw-r--r-- | sys/isa/isa_common.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index 1fbf7d1620ad..eb64dad89939 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -435,7 +435,21 @@ isa_probe_children(device_t dev) return; /* - * First probe all non-pnp devices so that they claim their + * First disable all pnp devices so that they don't get + * matched by legacy probes. + */ + for (i = 0; i < nchildren; i++) { + device_t child = children[i]; + struct isa_device *idev = DEVTOISA(child); + struct isa_config config; + + bzero(&config, sizeof config); + if (idev->id_config_cb) + idev->id_config_cb(idev->id_config_arg, &config, 0); + } + + /* + * Next probe all non-pnp devices so that they claim their * resources first. */ for (i = 0; i < nchildren; i++) { @@ -449,7 +463,7 @@ isa_probe_children(device_t dev) } /* - * Next assign resource to pnp devices and probe them. + * Finally assign resource to pnp devices and probe them. */ for (i = 0; i < nchildren; i++) { device_t child = children[i]; |
