You can try the following things-
- you can try different SATA ports,
-Check if your SATA controller is disabled somehow, if it is enable it or you can use the default settings of your BIOS,
-I suppose, you use SSD as your primary drive. If so, try to enable AHCI mode and see if it works..
If any of these doesn't help may be your SATA controller is dead. In that case you need to send you motherboard for servicing. I hope you have warrantee.