From 31d1db2e71d680377646ab62f0f5e1c8b99fcf59 Mon Sep 17 00:00:00 2001 From: mdodd Date: Thu, 13 Apr 2000 18:09:05 +0000 Subject: - Add an additional call to eisa_add_iospace() so we get the right IOPORT in attach. - Change a EISA_CHANNEL_CLEAR to EISA_CHANNEL_BUSY in ida_v1_submit(). This may fix the problem with EISA IDA adapters though we have not heard back from testers yet. Reviewed by: jlemon --- sys/dev/ida/ida_eisa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/ida') diff --git a/sys/dev/ida/ida_eisa.c b/sys/dev/ida/ida_eisa.c index 4ecba8d..f5e8af1 100644 --- a/sys/dev/ida/ida_eisa.c +++ b/sys/dev/ida/ida_eisa.c @@ -80,7 +80,7 @@ ida_v1_submit(struct ida_softc *ida, struct ida_qcb *qcb) ida_outb(ida, R_EISA_SYSTEM_DOORBELL, EISA_CHANNEL_CLEAR); ida_outl(ida, R_EISA_LIST_ADDR, qcb->hwqcb_busaddr); ida_outw(ida, R_EISA_LIST_LEN, size); - ida_outb(ida, R_EISA_LOCAL_DOORBELL, EISA_CHANNEL_CLEAR); + ida_outb(ida, R_EISA_LOCAL_DOORBELL, EISA_CHANNEL_BUSY); } static bus_addr_t @@ -247,6 +247,7 @@ ida_eisa_probe(device_t dev) return (ENXIO); } + eisa_add_iospace(dev, io_base, 0x100, RESVADDR_NONE); eisa_add_iospace(dev, (io_base + IDA_EISA_IOPORT_START), IDA_EISA_IOPORT_LEN, RESVADDR_NONE); -- cgit v1.1