diff options
author | imp <imp@FreeBSD.org> | 1998-10-12 18:53:33 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-10-12 18:53:33 +0000 |
commit | ffd3a453619917baee500aee74162c34987f6157 (patch) | |
tree | 97fe99346e29f3216f03e78eb746a401cab20b55 /sys/dev/advansys | |
parent | 404d9ee9f6d8a772930f770ba87e520e3805cf98 (diff) | |
download | FreeBSD-src-ffd3a453619917baee500aee74162c34987f6157.zip FreeBSD-src-ffd3a453619917baee500aee74162c34987f6157.tar.gz |
Fix breakage introduced by last patch. bde has added CC_QUIET flag to
hasseen_isadev so this will be less noisy when conflicts do exist.
Also eliminate redundant warnings about conflicts.
Requested by: bde
Reviewed by: gibbs
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r-- | sys/dev/advansys/adv_isa.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/sys/dev/advansys/adv_isa.c b/sys/dev/advansys/adv_isa.c index 37f534e..09fe9f2 100644 --- a/sys/dev/advansys/adv_isa.c +++ b/sys/dev/advansys/adv_isa.c @@ -44,7 +44,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adv_isa.c,v 1.4 1998/09/15 07:03:39 gibbs Exp $ + * $Id: adv_isa.c,v 1.5 1998/10/10 00:44:12 imp Exp $ */ #include <sys/param.h> @@ -149,11 +149,8 @@ advisaprobe(struct isa_device *id) if (port_addr == 0) /* Already been attached */ continue; - /* - * Make sure that we do not conflict with another device's - * I/O address. - */ - if (haveseen_isadev(id, CC_IOADDR)) + id->id_iobase = port_addr; + if (haveseen_isadev(id, CC_IOADDR | CC_QUIET)) continue; if (adv_find_signature(I386_BUS_SPACE_IO, port_addr)) { @@ -270,18 +267,6 @@ advisaprobe(struct isa_device *id) adv->overrun_physbase = overrun_physbase; - /* - * OK, check to make sure that we're not stepping on - * someone else's IRQ or DRQ - */ - if (haveseen_isadev(id, CC_DRQ)) { - printf("advisaprobe: Aha card at I/O 0x%x's " - "drq %d conflicts, ignoring card.\n", - id->id_iobase, id->id_drq); - adv_free(adv); - return 0; - } - if (adv_init(adv) != 0) { adv_free(adv); return (0); |