transport_class.c (2fc2991175bf77395e6b15fe6b2304d3bf72da40) | transport_class.c (0643245f595dc175c14245fa1e1e9efda3e12f2a) |
---|---|
1/* 2 * transport_class.c - implementation of generic transport classes 3 * using attribute_containers 4 * 5 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> 6 * 7 * This file is licensed under GPLv2 8 * --- 112 unchanged lines hidden (view full) --- 121 122 if (tclass->setup) 123 tclass->setup(tcont, dev, classdev); 124 125 return 0; 126} 127 128/** | 1/* 2 * transport_class.c - implementation of generic transport classes 3 * using attribute_containers 4 * 5 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> 6 * 7 * This file is licensed under GPLv2 8 * --- 112 unchanged lines hidden (view full) --- 121 122 if (tclass->setup) 123 tclass->setup(tcont, dev, classdev); 124 125 return 0; 126} 127 128/** |
129 * transport_setup_device - declare a new dev for transport class association 130 * but don't make it visible yet. 131 * | 129 * transport_setup_device - declare a new dev for transport class association but don't make it visible yet. |
132 * @dev: the generic device representing the entity being added 133 * 134 * Usually, dev represents some component in the HBA system (either 135 * the HBA itself or a device remote across the HBA bus). This 136 * routine is simply a trigger point to see if any set of transport 137 * classes wishes to associate with the added device. This allocates 138 * storage for the class device and initialises it, but does not yet 139 * add it to the system or add attributes to it (you do this with --- 141 unchanged lines hidden --- | 130 * @dev: the generic device representing the entity being added 131 * 132 * Usually, dev represents some component in the HBA system (either 133 * the HBA itself or a device remote across the HBA bus). This 134 * routine is simply a trigger point to see if any set of transport 135 * classes wishes to associate with the added device. This allocates 136 * storage for the class device and initialises it, but does not yet 137 * add it to the system or add attributes to it (you do this with --- 141 unchanged lines hidden --- |