ahci: reimplement port_map handling