<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/scsi/sas_ata.h, branch v2.6.28.4</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>[SCSI] libsas: fix missing inlines in header file</title>
<updated>2008-04-07T17:19:10+00:00</updated>
<author>
<name>James Bottomley</name>
<email>James.Bottomley@HansenPartnership.com</email>
</author>
<published>2008-04-03T14:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=79bc14813cd7e1b75d2e4cbbc17043261cf4bcdc'/>
<id>79bc14813cd7e1b75d2e4cbbc17043261cf4bcdc</id>
<content type='text'>
Two functions in include/scsi/sas_ata.h don't have static inlines
leading to problems if they're built in:

On Thu, 2008-04-03 at 14:06 +0200, Toralf Förster wrote:
&gt; drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
&gt; mvsas.c:(.text+0x0): multiple definition of `sas_ata_init_host_and_port'
&gt; drivers/scsi/libsas/built-in.o:(.text+0x37f4): first defined here
&gt; drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
&gt; mvsas.c:(.text+0x7): multiple definition of `sas_ata_task_abort'
&gt; drivers/scsi/libsas/built-in.o:(.text+0x37fb): first defined here
&gt; make[2]: *** [drivers/scsi/built-in.o] Error 1
&gt; make[1]: *** [drivers/scsi] Error 2
&gt; make: *** [drivers] Error 2

Add the correct static inline modifiers.

Tested-by: Toralf Förster &lt;toralf.foerster@gmx.de&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two functions in include/scsi/sas_ata.h don't have static inlines
leading to problems if they're built in:

On Thu, 2008-04-03 at 14:06 +0200, Toralf Förster wrote:
&gt; drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
&gt; mvsas.c:(.text+0x0): multiple definition of `sas_ata_init_host_and_port'
&gt; drivers/scsi/libsas/built-in.o:(.text+0x37f4): first defined here
&gt; drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
&gt; mvsas.c:(.text+0x7): multiple definition of `sas_ata_task_abort'
&gt; drivers/scsi/libsas/built-in.o:(.text+0x37fb): first defined here
&gt; make[2]: *** [drivers/scsi/built-in.o] Error 1
&gt; make[1]: *** [drivers/scsi] Error 2
&gt; make: *** [drivers] Error 2

Add the correct static inline modifiers.

Tested-by: Toralf Förster &lt;toralf.foerster@gmx.de&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] libsas: make ATA functions selectable by a config option</title>
<updated>2007-07-22T18:23:13+00:00</updated>
<author>
<name>James Bottomley</name>
<email>James.Bottomley@steeleye.com</email>
</author>
<published>2007-07-22T18:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b91421749a1840148d8c81637c03c0ace3f35269'/>
<id>b91421749a1840148d8c81637c03c0ace3f35269</id>
<content type='text'>
Not everyone wants libsas automatically to pull in libata.  This patch
makes the behaviour configurable, so you can build libsas with or
without ATA support.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not everyone wants libsas automatically to pull in libata.  This patch
makes the behaviour configurable, so you can build libsas with or
without ATA support.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] sas_ata: Implement sas_task_abort for ATA devices</title>
<updated>2007-07-18T16:16:03+00:00</updated>
<author>
<name>Darrick J. Wong</name>
<email>djwong@us.ibm.com</email>
</author>
<published>2007-01-30T09:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3a2755af37b317d47fdc3dd15178adaf5d47263e'/>
<id>3a2755af37b317d47fdc3dd15178adaf5d47263e</id>
<content type='text'>
ATA devices need special handling for sas_task_abort.  If the ATA command
came from SCSI, then we merely need to tell SCSI to abort the scsi_cmnd.
However, internal commands require a bit more work--we need to fill the qc
with the appropriate error status and complete the command, and eventually
post_internal will issue the actual ABORT TASK.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ATA devices need special handling for sas_task_abort.  If the ATA command
came from SCSI, then we merely need to tell SCSI to abort the scsi_cmnd.
However, internal commands require a bit more work--we need to fill the qc
with the appropriate error status and complete the command, and eventually
post_internal will issue the actual ABORT TASK.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] Migrate libsas ATA code into a separate file</title>
<updated>2007-07-18T16:14:40+00:00</updated>
<author>
<name>Darrick J. Wong</name>
<email>djwong@us.ibm.com</email>
</author>
<published>2006-10-18T21:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=338ec57003ff9d7bc1471677e61872455977a5de'/>
<id>338ec57003ff9d7bc1471677e61872455977a5de</id>
<content type='text'>
This is a respin of my earlier patch that migrates the ATA support code
into a separate file.  For now, the controversial linking bits have
been removed per James Bottomley's request for a patch that contains
only the migration diffs, which means that libsas continues to require
libata.  I intend to address that problem in a separate patch.

This patch is against the aic94xx-sas-2.6 git tree, and it has been
sanity tested on my x206m with Seagate SATA and SAS disks without
uncovering any new problems.

Signed-off-by: Darrick J. Wong &lt;djwong@us.ibm.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a respin of my earlier patch that migrates the ATA support code
into a separate file.  For now, the controversial linking bits have
been removed per James Bottomley's request for a patch that contains
only the migration diffs, which means that libsas continues to require
libata.  I intend to address that problem in a separate patch.

This patch is against the aic94xx-sas-2.6 git tree, and it has been
sanity tested on my x206m with Seagate SATA and SAS disks without
uncovering any new problems.

Signed-off-by: Darrick J. Wong &lt;djwong@us.ibm.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
