I've bought a new Samsung evo 870 SSD but now it seems I only have 2 sata ports working, the ssd and cable is not the issue, I swapped the cable on the same port and it get recognized, any other slot doesn't appear to work..
I have an asus prime Z370-A