diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-03-18 14:14:21 -0600 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-19 10:19:51 -0600 |
commit | 6bdaa1f17dd32ec62345c7b57842f53e6278a2fa (patch) | |
tree | fd84576b5b62a48676ed3a9ef136a3f653431cc7 /drivers/net/3c505.c | |
parent | 5baba830e93732e802dc7e0a362eb730e1917f58 (diff) | |
download | linux-6bdaa1f17dd32ec62345c7b57842f53e6278a2fa.tar.gz linux-6bdaa1f17dd32ec62345c7b57842f53e6278a2fa.tar.bz2 linux-6bdaa1f17dd32ec62345c7b57842f53e6278a2fa.zip |
[SCSI] allow displaying and setting of cache type via sysfs
I think I promised to do this two years ago
This patch adds a scsi_disk class with the cache type and FUA
parameters, so user land application can easily obtain them without
having to parse dmesg. It also allows setting the cache type (use with
care...)
This patch is a bit dangerous because I've replaced the disk kref with a
class device reference ...
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/net/3c505.c')
0 files changed, 0 insertions, 0 deletions