map_isa_ioregs
Frank Wille <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.ofppc |
|---|---|
| Organization | Privates Internet Ostwestfalen/Lippe e.V. |
| Message-ID | <[email protected]> |
The function map_isa_ioregs() from ofppc/isa/isa_machdep.c appears to be a
problem. It allocates the ISA bus-range from 0x0 to 0x3ff just to be able to
access the PIC with isa_inb/isa_outb.
As a consequence, when I tested to include the device driver for "lpt", the
following happened:
isa0 at pcib0
bus_space_map(0x38f980[0:10000], 0x3bc, 0x4) failed: 35
No surprise, because the whole region was already marked as allocated in the
bus_space_tag's extent.
Any suggestions?
--
_ Frank Wille ([email protected])
_ // http://sun.hasenbraten.de/~frank/
\X/ Phx @ #AmigaGer