Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       transport_setup_device   -  declare  a  new  dev  for  transport  class
       association

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

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