Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDO

Also correct a typo in the comment for these values, noted by jimharris.

Reviewed by:	jimharris
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3715
This commit is contained in:
Ed Maste 2018-02-23 20:01:42 +00:00
parent 716cfaab96
commit 5e246cb89b
2 changed files with 4 additions and 4 deletions

View File

@ -301,13 +301,13 @@
/*@}*/
/**
* @name ATA_WRITE_UNCORRECTIABLE feature field values
* @name ATA_WRITE_UNCORRECTABLE feature field values
*
* These constants define the Write Uncorrectable feature values
* used with the SATI translation.
*/
/*@{*/
#define ATA_WRITE_UNCORRECTABLE_PSUEDO 0x55
#define ATA_WRITE_UNCORRECTABLE_PSEUDO 0x55
#define ATA_WRITE_UNCORRECTABLE_FLAGGED 0xAA
/*@}*/

View File

@ -176,7 +176,7 @@ SATI_STATUS sati_write_long_translate_command(
sati_ata_write_uncorrectable_construct(
ata_io,
sequence,
ATA_WRITE_UNCORRECTABLE_PSUEDO
ATA_WRITE_UNCORRECTABLE_PSEUDO
);
sequence->type = SATI_SEQUENCE_WRITE_LONG;
status = SATI_SUCCESS;
@ -188,7 +188,7 @@ SATI_STATUS sati_write_long_translate_command(
sati_ata_write_uncorrectable_construct(
ata_io,
sequence,
ATA_WRITE_UNCORRECTABLE_PSUEDO
ATA_WRITE_UNCORRECTABLE_PSEUDO
);
sequence->type = SATI_SEQUENCE_WRITE_LONG;
status = SATI_SUCCESS;