Subject: CVS commit: src/sys/arch/mac68k/obio
To: None <source-changes@NetBSD.org>
From: Frederick Bruckman <fredb@netbsd.org>
List: source-changes
Date: 12/14/2003 15:31:23
Module Name:	src
Committed By:	fredb
Date:		Sun Dec 14 15:31:23 UTC 2003

Modified Files:
	src/sys/arch/mac68k/obio: wdc_obio.c

Log Message:
Adapt to MI ATA/wdc changes. Especially, now that the address of
each individual ATA register is in the attachment structure, we
can dispense with the custom bus_space mapping hack which set the
stride, then unset it for particular bus_space functions. (There
is really no stride; the data register is read and written to
consecutive bytes. The control register mappings just happen to
be separated by four bytes.) While we're here, de-__P(), and lose
a confusing shift.

This has been tested on Quadra 630. Reviewed by bouyer.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/arch/mac68k/obio/wdc_obio.c

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