Skip to content
Commit d0a7e574 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] correct transport class abstraction to work outside SCSI



I recently tried to construct a totally generic transport class and
found there were certain features missing from the current abstract
transport class.  Most notable is that you have to hang the data on the
class_device but most of the API is framed in terms of the generic
device, not the class_device.

These changes are two fold

- Provide the class_device to all of the setup and configure APIs
- Provide and extra API to take the device and the attribute class and
  return the corresponding class_device

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 10c1b889
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment