diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-01-20 21:42:26 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-01-20 21:42:26 +0000 |
commit | 48927bd22d99a297053943128efb947be847ca68 (patch) | |
tree | 200503b70524646eb335b3a1c47f2c68a890869a /sys | |
parent | fa147bb915ca1b9aaa036f9aff23d66456ebed96 (diff) |
missed some conditions on autoconf_verbose
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isa/isa.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c index 2f7da070cb8..3010e861fdd 100644 --- a/sys/dev/isa/isa.c +++ b/sys/dev/isa/isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa.c,v 1.30 1998/01/20 20:39:31 niklas Exp $ */ +/* $OpenBSD: isa.c,v 1.31 1998/01/20 21:42:25 niklas Exp $ */ /* $NetBSD: isa.c,v 1.85 1996/05/14 00:31:04 thorpej Exp $ */ /* @@ -236,8 +236,9 @@ isascan(parent, match) printf(">>> probing for %s%d\n", cf->cf_driver->cd_name, cf->cf_unit); if ((*cf->cf_attach->ca_match)(parent, dev, &ia) > 0) { - printf(">>> probing for %s%d succeeded\n", - cf->cf_driver->cd_name, cf->cf_unit); + if (autoconf_verbose) + printf(">>> probing for %s%d succeeded\n", + cf->cf_driver->cd_name, cf->cf_unit); config_attach(parent, dev, &ia, isaprint); #if NISADMA > 0 @@ -245,8 +246,9 @@ isascan(parent, match) ISA_DRQ_ALLOC((struct device *)sc, ia.ia_drq); #endif /* NISAMDA > 0 */ } else { - printf(">>> probing for %s%d failed\n", - cf->cf_driver->cd_name, cf->cf_unit); + if (autoconf_verbose) + printf(">>> probing for %s%d failed\n", + cf->cf_driver->cd_name, cf->cf_unit); free(dev, M_DEVBUF); } } |