Subject: i2o on macppc?
To: None <port-macppc@netbsd.org>
From: John Klos <john@sixgirls.org>
List: port-macppc
Date: 08/07/2002 22:30:50
Hi,

I recently got an Adaptec 2400A IDE RAID controller which is supported by
NetBSD i2o code. However, it seems that I cannot compile a kernel with i2o
support; I get:

cc -mcpu=604e -mtune=604e -msoft-float -ffreestanding -mcpu=604e
-mtune=604e -O2 -Wreturn-type -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-uninitialized -Dmacppc -I. -I../../../../arch
-I../../../.. -nostdinc -DDIAGNOSTIC -DMAXUSERS=256 -D_KERNEL
-D_KERNEL_OPT -c /usr/src/sys/arch/macppc/compile/ANDROMEDA/../../../../dev/i2o/iop.c
cc1: warnings being treated as errors
/usr/src/sys/arch/macppc/compile/ANDROMEDA/../../../../dev/i2o/iop.c: In
function `iop_systab_set':
/usr/src/sys/arch/macppc/compile/ANDROMEDA/../../../../dev/i2o/iop.c:1469:
warning: implicit declaration of function `bus_space_alloc'
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/macppc/compile/ANDROMEDA


When I look in src/sys/arch/macppc/include/bus.h, the comments say that
bus_space_alloc is not implemented. Is anyone working on implementing
this? It appears that OpenBSD does... should we import it?

John Klos
Sixgirls Computing Labs