Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

map_isa_ioregs



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 (frank%phoenix.owl.de@localhost)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer




Home | Main Index | Thread Index | Old Index