diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 9290e787abdc..d5b9f9689877 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -265,7 +265,7 @@ enum { PCS_7 = 0x94, /* 7+ port PCS (Denverton) */ /* em constants */ - EM_MAX_SLOTS = 8, + EM_MAX_SLOTS = SATA_PMP_MAX_PORTS, EM_MAX_RETRY = 5, /* em_ctl bits */