<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ide/ppc, branch v2.6.21.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/ide/ppc?h=v2.6.21.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/ide/ppc?h=v2.6.21.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2007-03-17T20:57:25Z</updated>
<entry>
<title>scc_pata: dependency fix</title>
<updated>2007-03-17T20:57:25Z</updated>
<author>
<name>Kou Ishizaki</name>
<email>kou.ishizaki@toshiba.co.jp</email>
</author>
<published>2007-03-17T20:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a1067db8ebae6817a66fd4e40e34699f402c2544'/>
<id>urn:sha1:a1067db8ebae6817a66fd4e40e34699f402c2544</id>
<content type='text'>
This patch fixes:
* the dependency of scc_pata on BLK_DEV_IDEDMA_PCI
* incorrect link to ide-core
* move scc_pata from ide/ppc to ide/pci

Signed-off-by: Kou Ishizaki &lt;kou.ishizaki@toshiba.co.jp&gt;
Signed-off-by: Akira Iguchi &lt;akira2.iguchi@toshiba.co.jp&gt;
Cc: Al Viro &lt;viro@ftp.linux.org.uk&gt;,
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>scc_pata: bugfix for checking DMA IRQ status</title>
<updated>2007-03-03T16:48:55Z</updated>
<author>
<name>Akira Iguchi</name>
<email>akira2.iguchi@toshiba.co.jp</email>
</author>
<published>2007-03-03T16:48:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=06a9952b8379c48df972023f648014a82582c23a'/>
<id>urn:sha1:06a9952b8379c48df972023f648014a82582c23a</id>
<content type='text'>
On Tuesday 27 February 2007, Akira Iguchi wrote:
&gt;
&gt; But since I sent the first patch, I found a bug for checking DMA IRQ status.
&gt; (http://www.spinics.net/lists/linux-ide/msg06903.html)
&gt; Then I sent the fixed patch for libata only. So my drivers/ide patch
&gt; still has same bug and I want to fix it, too.
&gt;
&gt; The following patch fixes this bug. Please apply this patch.

From: Akira Iguchi &lt;akira2.iguchi@toshiba.co.jp&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: fix pmac breakage</title>
<updated>2007-03-03T16:48:54Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2007-03-03T16:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9e5755bce00bb563739aeb0f09932a1907521167'/>
<id>urn:sha1:9e5755bce00bb563739aeb0f09932a1907521167</id>
<content type='text'>
Fix breakage added in the IDE devel tree.

Add header, then fix

drivers/ide/ppc/pmac.c: In function `pmac_ide_setup_dma':
drivers/ide/ppc/pmac.c:2044: warning: assignment from incompatible pointer type
drivers/ide/ppc/pmac.c: In function `pmac_ide_dma_host_on':
drivers/ide/ppc/pmac.c:1989: warning: control reaches end of non-void function
include/linux/pci.h: In function `pmac_ide_init':
drivers/ide/ppc/pmac.c:1563: warning: ignoring return value of `pci_register_driver', declared with attribute warn_unused_result

Then add some apparently-long-missing error handling.

Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: make ide_hwif_t.ide_dma_host_on void (v2)</title>
<updated>2007-02-17T01:40:26Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ccf352894ceef79d40d015e1deee4c46c3aa42ed'/>
<id>urn:sha1:ccf352894ceef79d40d015e1deee4c46c3aa42ed</id>
<content type='text'>
* since ide_hwif_t.ide_dma_host_on is called either when drive-&gt;using_dma == 1
  or when return value is discarded make it void, also drop "ide_" prefix
* make __ide_dma_host_on() void and drop "__" prefix

v2:
* while at it rename atiixp_ide_dma_host_on() to atiixp_dma_host_on()
  and sgiioc4_ide_dma_host_on() to sgiioc4_dma_host_on().
  [ Noticed by Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;. ]

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
<entry>
<title>ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2)</title>
<updated>2007-02-17T01:40:26Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7469aaf6a30f4187ed6de7c0aed5c2dd2d1c2d31'/>
<id>urn:sha1:7469aaf6a30f4187ed6de7c0aed5c2dd2d1c2d31</id>
<content type='text'>
* since ide_hwif_t.ide_dma_{host_off,off_quietly} always return '0'
  make these functions void and while at it drop "ide_" prefix
