---
name: "ata_sas_port_alloc"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_sas_port_alloc"
---

# ata\_sas\_port\_alloc(9)

Allocate port for a SAS attached SATA device

## NAME

ata\_sas\_port\_alloc - Allocate port for a SAS attached SATA device

## SYNOPSIS

**struct ata\_port \* ata\_sas\_port\_alloc(struct ata\_host \*** *host***, struct ata\_port\_info \*** *port\_info***, struct Scsi\_Host \*** *shost***);**

## ARGUMENTS

*host*

ATA host container for all SAS ports

*port\_info*

Information from low-level host driver

*shost*

SCSI host that the scsi device is attached to

## DESCRIPTION

LOCKING: PCI/etc. bus probe sem.

## RETURN

ata\_port pointer on success / NULL on failure.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
