<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/scsi/scsi_device.h, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-12-14T17:51:01Z</updated>
<entry>
<title>esp_scsi: fix reset cleanup spinlock recursion</title>
<updated>2007-12-14T17:51:01Z</updated>
<author>
<name>Maciej W. Rozycki</name>
</author>
<published>2007-12-10T23:49:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79aa197996fd187b0935e6c3369e8f73edf2cd9f'/>
<id>urn:sha1:79aa197996fd187b0935e6c3369e8f73edf2cd9f</id>
<content type='text'>
patch 522939d45c293388e6a360210905f9230298df16 in mainline.

The esp_reset_cleanup() function is called with the host lock held and
invokes starget_for_each_device() which wants to take it too.  Here is a
fix along the lines of shost_for_each_device()/__shost_for_each_device()
adding a __starget_for_each_device() counterpart which assumes the lock
has already been taken.

Eventually, I think the driver should get modified so that more work is
done as a softirq rather than in the interrupt context, but for now it
fixes a bug that causes the spinlock debugger to fire.

While at it, it fixes a small number of cosmetic problems with
starget_for_each_device() too.

Signed-off-by: Maciej W. Rozycki &lt;macro@linux-mips.org&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[SCSI] Remove unused method scsi_device_cancel</title>
<updated>2007-07-14T21:01:16Z</updated>
<author>
<name>Priyanka Gupta</name>
</author>
<published>2007-06-19T21:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0f656cad313bb04a151273bb57e108b2cc9876f'/>
<id>urn:sha1:d0f656cad313bb04a151273bb57e108b2cc9876f</id>
<content type='text'>
Removes an obsolete method scsi_device_cancel which isn't being used
anywhere in the kernel.

Signed-off-by: Priyanka Gupta &lt;priyankag@google.com&gt;
Acked-by: Grant Grundler &lt;grundler@parisc-linux.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] zfcp: Report FCP LUN to SCSI midlayer</title>
<updated>2007-06-20T02:51:02Z</updated>
<author>
<name>Christof Schmitt</name>
</author>
<published>2007-06-19T08:25:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=462b7859a07c9c2b060fa2b5b1d49f8b33706d4e'/>
<id>urn:sha1:462b7859a07c9c2b060fa2b5b1d49f8b33706d4e</id>
<content type='text'>
When reporting SCSI devices to the SCSI midlayer, use the FCP LUN as
LUN reported to the SCSI layer. With this approach, zfcp does not have
to create unique LUNS, and this code can be removed.

Signed-off-by: Christof Schmitt &lt;christof.schmitt@de.ibm.com&gt;
Signed-off-by: Swen Schillig &lt;swen@vnet.ibm.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] modalias for scsi devices</title>
<updated>2007-04-17T22:15:04Z</updated>
<author>
<name>Michael Tokarev</name>
</author>
<published>2006-10-27T12:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7b8bcb0a0819315a51cae620ff7ae0c1704c069'/>
<id>urn:sha1:d7b8bcb0a0819315a51cae620ff7ae0c1704c069</id>
<content type='text'>
The following patch adds support for sysfs/uevent modalias
attribute for scsi devices (like disks, tapes, cdroms etc),
based on whatever current sd.c, sr.c, st.c and osst.c drivers
supports.

The modalias format is like this:

 scsi:type-0x04

(for TYPE_WORM, handled by sr.c now).

Several comments.

o This hexadecimal type value is because all TYPE_XXX constants
  in include/scsi/scsi.h are given in hex, but __stringify() will
  not convert them to decimal (so it will NOT be scsi:type-4).
  Since it does not really matter in which format it is, while
  both modalias in module and modalias attribute match each other,
  I descided to go for that 0x%02x format (and added a comment in
  include/scsi/scsi.h to keep them that way), instead of changing
  them all to decimal.

o There was no .uevent routine for SCSI bus.  It might be a good
  idea to add some more ueven environment variables in there.

