ahci: use ports implemented map instead of num_ports