All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Cc: james.bottomley@suse.de, linux-scsi@vger.kernel.org,
	ravi.anand@qlogic.com
Subject: Re: [PATCH 4/7][RFC] qla4xxx: added Add host attributes to export host	information to sysfs.
Date: Tue, 11 May 2010 10:58:46 -0500	[thread overview]
Message-ID: <4BE97EB6.6060802@cs.wisc.edu> (raw)
In-Reply-To: <20100511075756.GA30505@sles11sp1b1.qlogic.org>

On 05/11/2010 02:57 AM, Vikas Chaudhary wrote:
> +struct device_attribute *qla4xxx_host_attrs[] = {
> +	&dev_attr_driver_version,

Are we still supposed to be using the MODULE_VERSION() and 
/sys/module/qla4xxx/version for this? It seems like that was given as a 
review comment for a while, but some drivers have added it and some have 
not.



> +	&dev_attr_fw_version,
> +	&dev_attr_serial_num,
> +	&dev_attr_isp_name,
> +	&dev_attr_fw_state,
> +	&dev_attr_board_id,
> +	&dev_attr_hba_reset,


I think resetting the host should be a common scsi_host sysfs attr in 
scsi_sysfs.c. It seems other drivers have added their own reset host 
files, so I am fine with this if other people are.



> +	&dev_attr_ip_state,

I think this should be a common iscsi sysfs file. If we are going to do 
the userspace lib over that translates driver specifics to a common api 
though, then I am fine with this.

      reply	other threads:[~2010-05-11 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11  7:57 [PATCH 4/7][RFC] qla4xxx: added Add host attributes to export host information to sysfs Vikas Chaudhary
2010-05-11 15:58 ` Mike Christie [this message]

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=4BE97EB6.6060802@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=james.bottomley@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ravi.anand@qlogic.com \
    --cc=vikas.chaudhary@qlogic.com \
    /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.