Subject: CVS commit: src/sys/arch/sgimips/hpc
To: None <source-changes@NetBSD.org>
From: Christopher SEKIYA <sekiya@netbsd.org>
List: source-changes
Date: 12/29/2003 06:33:58
Module Name:	src
Committed By:	sekiya
Date:		Mon Dec 29 06:33:58 UTC 2003

Modified Files:
	src/sys/arch/sgimips/hpc: haltwo.c hpc.c hpcdma.c hpcreg.h hpcvar.h
	    wdsc.c

Log Message:
Fixes to HPC abstraction layer from Steve Rumble:

        - hpc1_hdd_{ctl,bufptr} and hpc3_hdd_{ctl,bufptr} are
          established in hpcreg.h. All references to these fields
          are updated with the exception of if_sq: (haltwo,
          hpcdma). This makes reading the code and spotting bugs
          easier.
        - hpcdma.c was applying EOCHAIN to the wrong descriptor
          word for the hpc1 case.
        - I added scsi_max_xfer to the abstraction layer, and it
          allows some crusty #defines in wdsc.c to be removed.
          hpc1 now doesn't waste descriptors as it once did.
        - hpcreg.h was updated to reflect the lack of XMITDONE
          bit in hpc1. HPC1_REV15 added for a test in hpc.c
        - hpc.c now verifies HPC1 revisions (1.0 vs 1.5) and
          prints the output a little prettier ;)
        - power interrupts shouldn't establish on non-IP22
          platforms.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/sgimips/hpc/haltwo.c
cvs rdiff -r1.22 -r1.23 src/sys/arch/sgimips/hpc/hpc.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/sgimips/hpc/hpcdma.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/sgimips/hpc/hpcreg.h
cvs rdiff -r1.6 -r1.7 src/sys/arch/sgimips/hpc/hpcvar.h
cvs rdiff -r1.12 -r1.13 src/sys/arch/sgimips/hpc/wdsc.c

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