From: James Bottomley <James.Bottomley@SteelEye.com>
To: James.Smart@Emulex.Com
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/3] MidLayer updates - extending transport/attribute container changes
Date: Fri, 04 Feb 2005 16:57:32 -0600 [thread overview]
Message-ID: <1107557853.5557.82.camel@mulgrave> (raw)
In-Reply-To: <0B1E13B586976742A7599D71A6AC733C12EAB1@xbl3.ma.emulex.com>
On Sat, 2005-01-29 at 09:03 -0500, James.Smart@Emulex.Com wrote:
> Updates the recent transport container patch for :
> - allow device driver-specific attributes to be added to class objects
> - exposes classdev to transport via setup function
I'm not very keen on this for two reasons:
1) The driver should be tampering with class attributes. A class and
its attributes are the presentation of an interface. If the driver has
something more to add then surely that's an indication that the original
interface is missing pieces (i.e. every driver should have this) or that
the driver is trying to export a different interface (and so, logically
should use a new class. i.e. just add a transport_class to the driver
and everything will work nicely).
2) classdevs are sysfs's representation of the interface. I'd rather
they weren't exposed any more than necessary internally to avoid the
urge to hack the interface.
James
prev parent reply other threads:[~2005-02-04 22:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-29 14:03 [PATCH 1/3] MidLayer updates - extending transport/attribute container changes James.Smart
2005-02-04 22:57 ` James Bottomley [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=1107557853.5557.82.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=James.Smart@Emulex.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox