Subject: CVS commit: syssrc/sys/dev/pci
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 06/08/2002 20:55:01
Module Name:	syssrc
Committed By:	bouyer
Date:		Sat Jun  8 17:55:00 UTC 2002

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

Log Message:
Ops, use the proper setup_channel() function for promise adapters.
Using pdc202xx_setup_channel() for PDC20268 and newer is wrong, and will
cause trap trying to read from a non-existent register on some arches
(e.g. macppc).
pointed out by Makoto Fujiwara on port-macppc.


To generate a diff of this commit:
cvs rdiff -r1.155 -r1.156 syssrc/sys/dev/pci/pciide.c

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