transport_setup_device

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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).