Subject: map_isa_ioregs
To: None <port-ofppc@NetBSD.org>
From: Frank Wille <frank@phoenix.owl.de>
List: port-ofppc
Date: 11/03/2007 22:34:31
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)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer