<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ide, branch v2.6.30</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.30</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.30'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-06-07T11:52:50Z</updated>
<entry>
<title>pdc202xx_old: fix resetproc() method</title>
<updated>2009-06-07T11:52:50Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2009-06-07T11:52:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=669165daad2ec839df85b8c5f7bc155e76a2f404'/>
<id>urn:sha1:669165daad2ec839df85b8c5f7bc155e76a2f404</id>
<content type='text'>
pdc202xx_reset() calls pdc202xx_reset_host() twice, for both channels, while
that function actually twiddles the single, shared software reset bit -- the
net effect is a duplicated reset and horrendous 4 second delay happening not
only on a channel reset but also when dma_lost_irq() and dma_clear() methods
are called.  Fold pdc202xx_reset_host() into pdc202xx_reset(), fix printk(),
and move it before the actual reset...

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>pdc202xx_old: fix 'pdc20246_dma_ops'</title>
<updated>2009-06-07T11:52:50Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2009-06-07T11:52:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=521a415c9f6d4e5463807ce6d36598acabcd204f'/>
<id>urn:sha1:521a415c9f6d4e5463807ce6d36598acabcd204f</id>
<content type='text'>
Commit ac95beedf8bc97b24f9540d4da9952f07221c023 (ide: add struct ide_port_ops
(take 2)) erroneously converted the driver's dma_timeout() and dma_lost_irq()
methods to call the driver's resetproc() method regardless of whether it was
defined for this specific controller while it hadn't been defined and hence
called for PDC20246. So the dma_clear() method, the successor of dma_timeout(),
shouldn't exist and the dma_lost_irq() method should be standard for PDC20246.

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_pci_generic: add quirk for Netcell ATA RAID</title>
<updated>2009-05-30T18:06:54Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-30T18:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c339dfdd65b52bfd947ab29d1210314a2f6d622d'/>
<id>urn:sha1:c339dfdd65b52bfd947ab29d1210314a2f6d622d</id>
<content type='text'>
We need to explicitly mark words 85-87 as valid ones since
firmware doesn't do it.

This should fix support for LBA48 and FLUSH CACHE [EXT] command
which stopped working after we applied more strict checking of
identify words in:

	commit 942dcd85bf8edf38cdc3745306ca250684d99a61
	("ide: idedisk_supports_lba48() -&gt; ata_id_lba48_enabled()")

and

	commit 4b58f17d7c45a8e5f4acda641bec388398b9c0fa
	("ide: ide_id_has_flush_cache() -&gt; ata_id_flush_enabled()")

Reported-and-tested-by: "Trevor Hemsley" &lt;trevor.hemsley@ntlworld.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>via82cxxx: Add VIA VX855 PCI Device ID</title>
<updated>2009-05-22T14:23:39Z</updated>
<author>
<name>Harald Welte</name>
<email>HaraldWelte@viatech.com</email>
</author>
<published>2009-05-22T14:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5993856e53fbc4b4f28e2d481deaebeb715b1267'/>
<id>urn:sha1:5993856e53fbc4b4f28e2d481deaebeb715b1267</id>
<content type='text'>
This patch adds the PCI Device ID 0xc409 to the PCI ID table of via82cxxx.c,
as well as the 0x8409 south bridge ID.

This is required to make the IDE driver work on the VX855/VX875 integrated
chipset.

Signed-off-by: Harald Welte &lt;HaraldWelte@viatech.com&gt;
Cc: Joseph Chan &lt;JosephChan@via.com.tw&gt;
Cc: Bruce Chang &lt;BruceChang@via.com.tw&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: report timeouts in ide_busy_sleep()</title>
<updated>2009-05-22T14:23:38Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-22T14:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=28ee9bc5cc42776e0364399b401a64906ac1ac8e'/>
<id>urn:sha1:28ee9bc5cc42776e0364399b401a64906ac1ac8e</id>
<content type='text'>
* change 'hwif' argument to 'drive'
* report an error on timeout

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: improve failed opcode reporting</title>
<updated>2009-05-22T14:23:38Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-22T14:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc30137a221372c67a943ad9ea68121a2bd57a6e'/>
<id>urn:sha1:cc30137a221372c67a943ad9ea68121a2bd57a6e</id>
<content type='text'>
Nowadays we (almost) always store the currently executing command
in hwif-&gt;cmd so we can use it for the failed opcode reporting.

