Subject: CVS commit: src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 07/18/2005 15:21:48
Module Name:	src
Committed By:	briggs
Date:		Mon Jul 18 15:21:48 UTC 2005

Modified Files:
	src/sys/dev/ata: ata_raid.c ata_raidvar.h

Log Message:
Update array of software RAID names in ata_raid.c.
Change a boundary check to ensure that we won't accidentally read and use
uninitialized memory if ATA_RAID_TYPE_MAX is updated without updating the
array.
Update comment near ATA_RAID_TYPE_MAX to note that the array in ata_raid.c
should be updated if a new ATA_RAID_TYPE_* is added.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/dev/ata/ata_raid.c
cvs rdiff -r1.2 -r1.3 src/sys/dev/ata/ata_raidvar.h

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