Author: mav
Date: Sat Aug  5 08:37:38 2017
New Revision: 322081
URL: https://svnweb.freebsd.org/changeset/base/322081

Log:
  MFC r321685: Fix IORDY bits definition.
  
  According to the ATA specs, IORDYDIS should be bit 10, IORDY -- bit 11.
  
  PR:             221049
  Submitted by:   aaron.s...@baesystems.com

Modified:
  stable/10/sys/sys/ata.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/ata.h
==============================================================================
--- stable/10/sys/sys/ata.h     Sat Aug  5 08:37:08 2017        (r322080)
+++ stable/10/sys/sys/ata.h     Sat Aug  5 08:37:38 2017        (r322081)
@@ -68,8 +68,8 @@ struct ata_params {
 /*049*/ u_int16_t       capabilities1;
 #define ATA_SUPPORT_DMA                 0x0100
 #define ATA_SUPPORT_LBA                 0x0200
-#define ATA_SUPPORT_IORDY               0x0400
-#define ATA_SUPPORT_IORDYDIS            0x0800
+#define ATA_SUPPORT_IORDYDIS            0x0400
+#define ATA_SUPPORT_IORDY               0x0800
 #define ATA_SUPPORT_OVERLAP             0x4000
 
 /*050*/ u_int16_t       capabilities2;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to