<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/scsi, branch v2.6.13</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2005-08-08T22:14:55Z</updated>
<entry>
<title>[SCSI] fix target scanning oops with fc transport class</title>
<updated>2005-08-08T22:14:55Z</updated>
<author>
<name>James.Smart@Emulex.Com</name>
<email>James.Smart@Emulex.Com</email>
</author>
<published>2005-06-11T02:24:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5c44cd2afad3f7b015542187e147a820600172f1'/>
<id>urn:sha1:5c44cd2afad3f7b015542187e147a820600172f1</id>
<content type='text'>
We have some nasty issues with 2.6.12-rc6. Any request to scan on
the lpfc or qla2xxx FC adapters will oops. What is happening is the
system is defaulting to non-transport registered targets, which
inherit the parent of the scan. On this second scan, performed by
the attribute, the parent becomes the shost instead of the rport.
The slave functions in the 2 FC adapters use starget_to_rport()
routines, which incorrectly map the shost as an rport pointer.

Additionally, this pointed out other weaknesses:
- If the target structure is torn down outside of the transport,
  we have no method for it to be regenerated at the proper parent.
- We have race conditions on the target being allocated by both
  the midlayer scan (parent=shost) and by the fc transport
  (parent=rport).

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fix function prototype warning</title>
<updated>2005-07-14T16:54:17Z</updated>
<author>
<name>James Bottomley</name>
<email>jejb@titanic.(none)</email>
</author>
<published>2005-07-14T16:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e10fb91c4dc81a4ae47caf0828df152f600f2546'/>
<id>urn:sha1:e10fb91c4dc81a4ae47caf0828df152f600f2546</id>
<content type='text'>
int_to_scsilun() takes a pointer to a struct scsi_lun in it's
prototype, so add this structure to scsi_device.h to avoid declaration
inside function prototype warnings.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] add int_to_scsilun() function</title>
<updated>2005-07-14T15:21:27Z</updated>
<author>
<name>James.Smart@Emulex.Com</name>
<email>James.Smart@Emulex.Com</email>
</author>
<published>2005-07-14T02:05:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2f4701d8274c8663f5c50323dc72fefa24b55091'/>
<id>urn:sha1:2f4701d8274c8663f5c50323dc72fefa24b55091</id>
<content type='text'>
One of the issues we had was reverting the midlayers lun value
into the 8byte lun value that we wanted to send to the device.
Historically, there's been some combination of byte swapping,
setting high/low, etc. There's also been no common thread between
how our driver did it and others.  I also got very confused as
to why byteswap routines were being used.

Anyway, this patch is a LLDD-callable function that reverts the
midlayer's lun value, stored in an int, to the 8-byte quantity
(note: this is not the real 8byte quantity, just the same amount
that scsilun_to_int() was able to convert and store originally).

This also solves the dilemma of the thread:
http://marc.theaimsgroup.com/?l=linux-kernel&amp;m=112116767118981&amp;w=2

A patch for the lpfc driver to use this function will be along
in a few days (batched with other patches).

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] add TYPE_RBC to our type table</title>
<updated>2005-07-11T17:38:33Z</updated>
<author>
<name>James Bottomley</name>
<email>James.Bottomley@steeleye.com</email>
</author>
<published>2005-05-21T15:24:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7f602c53939fdb1bca12151a28f9b90cde046fb1'/>
<id>urn:sha1:7f602c53939fdb1bca12151a28f9b90cde046fb1</id>
<content type='text'>
Here's a tiny update that means we print the correct ASCII type
information

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] remove scsi_cmnd-&gt;state</title>
<updated>2005-06-26T17:16:24Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2005-06-19T11:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8d115f845a0bd59cd263e791f739964f42b7b0e8'/>
<id>urn:sha1:8d115f845a0bd59cd263e791f739964f42b7b0e8</id>
<content type='text'>
We never look at it except for the old megaraid driver that abuses it
for sending internal commands.  That usage can be fixed easily because
those internal commands are single-threaded by a mutex and we can easily
use a completion there.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] remove scsi_cmnd-&gt;owner</title>
<updated>2005-06-26T17:15:28Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2005-06-19T11:40:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b4edcbcafdecc80ef5356ff6452768b1b926ea76'/>
<id>urn:sha1:b4edcbcafdecc80ef5356ff6452768b1b926ea76</id>
<content type='text'>
never checked anywhere

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] remove scsi_cmnd-&gt;abort_reason</title>
<updated>2005-06-26T17:14:46Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2005-06-19T11:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f5ad56145d43cdb68760bba3e14655ff6ae726aa'/>
<id>urn:sha1:f5ad56145d43cdb68760bba3e14655ff6ae726aa</id>
<content type='text'>
Never used for anything but printing it out in debug routines.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] remove scsi_cmnd.eh_state</title>
<updated>2005-06-26T17:14:10Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2005-06-19T11:39:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a4c8f6285165a7089edb2010dbd894148ca95d57'/>
<id>urn:sha1:a4c8f6285165a7089edb2010dbd894148ca95d57</id>
<content type='text'>
it's never set to anything, and just three broken drivers are looking
at it and doing odd things.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] remove scsi_set_device</title>
<updated>2005-06-26T13:31:47Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2005-06-10T23:05:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=12413197eef2a29e0b9fb0fa541f5cbaeb1d3f3f'/>
<id>urn:sha1:12413197eef2a29e0b9fb0fa541f5cbaeb1d3f3f</id>
<content type='text'>
scsi_add_host is the proper place to set the device, but people copy
the scsi_set_device usage from older drivers again and again.

note that this leaves some legacy drivers like qlogicisp/qlogicfc
without pci association in sysfs, but they're scheduled to go away soon
anyway.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround</title>
<updated>2005-06-24T07:05:28Z</updated>
<author>
<name>Markus Lidel</name>
<email>Markus.Lidel@shadowconnect.com</email>
</author>
<published>2005-06-24T05:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b2aaee33fbb354a2f08121aa1c1be55841102761'/>
<id>urn:sha1:b2aaee33fbb354a2f08121aa1c1be55841102761</id>
<content type='text'>
Changes:
 - Provide SG_IO access to BLOCK and EXECUTIVE class on Adaptec
   controllers
 - Use PRIVATE messages in SCSI-OSM because on some controllers normal
   SCSI class commands like READ or READ CAPACITY cause errors
 - Use new DMA and SG list creation function
 - Added workaround to limit sectors per request for Adaptec 2400A
   controllers

Signed-off-by: Markus Lidel &lt;Markus.Lidel@shadowconnect.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
