All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Mansfield <patmans@us.ibm.com>
To: JEJ Bottomley <James.Bottomley@SteelEye.com>, linux-scsi@vger.kernel.org
Subject: [PATCH] resend add scsi_level to scsi_device sysfs attributes
Date: Tue, 7 Jan 2003 16:56:59 -0800	[thread overview]
Message-ID: <20030107165659.A17757@beaverton.ibm.com> (raw)
In-Reply-To: <20030107165324.A17719@beaverton.ibm.com>; from patmans@us.ibm.com on Tue, Jan 07, 2003 at 04:53:24PM -0800

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

           reply	other threads:[~2003-01-08  0:56 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20030107165324.A17719@beaverton.ibm.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030107165659.A17757@beaverton.ibm.com \
    --to=patmans@us.ibm.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.