Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 01/12/2001 18:04:01
Module Name:	syssrc
Committed By:	bouyer
Date:		Fri Jan 12 16:04:00 UTC 2001

Modified Files:
	syssrc/sys/dev/pci: pciide.c pciidevar.h

Log Message:
Fix bug which affects pciide controllers in native mode (found by
Paul Kranenburg, many thanks !): the control register I/O is 4 byte long
although only one is used, but the control register is at offset 2, and not
0 as expected by IC code. Use bus_space_subregion() to get a handle which
points to the control register, and is one byte long.


To generate a diff of this commit:
cvs rdiff -r1.104 -r1.105 syssrc/sys/dev/pci/pciide.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/pci/pciidevar.h

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