<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ide/icside.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-05-16T17:03:36Z</updated>
<entry>
<title>icside: register second channel of version 6 PCB</title>
<updated>2009-05-16T17:03:36Z</updated>
<author>
<name>Sergei Shtylyov</name>
</author>
<published>2009-05-16T17:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b019447ce73513432af052f30fa239d6dc93e111'/>
<id>urn:sha1:b019447ce73513432af052f30fa239d6dc93e111</id>
<content type='text'>
The second IDE channel of version 6 PCB is not being registered anymore since
the commit 48c3c1072651922ed153bcf0a33ea82cf20df390 (ide: add struct ide_host
(take 3)).

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: set/clear drive-&gt;waiting_for_dma flag in the core code</title>
<updated>2009-03-31T18:15:22Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-31T18:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88b4132e101e60e8fa67996ae3072ab6b71e8500'/>
<id>urn:sha1:88b4132e101e60e8fa67996ae3072ab6b71e8500</id>
<content type='text'>
Set/clear drive-&gt;waiting_for_dma flag in the core code
instead of in -&gt;dma_setup and -&gt;dma_end methods.

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: destroy DMA mappings after ending DMA (v2)</title>
<updated>2009-03-31T18:15:20Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-31T18:15:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4453011f959a5f5c6c7a33aea54fe17f5e43a867'/>
<id>urn:sha1:4453011f959a5f5c6c7a33aea54fe17f5e43a867</id>
<content type='text'>
Move ide_destroy_dmatable() call out from -&gt;dma_end method to
{ide_pc,cdrom_newpc,ide_dma}_intr(), ide_dma_timeout_retry()
and sgiioc4_resetproc().

This causes minor/safe behavior changes w.r.t.:
* cmd64x.c::cmd64{8,x}_dma_end()
* cs5536.c::cs5536_dma_end()
* icside.c::icside_dma_end()
* it821x.c::it821x_dma_end()
* scc_pata.c::__scc_dma_end()
* sl82c105.c::sl82c105_dma_end()
* tx4939ide.c::tx4939ide_dma_end()

v2:
* Fix build for CONFIG_BLK_DEV_IDEDMA=n (reported by Randy Dunlap).

Cc: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Acked-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 -&gt;dma_clear method and remove -&gt;dma_timeout one</title>
<updated>2009-03-31T18:15:19Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-31T18:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35c9b4daf4c94b30e5cede597d98016ebf31b5ad'/>
<id>urn:sha1:35c9b4daf4c94b30e5cede597d98016ebf31b5ad</id>
<content type='text'>
All custom -&gt;dma_timeout implementations call the generic one thus it is
possible to have only an optional method for resetting DMA engine instead:

* Add -&gt;dma_clear method and convert hpt366, pdc202xx_old and sl82c105
  host drivers to use it.

* Always use ide_dma_timeout() in ide_dma_timeout_retry() and remove
 -&gt;dma_timeout method.

* Make ide_dma_timeout() static.

There should be no functional changes caused by this patch.

Acked-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 -&gt;dma_timer_expiry method and remove -&gt;dma_exec_cmd one (v2)</title>
<updated>2009-03-27T11:46:47Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-27T11:46:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22117d6eaac50d366d9013c88318a869ea4d8739'/>
<id>urn:sha1:22117d6eaac50d366d9013c88318a869ea4d8739</id>
<content type='text'>
* Rename dma_timer_expiry() to ide_dma_sff_timer_expiry() and export it.

* Add -&gt;dma_timer_expiry method and use it to set hwif-&gt;expiry for
  ATA_PROT_DMA protocol in do_rw_taskfile().

* Initialize -&gt;dma_timer_expiry to ide_dma_sff_timer_expiry() for SFF hosts.

* Move setting hwif-&gt;expiry from ide_execute_command() to its users and drop
  'expiry' argument.

* Use ide_execute_command() instead of -&gt;dma_exec_cmd in do_rw_taskfile().

* Remove -&gt;dma_exec_cmd method and its implementations.

* Unexport ide_execute_command() and ide_dma_intr().

v2:
* Fix CONFIG_BLK_DEV_IDEDMA=n build (noticed by Randy Dunlap).

* Fix *dma_expiry naming (suggested by Sergei Shtylyov).

There should be no functional changes caused by this patch.

Cc: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: pass command to ide_map_sg()</title>
<updated>2009-03-27T11:46:46Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-27T11:46:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2298169418f43ba5e0919762a4bab95a1227872a'/>
<id>urn:sha1:2298169418f43ba5e0919762a4bab95a1227872a</id>
<content type='text'>
* Set IDE_TFLAG_WRITE flag and -&gt;rq also for ATA_CMD_PACKET
  commands.

* Pass command to -&gt;dma_setup method and update all its
  implementations accordingly.

* Pass command instead of request to ide_build_sglist(),
  *_build_dmatable() and ide_map_sg().

While at it:

* Fix scc_dma_setup() documentation + use ATA_DMA_WR define.

* Rename sgiioc4_build_dma_table() to sgiioc4_build_dmatable(),
  change return value type to 'int' and drop unused 'ddir'
  argument.

* Do some minor cleanups in [tx4939]ide_dma_setup().

There should be no functional changes caused by this patch.

Acked-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: move command related fields from ide_hwif_t to struct ide_cmd</title>
<updated>2009-03-27T11:46:38Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-27T11:46:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b6308ee0c55acd2e943d849773c9f0a49c516317'/>
<id>urn:sha1:b6308ee0c55acd2e943d849773c9f0a49c516317</id>
<content type='text'>
* Move command related fields from ide_hwif_t to struct ide_cmd.

* Make ide_init_sg_cmd() take command and sectors number as arguments.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: call ide_build_sglist() prior to -&gt;dma_setup (v2)</title>
<updated>2009-03-27T11:46:37Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-27T11:46:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6830a86c260d73c6f370aa7ed17ee6c71e5ee05'/>
<id>urn:sha1:e6830a86c260d73c6f370aa7ed17ee6c71e5ee05</id>
<content type='text'>
* Re-map sg table if needed in ide_build_sglist().

* Move ide_build_sglist() call from -&gt;dma_setup to its users.

* Un-export ide_build_sglist().

v2:
* Build fix for CONFIG_BLK_DEV_IDEDMA=n (noticed by Randy Dunlap).

There should be no functional changes caused by this patch.

Cc: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>icside: icside_dma_setup() fixes</title>
<updated>2009-03-27T11:46:32Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-27T11:46:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7ef12482b17a015906cf74afe655e691b5fa2cb'/>
<id>urn:sha1:f7ef12482b17a015906cf74afe655e691b5fa2cb</id>
<content type='text'>
Check for ide_build_sglist() return value and re-map sg table if necessary.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>icside: use struct ide_port_info also for PCB version 5 (v2)</title>
<updated>2009-03-27T11:46:17Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-27T11:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33050ec7a2b83bc048b2322c79af25df6fdcb879'/>
<id>urn:sha1:33050ec7a2b83bc048b2322c79af25df6fdcb879</id>
<content type='text'>
This fixes hwif-&gt;channel and drive-&gt;dn assignments.

v2:
Fix v5/v6 mismatch noticed by Russell.

Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
