1TRANSPORT_SETUP_DEVI(9)  Device drivers infrastructure TRANSPORT_SETUP_DEVI(9)
2
3
4

NAME

6       transport_setup_device - declare a new dev for transport class
7       association but donĀ“t make it visible yet.
8

SYNOPSIS

10       void transport_setup_device(struct device * dev);
11

ARGUMENTS

13       dev
14           the generic device representing the entity being added
15

DESCRIPTION

17       Usually, dev represents some component in the HBA system (either the
18       HBA itself or a device remote across the HBA bus). This routine is
19       simply a trigger point to see if any set of transport classes wishes to
20       associate with the added device. This allocates storage for the class
21       device and initialises it, but does not yet add it to the system or add
22       attributes to it (you do this with transport_add_device). If you have
23       no need for a separate setup and add operations, use
24       transport_register_device (see transport_class.h).
25
27Kernel Hackers Manual 2.6.         June 2019           TRANSPORT_SETUP_DEVI(9)
Impressum