Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 08/29/1999 10:20:10
Module Name:	syssrc
Committed By:	bouyer
Date:		Sun Aug 29 17:20:10 UTC 1999

Modified Files:
	syssrc/sys/dev/pci: pciide.c pciide_acer_reg.h pciide_cmd_reg.h
Added Files:
	syssrc/sys/dev/pci: pciide_pdc202xx_reg.h

Log Message:
Add support for the Promise Ultra/33 and /66 pci IDE controller. In addition to
chip-dependant code this required the following changes:
- Instead of attaching the device in a generic way with some chip-dependant
  routines, use a chip-dependant attach routine with some common code
  factored out. The code is marginally bigger, but this allows the CMD64x
  flag hack to go away.
- For chips that report per-channel 'irq triggered', test this before calling
  wdcintr() for the native-pci irq case (compat intr can't be shared),
  as wdcintr() has no good way to know if a irq was for it or not, and
  ends up with irq loss. XXX for chips that don't have this feature irq sharing
  will not work properly !
- add my copyrigth notice (could have been done some time ago I think :)

There are still some issues to be solved with the Promise controller and
ATAPI devices.
Many thanks to Paul Newhouse for shipping me 2 Ultra/33 boards for doing this
work.


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 syssrc/sys/dev/pci/pciide.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/dev/pci/pciide_acer_reg.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/dev/pci/pciide_cmd_reg.h
cvs rdiff -r0 -r1.1 syssrc/sys/dev/pci/pciide_pdc202xx_reg.h

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