---
name: "ata_host_detach"
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_host_detach"
---

# ata\_host\_detach(9)

Detach all ports of an ATA host

## NAME

ata\_host\_detach - Detach all ports of an ATA host

## SYNOPSIS

**void ata\_host\_detach(struct ata\_host \*** *host***);**

## ARGUMENTS

*host*

Host to detach

## DESCRIPTION

Detach all ports of *host*.

LOCKING: Kernel thread context (may sleep).

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
