<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/ide/cris, branch linux-2.6.22.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2007-05-15T22:51:43+00:00</updated>
<entry>
<title>ide: use ide_tune_dma() part #2</title>
<updated>2007-05-15T22:51:43+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-05-15T22:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bd203b57c7edd6bc457b769cd15fa7239cd2241e'/>
<id>urn:sha1:bd203b57c7edd6bc457b769cd15fa7239cd2241e</id>
<content type='text'>
Use ide_tune_dma() in ide-cris/it821x/pdc202xx_old/serverworks drivers.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add "initializing" argument to ide_register_hw()</title>
<updated>2007-05-09T22:01:10+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-05-09T22:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=869c56ee9de1b72cd3f8ab9cdfbd3601e55c61f2'/>
<id>urn:sha1:869c56ee9de1b72cd3f8ab9cdfbd3601e55c61f2</id>
<content type='text'>
Add "initializing" argument to ide_register_hw() and use it instead of ide.c
wide variable of the same name.  Update all users of ide_register_hw()
accordingly.

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

</content>
</entry>
<entry>
<title>ide: rework the code for selecting the best DMA transfer mode (v3)</title>
<updated>2007-05-09T22:01:08+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-05-09T22:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2d5eaa6dd744a641e75503232a01f52d0768884c'/>
<id>urn:sha1:2d5eaa6dd744a641e75503232a01f52d0768884c</id>
<content type='text'>
Depends on the "ide: fix UDMA/MWDMA/SWDMA masks" patch.

* add ide_hwif_t.udma_filter hook for filtering UDMA mask
  (use it in alim15x3, hpt366, siimage and serverworks drivers)
* add ide_max_dma_mode() for finding best DMA mode for the device
  (loosely based on some older libata-core.c code)
* convert ide_dma_speed() users to use ide_max_dma_mode()
* make ide_rate_filter() take "ide_drive_t *drive" as an argument instead
  of "u8 mode" and teach it to how to use UDMA mask to do filtering
* use ide_rate_filter() in hpt366 driver
* remove no longer needed ide_dma_speed() and *_ratemask()
* unexport eighty_ninty_three()

v2:
* rename -&gt;filter_udma_mask to -&gt;udma_filter
  [ Suggested by Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;. ]

v3:
* updated for scc_pata driver (fixes XFER_UDMA_6 filtering for user-space
  originated transfer mode change requests when 100MHz clock is used)

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-cris: fix -&gt;speedproc and wrong -&gt;swdma_mask</title>
<updated>2007-05-05T20:03:51+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-05-05T20:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=55e4dee32916a569112f33a511adab4bd72cc4a2'/>
<id>urn:sha1:55e4dee32916a569112f33a511adab4bd72cc4a2</id>
<content type='text'>
* fix -&gt;speedproc to set the drive speed

* this driver doesn't support SWDMA so use the correct -&gt;swdma_mask

* BUG() if an unsupported mode is passed to -&gt;speedproc

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: remove a ton of pointless #undef REALLY_SLOW_IO</title>
<updated>2007-03-03T16:48:54+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@redhat.com</email>
</author>
<published>2007-03-03T16:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=846c11abc7934a523a665a3b702358e6f2998e3e'/>
<id>urn:sha1:846c11abc7934a523a665a3b702358e6f2998e3e</id>
<content type='text'>
Signed-off-by: Alan Cox &lt;alan@redhat.com&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:26+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:26+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:26+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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: convert ide_hwif_t.mmio into flag (v2)</title>
<updated>2007-02-17T01:40:25+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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: add ide_use_fast_pio() helper (v3)</title>
<updated>2007-02-17T01:40:25+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-02-17T01:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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>
