I guess a number of NetBSD folks tried to produce NetBSD ARM
kernels and failed in vain. There are two major issues to get
working Atheros-enabled NetBSD ARM kernels.
1. Atheros ARM HAL binary modules have an incompatible ELF header.
... ld can never produce NetBSD ARM kernel successfully.
2. extended bus_space(9) ops, write_stream/read_stream, are not
supported by any existing NetBSD ARM kernels.
... ah_osdep.c should concern the absence of
__BUS_SPACE_HAS_STREAM_METHODS
The existence of OS_REG_WRITE/READ() in ah_osdep.h makes
things worse and several typos in that file void opt_athhal.h
contents. Overall complication could be straighten in a simpler
form and must be done for Atheros integration completeness.
Toru Nishimura/ALKYL Technology