[Bug 221049] struct ata_params word 49 has bits for IORDY and IORDYDIS swapped

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 27 16:07:27 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221049

            Bug ID: 221049
           Summary: struct ata_params word 49 has bits for IORDY and
                    IORDYDIS swapped
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: aaron.styx at baesystems.com

Created attachment 184771
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184771&action=edit
Fix IORDY bits

In sys/sys/ata.h, word 49 of the struct ata_params defines ATA_SUPPORT_IORDYDIS
and ATA_SUPPORT_IORDY. According to the ATA spec, IORDYDIS should be bit 10,
IORDY should be bit 11. Attached a fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list