Author: emaste
Date: Fri Feb 23 20:01:42 2018
New Revision: 329877
URL: https://svnweb.freebsd.org/changeset/base/329877

Log:
  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

Modified:
  head/sys/dev/isci/scil/intel_ata.h
  head/sys/dev/isci/scil/sati_write_long.c

Modified: head/sys/dev/isci/scil/intel_ata.h
==============================================================================
--- head/sys/dev/isci/scil/intel_ata.h  Fri Feb 23 19:09:27 2018        
(r329876)
+++ head/sys/dev/isci/scil/intel_ata.h  Fri Feb 23 20:01:42 2018        
(r329877)
@@ -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
 /*@}*/
 

Modified: head/sys/dev/isci/scil/sati_write_long.c
==============================================================================
--- head/sys/dev/isci/scil/sati_write_long.c    Fri Feb 23 19:09:27 2018        
(r329876)
+++ head/sys/dev/isci/scil/sati_write_long.c    Fri Feb 23 20:01:42 2018        
(r329877)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to