---
name: "transport_setup_device"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/transport_setup_device"
---

# transport\_setup\_device(9)

declare a new dev for transport class association but don't make it visible yet.

## NAME

transport\_setup\_device - declare a new dev for transport class association but don't make it visible yet.

## SYNOPSIS

**void transport\_setup\_device(struct device \*** *dev***);**

## ARGUMENTS

*dev*

the generic device representing the entity being added

## DESCRIPTION

Usually, dev represents some component in the HBA system (either the HBA itself or a device remote across the HBA bus). This routine is simply a trigger point to see if any set of transport classes wishes to associate with the added device. This allocates storage for the class device and initialises it, but does not yet add it to the system or add attributes to it (you do this with transport\_add\_device). If you have no need for a separate setup and add operations, use transport\_register\_device (see transport\_class.h).

## COPYRIGHT