* fix comment for __ide_dma_off_quietly()
* make __ide_dma_{host_off,off_quietly,off}() void and drop "__" prefix

v2:
* while at it rename atiixp_ide_dma_host_off() to atiixp_dma_host_off(),
  sgiioc4_ide_dma_{host_off,off_quietly}() to sgiioc4_dma_{host_off,off_quietly}()
  and sl82c105_ide_dma_off_quietly() to sl82c105_dma_off_quietly()
  [ Noticed by Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;. ]

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
<entry>
<title>ide: add ide_set_dma() helper (v2)</title>
<updated>2007-02-17T01:40:26Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3608b5d71a52c053787dbad6af20c25f7e0b75a9'/>
<id>urn:sha1:3608b5d71a52c053787dbad6af20c25f7e0b75a9</id>
<content type='text'>
* add ide_set_dma() helper and make ide_hwif_t.ide_dma_check return
  -1 when DMA needs to be disabled (== need to call -&gt;ide_dma_off_quietly)
   0 when DMA needs to be enabled  (== need to call -&gt;ide_dma_on)
   1 when DMA setting shouldn't be changed
* fix IDE code to use ide_set_dma() instead if using -&gt;ide_dma_check directly

v2:
* updated for scc_pata

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
<entry>
<title>ide: disable DMA in -&gt;ide_dma_check for "no IORDY" case (v2)</title>
<updated>2007-02-17T01:40:25Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d8f4469d5f2c35e0b8272f254b42737a2b8ce877'/>
<id>urn:sha1:d8f4469d5f2c35e0b8272f254b42737a2b8ce877</id>
<content type='text'>
If DMA is unsupported -&gt;ide_dma_check should disable DMA.

v2:
* updated for scc_pata

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
<entry>
<title>ide: convert ide_hwif_t.mmio into flag (v2)</title>
<updated>2007-02-17T01:40:25Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2ad1e558a2305c2b3d5099ee2f4a5929307c20ca'/>
<id>urn:sha1:2ad1e558a2305c2b3d5099ee2f4a5929307c20ca</id>
<content type='text'>
All users of -&gt;mmio == 1 are gone so convert -&gt;mmio into flag.

Noticed by Alan Cox.

v2:
* updated for scc_pata

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
<entry>
<title>ide: use PIO/MMIO operations directly where possible (v2)</title>
<updated>2007-02-17T01:40:25Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0ecdca26e556eae9668ce6de9554757dddb942ef'/>
<id>urn:sha1:0ecdca26e556eae9668ce6de9554757dddb942ef</id>
<content type='text'>
This results in smaller/faster/simpler code and allows future optimizations.
Also remove no longer needed ide[_mm]_{inl,outl}() and ide_hwif_t.{INL,OUTL}.

v2:
* updated for scc_pata

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
<entry>
<title>ide: add ide_use_fast_pio() helper (v3)</title>
<updated>2007-02-17T01:40:25Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7569e8dc2213ecc47024ea5edbadc8736487d926'/>
<id>urn:sha1:7569e8dc2213ecc47024ea5edbadc8736487d926</id>
<content type='text'>
* add ide_use_fast_pio() helper for use by host drivers

* add DMA capability and hwif-&gt;autodma checks to ide_use_dma()

  - au1xxx-ide/it8213/it821x drivers didn't check for (id-&gt;capability &amp; 1)

    [ for the IT8211/2 in SMART mode this check shouldn't be made but since
      in it821x_fixups() we set DMA bit explicitly:

               if(strstr(id-&gt;model, "Integrated Technology Express")) {
                       /* In raid mode the ident block is slightly buggy
                          We need to set the bits so that the IDE layer knows
                          LBA28. LBA48 and DMA ar valid */
                       id-&gt;capability |= 3;            /* LBA28, DMA */

       we are better off using generic helper if we can ]

  - ide-cris driver didn't set -&gt;autodma

    [ before the patch hwif-&gt;autodma was only checked in the chipset specific
      hwif-&gt;ide_dma_check implementations, for ide-cris it is cris_dma_check()
      function so there no behavior change here ]

v2:
* updated patch description (thanks to Alan Cox for the feedback)

v3:
* updated for scc_pata driver

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
</feed>
