diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index ad11a4c52fbeb9..6f3286c8506d3d 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -252,7 +252,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 */