mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
- 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
This commit is contained in:
parent
d5a93a1538
commit
22ca1311c0
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue