Line 41:
Line 41:
{{regsimple|SATA_HCCFG_INTMSK_REG|addr=0x0d160804|bits=32|access=R/W}}
{{regsimple|SATA_HCCFG_INTMSK_REG|addr=0x0d160804|bits=32|access=R/W}}
This register contains the IRQ mask bits. If a bit is set, then the corresponding flag bit will cause Latte IRQ LT #7 to be asserted.
This register contains the IRQ mask bits. If a bit is set, then the corresponding flag bit will cause Latte IRQ LT #7 to be asserted.
−
−
== ATAPI commands ==
−
Besides commands defined in the ATAPI specification, the Wii U also seems to have some custom commands.
−
−
=== 0xDA - ATAPI_DI_READ_DISC_INFORMATION_CMD ===
−
−
=== 0xE0 - ATAPI_DI_REQUEST_ERROR_ID_CMD ===
−
−
=== 0xED - ATAPI_DI_READ_CBC_CMD ===
−
−
=== 0xF0 - ATAPI_CF_REQUEST_DRIVE_ID_CMD ===
−
−
=== 0xF1 - ATAPI_CF_AUTHENTICATE_CMD ===
−
−
=== 0xF2 - ATAPI_CF_START_STOP_UNIT_CMD ===
−
−
=== 0xF3 - ATAPI_CF_READ_CMD ===
−
−
=== 0xF4 - ATAPI_CF_TEST_UNIT_READY_CMD ===
−
−
=== 0xF5 - ATAPI_CF_INQUIRY_CMD ===
−
{| class="wikitable"
−
|-
−
! Offset
−
! Size
−
! Description
−
|-
−
| 0x00
−
| 0x02
−
| Unknown
−
|-
−
| 0x02
−
| 0x01
−
| Vendor
−
|-
−
| 0x03
−
| 0x01
−
| Device
−
|-
−
| 0x04
−
| 0x1C
−
| Unknown
−
|-
−
| 0x20
−
| -
−
| End
−
|}
−
−
=== 0xFB - ATAPI_CF_FREC_READ_CMD ===
== See Also ==
== See Also ==
[https://www.intel.in/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1_2.pdf AHCI 1.2 spec]
[https://www.intel.in/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1_2.pdf AHCI 1.2 spec]