* [PATCH] resend add scsi_level to scsi_device sysfs attributes
[not found] <20030107165324.A17719@beaverton.ibm.com>
@ 2003-01-08 0:56 ` Patrick Mansfield
0 siblings, 0 replies; only message in thread
From: Patrick Mansfield @ 2003-01-08 0:56 UTC (permalink / raw)
To: JEJ Bottomley, linux-scsi
Hi -
[Resending and cc-ing linux-scsi properly.]
This simple patch adds scsi_level to the scsi_device sysfs attributes,
mainly for use with Doug Gilbert's lsscsi program.
--- 1.2/drivers/scsi/scsi_sysfs.c Tue Dec 3 00:53:21 2002
+++ edited/drivers/scsi/scsi_sysfs.c Mon Dec 30 14:11:10 2002
@@ -224,6 +224,7 @@
sdev_rd_attr (current_queue_depth, "%d\n");
sdev_rd_attr (new_queue_depth, "%d\n");
sdev_rd_attr (type, "%d\n");
+sdev_rd_attr (scsi_level, "%d\n");
sdev_rd_attr (access_count, "%d\n");
sdev_rd_attr (vendor, "%.8s\n");
sdev_rd_attr (model, "%.16s\n");
@@ -235,6 +236,7 @@
&dev_attr_current_queue_depth,
&dev_attr_new_queue_depth,
&dev_attr_type,
+ &dev_attr_scsi_level,
&dev_attr_access_count,
&dev_attr_vendor,
&dev_attr_model,
-- Patrick Mansfield
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-08 0:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20030107165324.A17719@beaverton.ibm.com>
2003-01-08 0:56 ` [PATCH] resend add scsi_level to scsi_device sysfs attributes Patrick Mansfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox