]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.h
MdeModulePkg SataControllerDxe: Calculate ChannelCount based on PI value
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / SataControllerDxe / SataController.h
index 436eff2dc673dc44c8a5c413026dde6592778068..7ffd3e218a61119e6bc056705b8e654b06f73e6d 100644 (file)
@@ -44,6 +44,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gSataControllerComponentName2;
 #define R_AHCI_CAP 0x0\r
 #define   B_AHCI_CAP_NPS (BIT4 | BIT3 | BIT2 | BIT1 | BIT0) // Number of Ports\r
 #define   B_AHCI_CAP_SPM BIT17                              // Supports Port Multiplier\r
+#define R_AHCI_PI  0xC\r
 \r
 ///\r
 /// AHCI each channel can have up to 1 device\r