<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/ide/amd74xx.c, branch v3.2.95</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.2.95</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.2.95'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2010-01-19T09:52:32+00:00</updated>
<entry>
<title>amd74xx: use -&gt;pio_mode value to determine pair device speed</title>
<updated>2010-01-19T09:52:32+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-18T07:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f6d23c2e2e398dc96c58494be2934f0c11285e3a'/>
<id>urn:sha1:f6d23c2e2e398dc96c58494be2934f0c11285e3a</id>
<content type='text'>
Use the current PIO mode value instead of the current transfer speed
of the pair device on the port to determine PIO commmand timings used
for both devices on the port.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ide: change -&gt;set_dma_mode method parameters</title>
<updated>2010-01-19T09:45:29+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-19T09:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8776168ca2151850164af1de5565d01f7b8b2c53'/>
<id>urn:sha1:8776168ca2151850164af1de5565d01f7b8b2c53</id>
<content type='text'>
Change -&gt;set_dma_mode method parameters to match -&gt;set_dmamode method
used in struct ata_port_operations.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: change -&gt;set_pio_mode method parameters</title>
<updated>2010-01-19T09:44:41+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-19T09:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e085b3cae85af47eb0a3eda3186bd898310fb322'/>
<id>urn:sha1:e085b3cae85af47eb0a3eda3186bd898310fb322</id>
<content type='text'>
Change -&gt;set_pio_mode method parameters to match -&gt;set_piomode method
used in struct ata_port_operations.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd74xx: don't change UDMA settings when programming PIO timings</title>
<updated>2010-01-19T09:24:58+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-18T07:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=31bbb668fbe71a207d38ecd1797f4cd5b8bd710b'/>
<id>urn:sha1:31bbb668fbe71a207d38ecd1797f4cd5b8bd710b</id>
<content type='text'>
Based on libata pata_amd host driver.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ide: fix -&gt;init_chipset method to return 'int' value</title>
<updated>2009-03-24T22:22:53+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-03-24T22:22:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2ed0ef543ae3f3ea4f8bd0433fb1fed22625a309'/>
<id>urn:sha1:2ed0ef543ae3f3ea4f8bd0433fb1fed22625a309</id>
<content type='text'>
* Return 0 instead of dev-&gt;irq in -&gt;init_chipset implementations.

* Fix -&gt;init_chipset method to return 'int' value instead of
  'unsigned int' one.

This fixes -&gt;init_chipset handling for host drivers (cs5530, hpt366
and pdc202xx_new) for which it is possible for this method to fail.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>amd74xx: remove no longer needed -&gt;init_hwif method</title>
<updated>2009-03-24T22:22:52+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-03-24T22:22:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bd0c08470fcded75d3904734ee22ae5b363737db'/>
<id>urn:sha1:bd0c08470fcded75d3904734ee22ae5b363737db</id>
<content type='text'>
This is now handled by core IDE PCI code.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>amd74xx: use ide_pci_is_in_compatibility_mode()</title>
<updated>2009-03-24T22:22:48+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-03-24T22:22:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=213e4b0a3483b8cc99c4578923b9899e84e086e0'/>
<id>urn:sha1:213e4b0a3483b8cc99c4578923b9899e84e086e0</id>
<content type='text'>
Fix -&gt;init_hwif to check if IDE PCI controller is in compatibility
mode instead of checking for hwif-&gt;irq == 0.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>amd74xx: device/vendor confusion</title>
<updated>2009-02-25T19:28:22+00:00</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-02-25T19:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=43a12216d3664a9fa6c8ceb398da6ef08fee7ff7'/>
<id>urn:sha1:43a12216d3664a9fa6c8ceb398da6ef08fee7ff7</id>
<content type='text'>
Device and vendor ids were confused

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&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>amd74xx: use ide_get_pair_dev() helper</title>
<updated>2009-01-06T16:20:54+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-01-06T16:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bca4ff16e97f4413bade39a40ccf2e1451b4dc54'/>
<id>urn:sha1:bca4ff16e97f4413bade39a40ccf2e1451b4dc54</id>
<content type='text'>
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>amd74xx: workaround unreliable AltStatus register for nVidia controllers</title>
<updated>2008-12-02T19:40:03+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-12-02T19:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6636487e8dc49a1c43fed336bdc4a2f3d7ce6881'/>
<id>urn:sha1:6636487e8dc49a1c43fed336bdc4a2f3d7ce6881</id>
<content type='text'>
It seems that on some nVidia controllers using AltStatus register
can be unreliable so default to Status register if the PCI device
is in Compatibility Mode.  In order to achieve this:

* Add ide_pci_is_in_compatibility_mode() inline helper to &lt;linux/ide.h&gt;.

* Add IDE_HFLAG_BROKEN_ALTSTATUS host flag and set it in amd74xx host
  driver for nVidia controllers in Compatibility Mode.

* Teach actual_try_to_identify() and drive_is_ready() about the new flag.

This fixes the regression caused by removal of CONFIG_IDEPCI_SHARE_IRQ
config option in 2.6.25 and using AltStatus register unconditionally when
available (kernel.org bugs #11659 and #10216).

[ Moreover for CONFIG_IDEPCI_SHARE_IRQ=y (which is what most people
  and distributions use) it never worked correctly. ]

Thanks to Remy LABENE and Lars Winterfeld for help with debugging the problem.

More info at:
http://bugzilla.kernel.org/show_bug.cgi?id=11659
http://bugzilla.kernel.org/show_bug.cgi?id=10216

Reported-by: Remy LABENE &lt;remy.labene@free.fr&gt;
Tested-by: Remy LABENE &lt;remy.labene@free.fr&gt;
Tested-by: Lars Winterfeld &lt;lars.winterfeld@tu-ilmenau.de&gt;
Acked-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