Cc: Martin Lottermoser &lt;Martin.Lottermoser@t-online.de&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: fix printk() levels in ide_dump_ata[pi]_error()</title>
<updated>2009-05-22T14:23:37Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-22T14:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=26bfcf21e25fa090f099fa0ccf201424989cbd7b'/>
<id>urn:sha1:26bfcf21e25fa090f099fa0ccf201424989cbd7b</id>
<content type='text'>
Fixes "&lt;3&gt;" in error messages like this one:

hdc: cdrom_decode_status: error=0x40 &lt;3&gt;{ LastFailedSense=0x04 }

Reported-by: Martin Lottermoser &lt;Martin.Lottermoser@t-online.de&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: fix OOPS during ide-cd error recovery</title>
<updated>2009-05-22T14:23:37Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-22T14:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e3b29f05124b07303088795396ff858811d2acb8'/>
<id>urn:sha1:e3b29f05124b07303088795396ff858811d2acb8</id>
<content type='text'>
On Tuesday 19 May 2009 20:29:28 Martin Lottermoser wrote:

&gt;   hdc: cdrom_decode_status: error=0x40 &lt;3&gt;{ LastFailedSense=0x04 }
&gt;   ide: failed opcode was: unknown
&gt;   hdc: DMA disabled
&gt;   ------------[ cut here ]------------
&gt;   kernel BUG at drivers/ide/ide-io.c:872!

It is possible for ide-cd to ignore ide_error()'s return value under
some circumstances.  Workaround it in ide_intr() and ide_timer_expiry()
by checking if there is a device/port reset pending currently.

Fixes bug #13345:

	http://bugzilla.kernel.org/show_bug.cgi?id=13345

Reported-by: Martin Lottermoser &lt;Martin.Lottermoser@t-online.de&gt;
Reported-and-tested-by: Modestas Vainius &lt;modestas@vainius.eu&gt;
Cc: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: fix 40-wire cable detection for TSST SH-S202* ATAPI devices (v2)</title>
<updated>2009-05-22T14:23:36Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-22T14:23:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8369d5fa63260cc54464b4687aa6a0f78402d98e'/>
<id>urn:sha1:8369d5fa63260cc54464b4687aa6a0f78402d98e</id>
<content type='text'>
Since 2.6.26 we support UDMA66 on ATAPI devices requiring IVB quirk:

  commit 8588a2b732928b343233af9b1855705b8286bed4
  ("ide: add SH-S202J to ivb_list[]")

We also later added support for more such devices in:

  commit e97564f362a93f8c248246c19828895950341252
  ("ide: More TSST drives with broken cable detection")

and in:

  commit 3ced5c49bd2d1f2c7f769e3a54385883de63a652
  ("ide: add TSSTcorp CDDVDW SH-S202H to ivb_list[]")

It turns out that such devices lack cable detection altogether
(which in turn results in incorrect detection of 40-wire cables
by our current cable detection strategy) so always handle them
by trusting host-side cable detection only.

v2:
Model detection fixup from Martin.

Reported-and-tested-by: Martin Lottermoser &lt;Martin.Lottermoser@t-online.de&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>piix: The Sony TZ90 needs the cable type hardcoding</title>
<updated>2009-05-16T17:03:36Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2009-05-16T17:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8788298d491ee5026981eb751b0341a996b22e4'/>
<id>urn:sha1:d8788298d491ee5026981eb751b0341a996b22e4</id>
<content type='text'>
The Sony TZ90 needs the cable type hardcoding. See bug #12734

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Reported-by:  Jonathan E. Snow &lt;jesnow@uh.edu&gt;
[bart: port it from ata_piix to piix and give reporter the proper credit]
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
