Subject: Atheros ARM HAL incompatiblity
To: None <port-arm@netbsd.org>
From: Toru Nishimura <locore64@alkyltechnology.com>
List: port-arm
Date: 08/31/2006 17:16:13
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