---
name: "scsi_add_host"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/scsi_add_host"
---

# scsi\_add\_host(9)

add a scsi host

## NAME

scsi\_add\_host - add a scsi host

## SYNOPSIS

**int scsi\_add\_host(struct Scsi\_Host \*** *shost***, struct device \*** *dev***);**

## ARGUMENTS

*shost*

scsi host pointer to add

*dev*

a struct device of type scsi class

## RETURN VALUE

0 on success / != 0 for error

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

-

  Author.

**Rob Landley** \<rob@landley.net\>

-

  Author.

## COPYRIGHT
