Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 13:54:28 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321685 - head/sys/sys
Message-ID:  <201707291354.v6TDsSFp083276@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sat Jul 29 13:54:28 2017
New Revision: 321685
URL: https://svnweb.freebsd.org/changeset/base/321685

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

Modified:
  head/sys/sys/ata.h

Modified: head/sys/sys/ata.h
==============================================================================
--- head/sys/sys/ata.h	Sat Jul 29 12:22:29 2017	(r321684)
+++ head/sys/sys/ata.h	Sat Jul 29 13:54:28 2017	(r321685)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707291354.v6TDsSFp083276>