summaryrefslogtreecommitdiffstats
path: root/sys/dev/ida
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2000-04-13 18:09:05 +0000
committermdodd <mdodd@FreeBSD.org>2000-04-13 18:09:05 +0000
commit31d1db2e71d680377646ab62f0f5e1c8b99fcf59 (patch)
tree98b4bdf2fb74f496f96e6243cb4bf5a933b170dd /sys/dev/ida
parent35c262b7c32cd1448b62c822b58008462cdf2364 (diff)
downloadFreeBSD-src-31d1db2e71d680377646ab62f0f5e1c8b99fcf59.zip
FreeBSD-src-31d1db2e71d680377646ab62f0f5e1c8b99fcf59.tar.gz
- 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
Diffstat (limited to 'sys/dev/ida')
-rw-r--r--sys/dev/ida/ida_eisa.c3
1 files changed, 2 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud