]> git.hungrycats.org Git - linux/commit
[PATCH] move over exposing host attributes from sg/procfs to sysfs
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Feb 2003 12:45:26 +0000 (06:45 -0600)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Fri, 21 Feb 2003 12:45:26 +0000 (06:45 -0600)
commit2e8a9a3f70d46d90f77ed02abf10e93b0c22df82
tree8d67738f28ff7102035129294d4c64b3a2490e00
parentb85a1f8bd7ff9256cc35b854695507f8375499a4
[PATCH] move over exposing host attributes from sg/procfs to sysfs

This patch moves over printing of the various struct Scsi_Host
attributes from procfs functions in the sg driver to sysfs.

Not only is this the much more logical place for them, but with some
more work on the pcmcia drivers this will allow us to make
scsi_host_get_next() private to the midlayer for implementing
refcounting and cleaning up locking in that area.
drivers/scsi/scsi_sysfs.c
drivers/scsi/sg.c