public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* What layer are "transport classes" in?
@ 2007-10-25 22:13 Rob Landley
  2007-10-25 22:15 ` James Bottomley
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Landley @ 2007-10-25 22:13 UTC (permalink / raw)
  To: linux-scsi

Looking at the scsi_transport_*.c files...  Are these part of the lower layer 
or the midlayer?  I _think_ these exist primarily to expose information about 
the lower layers through sysfs, but I'm very fuzzy on this...

Should they be documented as part of the lower layer or the midlayer or are 
they their own area...?

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What layer are "transport classes" in?
  2007-10-25 22:13 What layer are "transport classes" in? Rob Landley
@ 2007-10-25 22:15 ` James Bottomley
  2007-10-26 14:43   ` Stefan Richter
  0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2007-10-25 22:15 UTC (permalink / raw)
  To: Rob Landley; +Cc: linux-scsi

On Thu, 2007-10-25 at 17:13 -0500, Rob Landley wrote:
> Looking at the scsi_transport_*.c files...  Are these part of the lower layer 
> or the midlayer?  I _think_ these exist primarily to expose information about 
> the lower layers through sysfs, but I'm very fuzzy on this...

They're part of the mid layer (the lower layer is simply all the
drivers).

> Should they be documented as part of the lower layer or the midlayer or are 
> they their own area...?

They should be documented on their own.  They're basically service
libraries and sysfs export helpers for drivers.

James



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What layer are "transport classes" in?
  2007-10-25 22:15 ` James Bottomley
@ 2007-10-26 14:43   ` Stefan Richter
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Richter @ 2007-10-26 14:43 UTC (permalink / raw)
  To: James Bottomley; +Cc: Rob Landley, linux-scsi

James Bottomley wrote:
> On Thu, 2007-10-25 at 17:13 -0500, Rob Landley wrote:
>> Looking at the scsi_transport_*.c files...  Are these part of the lower layer 
>> or the midlayer?  I _think_ these exist primarily to expose information about 
>> the lower layers through sysfs, but I'm very fuzzy on this...
> 
> They're part of the mid layer (the lower layer is simply all the
> drivers).
  ^^^^^^^
>> Should they be documented as part of the lower layer or the midlayer or are 
>> they their own area...?
> 
> They should be documented on their own.  They're basically service
> libraries and sysfs export helpers for drivers.
                                         ^^^^^^^
(Rob, in case it's not already clear from context, James is referring
with "drivers" only to low-level drivers here, not to the high-level
drivers sd, sg, sr, st, osst, ch.)
-- 
Stefan Richter
-=====-=-=== =-=- ==-=-
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-26 14:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 22:13 What layer are "transport classes" in? Rob Landley
2007-10-25 22:15 ` James Bottomley
2007-10-26 14:43   ` Stefan Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox