From 952f923749f53d51e3d72ad8a91de3b2003dc001 Mon Sep 17 00:00:00 2001 From: mav Date: Sat, 29 Jul 2017 13:54:28 +0000 Subject: [PATCH] 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 --- sys/sys/ata.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/ata.h b/sys/sys/ata.h index 0ed78ec8689c..4d3b3e7fecfb 100644 --- a/sys/sys/ata.h +++ b/sys/sys/ata.h @@ -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;