Subject: SA11x0 support
To: None <port-arm@netbsd.org>
From: Robert Swindells <rjs@fdy2.demon.co.uk>
List: port-arm32
Date: 06/10/2001 16:20:50
I'm working through what is needed to create a port based on the hpcarm
drivers but loaded from flash.

I have put a copy of the hpcarm/sa11x0 directory into arm/sa11x0 and
created port directories for the Assabet and for our own web pad.

I'm convinced now that creating more ports instead of conditional code
is the way to go.

The Assabet and our web pad both use SMC ethernet controllers, but
need different bus space code. I had been struggling with trying to
find a way of allowing sm0 to use two attachment types in files.arm32.
Once you go to separate ports it is trivial.

The file arm/arm32/pmap.c depends on isadma.h. It would be nice if the
ISA DMA code could be broken out into another file.

I have made any changes conditional on HPCARM. Would it be possible
to add this to arch/hpcarm/conf/files.hpcarm as an option ?

The one remaining problem is with the interrupt code, which is different
between hpcarm and arm32. Could any of the hpcarm implementors describe
why they did things differently to the arm32 derived ports ?

Robert Swindells