Skip to content

Commit

Permalink
[SCSI] scsi_transport_spi: convert to attribute groups
Browse files Browse the repository at this point in the history
This conversion makes full use of the is_visible() callback on attribute
groups.  Now, each device appears only with its capability flags in the
transport class directory.  Previously each device appeared with the
capability of the host, so this is a functionality improvement.
Converting to attribute groups allows us to sweep away most of the home
grown #defines that were effectively doing the same thing.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
James Bottomley authored and James Bottomley committed Jan 23, 2008
1 parent d4acd72 commit 9b161a4
Showing 1 changed file with 176 additions and 82 deletions.
Loading

0 comments on commit 9b161a4

Please sign in to comment.