o osst.c driver handles tapes too, like st.c, but only SOME tapes.
  With this setup, hotplug scripts (or whatever is used by the
  user) will try to load both st and osst modules for all SCSI
  tapes found, because both modules have scsi:type-0x01 alias).
  It is not harmful, but one extra module is no good either.
  It is possible to solve this, by exporting more info in
  modalias attribute, including vendor and device identification
  strings, so that modalias becomes something like
    scsi:type-0x12:vendor-Adaptec LTD:device-OnStream Tape Drive
  and having that, match for all 3 attributes, not only device
  type.  But oh well, vendor and device strings may be large,
  and they do contain spaces and whatnot.
  So I left them for now, awaiting for comments first.

Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] sd: implement START/STOP management</title>
<updated>2007-03-20T17:06:20Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2007-03-20T15:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3c94c5a2fb43a654e777f509d5032b0db8ed09f'/>
<id>urn:sha1:c3c94c5a2fb43a654e777f509d5032b0db8ed09f</id>
<content type='text'>
Implement SBC START/STOP management.  sdev-&gt;mange_start_stop is added.
When it's set to one, sd STOPs the device on suspend and shutdown and
STARTs it on resume.  sdev-&gt;manage_start_stop defaults is in sdev
instead of scsi_disk cdev to allow -&gt;slave_config() override the
default configuration but is exported under scsi_disk sysfs node as
sdev-&gt;allow_restart is.

When manage_start_stop is zero (the default value), this patch doesn't
introduce any behavior change.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;

Rejections fixed and
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] Make error printing more verbose</title>
<updated>2007-03-11T16:17:49Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2007-02-28T03:40:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4d04a4cd9881e89fdc62107b6b57053438f2b30'/>
<id>urn:sha1:a4d04a4cd9881e89fdc62107b6b57053438f2b30</id>
<content type='text'>
This patch enhances SCSI error printing by:

 - Making use of scsi_print_result() in the completion functions.

 - Having scmd_printk() output the disk name (when applicable).

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>USB Storage: indistinguishable devices with broken and unbroken firmware</title>
<updated>2007-02-16T23:32:19Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2007-02-08T08:04:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61bf54b71d5abf767ee46284be19965d7253ddbf'/>
<id>urn:sha1:61bf54b71d5abf767ee46284be19965d7253ddbf</id>
<content type='text'>
there's a USB mass storage device which exists in two version. One
reports the correct size and the other does not. Apart from that they
are identical and cannot be told apart. Here's a heuristic based on the
empirical finding that drives have even sizes.


Signed-off-by: Oliver Neukum &lt;oneukum@suse.de&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Acked-by: Matthew Dharm &lt;mdharm-usb@one-eyed-alien.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>[SCSI] Add ability to scan scsi busses asynchronously</title>
<updated>2006-10-11T18:44:25Z</updated>
<author>
<name>Matthew Wilcox</name>
</author>
<published>2006-09-28T21:19:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e082a910d217b2e7b186077ebf5a1126a68c62f'/>
<id>urn:sha1:3e082a910d217b2e7b186077ebf5a1126a68c62f</id>
<content type='text'>
Since it often takes around 20-30 seconds to scan a scsi bus, it's
highly advantageous to do this in parallel with other things.  The bulk
of this patch is ensuring that devices don't change numbering, and that
all devices are discovered prior to trying to start init.  For those
who build SCSI as modules, there's a new scsi_wait_scan module that will
ensure all bus scans are finished.

This patch only handles drivers which call scsi_scan_host.  Fibre Channel,
SAS, SATA, USB and Firewire all need additional work.

Signed-off-by: Matthew Wilcox &lt;matthew@wil.cx&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] scsi: device_reprobe() can fail</title>
<updated>2006-10-01T02:33:43Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2006-10-01T01:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb5d9e0948122dd8b808550574d95bd60674ba3b'/>
<id>urn:sha1:cb5d9e0948122dd8b808550574d95bd60674ba3b</id>
<content type='text'>
device_reprobe() should return an error code.  When it does so,
scsi_device_reprobe() should propagate it back.

Acked-by: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] add scsi_mode_select to scsi_lib.c</title>
<updated>2006-03-19T16:19:14Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2006-03-18T20:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5baba830e93732e802dc7e0a362eb730e1917f58'/>
<id>urn:sha1:5baba830e93732e802dc7e0a362eb730e1917f58</id>
<content type='text'>
This complements the scsi_mode_sense() function

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
</feed>
