Skip to contentSkip to conversation

What layer are "transport classes" in?

DISCUSSION Rob Landley 3 participants 3 messages Oct 25, 2007 – Oct 26, 2007 SCSI

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.
#1 lore raw
Quoted 3 lines · Rob Landley

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).

Quoted 2 lines

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

#2 lore raw
Quoted 7 lines · James Bottomley
Quoted 3 lines · Rob Landley

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).

^^^^^^^

Quoted 5 lines
Quoted 2 lines

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.)

Signature · 3 lines
Stefan Richter
-=====-=-=== =-=- ==-=-
http://arcgraph.de/sr/