Subject: CVS commit: src/sys/arch/mips
To: None <source-changes@NetBSD.org>
From: Garrett D'Amore <gdamore@netbsd.org>
List: source-changes
Date: 10/07/2006 07:18:02
Module Name:	src
Committed By:	gdamore
Date:		Sat Oct  7 07:18:02 UTC 2006

Modified Files:
	src/sys/arch/mips/atheros: ar5315.c
	src/sys/arch/mips/conf: files.atheros
Added Files:
	src/sys/arch/mips/atheros/dev: arspi.c

Log Message:
Add Atheros SPI controller.  This is a "pseudo-controller", as it has some
artificial limitations which really only make it good for use with serial
flash devices.  One of the more annoying limitations is a restriction that
it can only transfer 8 bytes at a time. (4 command/address, plus 4 data.)

The driver includes design to work around those limitations, but these
changes are only appropriate for serial flash devices.

This driver is designed to run in interrupt driven mode, but due to lack
of adequate documentation, we run it in polled mode.

A subsequent commit will introduce the MI M25P flash driver, which has been
tested and is known to function somewhat reasonably..


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/mips/atheros/ar5315.c
cvs rdiff -r0 -r1.1 src/sys/arch/mips/atheros/dev/arspi.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/mips/conf/files.atheros

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.