<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ide/pmac.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-04-18T15:42:19Z</updated>
<entry>
<title>ide: Remove void casts</title>
<updated>2009-04-18T15:42:19Z</updated>
<author>
<name>Jack Stone</name>
</author>
<published>2009-04-18T15:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5f840bf74c09ca5a31e518c9d984999926b5f44'/>
<id>urn:sha1:d5f840bf74c09ca5a31e518c9d984999926b5f44</id>
<content type='text'>
Remove uneeded void casts

Signed-off-by: Jack Stone &lt;jwjstone@fastmail.fm&gt;
Cc: jeff@garzik.org
Cc: kernel-janitors@vger.kernel.org
Cc: Jack Stone &lt;jwjstone@fastmail.fm&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-pmac: IDE cable detection on Apple PowerBook</title>
<updated>2009-03-31T18:15:34Z</updated>
<author>
<name>TOMARI Hisanobu</name>
</author>
<published>2009-03-31T18:15:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9d5a97fa3828e7cbc577805eba3d0a0d35dd5a0'/>
<id>urn:sha1:a9d5a97fa3828e7cbc577805eba3d0a0d35dd5a0</id>
<content type='text'>
As IDE cable used on Apple PowerBook/iBook laptops are always of "Short 40"
type when the firmware says it's 80 conductor one, the cable detection should
return ATA_CBL_PATA40_SHORT on those machines.  This enables to automatically
use UDMA5 even with drives that doesn't correctly detect those cables on Apple
laptops.

Signed-off-by: TOMARI Hisanobu &lt;posco.grubb@gmail.com&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: benh@kernel.crashing.org
[bart: beautify patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: turn selectproc() method into dev_select() method (take 5)</title>
<updated>2009-03-31T18:15:32Z</updated>
<author>
<name>Sergei Shtylyov</name>
</author>
<published>2009-03-31T18:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abb596b25edac1ec1acc4ef53df190771661c3d2'/>
<id>urn:sha1:abb596b25edac1ec1acc4ef53df190771661c3d2</id>
<content type='text'>
Turn selectproc() method into dev_select() method by teaching it to write to the
device register and moving it from 'struct ide_port_ops' to 'struct ide_tp_ops'.

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: benh@kernel.crashing.org
Cc: petkovbb@gmail.com
[bart: add -&gt;dev_select to at91_ide.c and tx4939.c (__BIG_ENDIAN case)]
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: turn set_irq() method into write_devctl() method</title>
<updated>2009-03-31T18:15:30Z</updated>
<author>
<name>Sergei Shtylyov</name>
</author>
<published>2009-03-31T18:15:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ecf3a31d2a08a419bdf919456f1724f5b72bde2c'/>
<id>urn:sha1:ecf3a31d2a08a419bdf919456f1724f5b72bde2c</id>
<content type='text'>
Turn set_irq() method with its software reset hack into write_devctl() method
(for just writing a value into the device control register) at last...

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: move ide_map_sg() call out of -&gt;dma_setup method (take 2)</title>
<updated>2009-03-31T18:15:21Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-31T18:15:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11998b316173f814698f9037ce9179d634d1f423'/>
<id>urn:sha1:11998b316173f814698f9037ce9179d634d1f423</id>
<content type='text'>
Move ide_map_sg() call from -&gt;dma_setup implementations and
ide_destroy_dmatable() one from *_build_dmatable() to ide_dma_prepare().

There should be no functional changes caused by this patch.

Sergei:
Removed 'use_pio_instead' labels and replaced 'goto' with 'return 0' --
that required no changes to the follow-up patches...

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
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: 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>
</feed>
