1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
This commit is contained in:
Alexander Motin 2017-07-29 13:54:28 +00:00
parent 1681d1de13
commit 088c1ddd56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321685

View File

@ -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;