---
name: "ata_host_add"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_host_add"
---

# ata\_host\_add(9)

Attach low-level ATA driver to system

## NAME

ata\_host\_add - Attach low-level ATA driver to system

## SYNOPSIS

**struct ata\_port \* ata\_host\_add(const struct ata\_probe\_ent \*** *ent***, struct ata\_host\_set \*** *host\_set***, unsigned int** *port\_no***);**

## ARGUMENTS

*ent*

Information provided by low-level driver

*host\_set*

Collections of ports to which we add

*port\_no*

Port number associated with this host

## DESCRIPTION

Attach low-level ATA driver to system.

## LOCKING

PCI/etc. bus probe sem.

## RETURNS

New ata\_port on success, for NULL on error.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
