ata: Don't try to use non-existent ports