From: Greg KH <greg@kroah.com>
To: Christoph Hellwig <hch@infradead.org>,
mike.miller@hp.com, linux-kernel@vger.kernel.org,
mochel@osdl.org, akpm@osdl.org, eric.moore@lsil.com,
linux-scsi@vger.kernel.org
Subject: Re: cciss CSMI via sysfs for 2.6
Date: Fri, 18 Feb 2005 12:05:52 -0800 [thread overview]
Message-ID: <20050218200552.GC20171@kroah.com> (raw)
In-Reply-To: <20050218194628.GA24583@infradead.org>
On Fri, Feb 18, 2005 at 07:46:28PM +0000, Christoph Hellwig wrote:
> > /*
> > + * sysfs stuff
> > + * this should be moved to it's own file, maybe cciss_sysfs.h
> > + */
> > +
> > +static ssize_t cciss_firmver_show(struct device *dev, char *buf)
> > +{
> > + ctlr_info_t *h = dev->driver_data;
> > + return sprintf(buf,"%c%c%c%c\n", h->firm_ver[0], h->firm_ver[1],
> > + h->firm_ver[2], h->firm_ver[3]);
> > +}
>
> I really wish we had a common firmver release attribut in the driver
> core, as mentioned in the fc transport class thread. Greg?
For a device? It seems a huge overkill to add this attribute for
_every_ device in the system, when only a small minority can actually
use it. Just put it as a default scsi or transport class attribute
instead.
thanks,
greg k-h
next prev parent reply other threads:[~2005-02-18 21:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050216164512.GA5734@beardog.cca.cpqcorp.net>
2005-02-18 19:46 ` cciss CSMI via sysfs for 2.6 Christoph Hellwig
2005-02-18 20:05 ` Greg KH [this message]
2005-02-18 22:42 ` James Bottomley
2005-03-02 5:15 ` Christoph Hellwig
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=20050218200552.GC20171@kroah.com \
--to=greg@kroah.com \
--cc=akpm@osdl.org \
--cc=eric.moore@lsil.com \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mike.miller@hp.com \
--cc=mochel@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox