<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ide, branch v2.6.23</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.23</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.23'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2007-10-06T16:32:56Z</updated>
<entry>
<title>Fix non-terminated PCI match table in PowerMac IDE</title>
<updated>2007-10-06T16:32:56Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2007-10-06T08:52:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=71e4eda8ce698178ee448ff82bdc5803c77a736d'/>
<id>urn:sha1:71e4eda8ce698178ee448ff82bdc5803c77a736d</id>
<content type='text'>
The PCI device table in the powermac IDE driver isn't properly
terminated.  Depending on how your kernel is linked and other random
factors, you can end up with this driver matched against any other PCI
device in your system, possibly crashing at boot.

Thanks to Heikki for tracking this down with me, the bug have been there
for some time, though it rarely hurts due to luck.  In this case, the
switch from .22 to .23-rc9 is causing it to show up due to differences
in the resulting layout of .data I suppose.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;pmac@au1.ibm.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;B.Zolnierkiewicz@elka.pw.edu.pl&gt;
Cc: Heikki Lindholm &lt;holindho@cs.helsinki.fi&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ide: remove unused variables from drivers/ide/ppc/pmac.c</title>
<updated>2007-09-17T10:35:30Z</updated>
<author>
<name>Stephen Rothwell</name>
<email>sfr@canb.auug.org.au</email>
</author>
<published>2007-09-17T10:35:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=588a33556ccf3e2135c7b4527557616f72fc144c'/>
<id>urn:sha1:588a33556ccf3e2135c7b4527557616f72fc144c</id>
<content type='text'>
Removes these warnings:

/home/sfr/kernels/linus/drivers/ide/ppc/pmac.c: In function 'pmac_ide_dma_check':
/home/sfr/kernels/linus/drivers/ide/ppc/pmac.c:1807: warning: unused variable 'map'
/home/sfr/kernels/linus/drivers/ide/ppc/pmac.c:1805: warning: unused variable 'pmif'

Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Cc: paulus@samba.org
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: ST320413A has the same problem as ST340823A</title>
<updated>2007-09-17T10:35:30Z</updated>
<author>
<name>Jorge Juan Chico</name>
<email>jjchico@gmail.com</email>
</author>
<published>2007-09-17T10:35:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7062cdc5edb3ba4b2eb906684cd19e103de1f920'/>
<id>urn:sha1:7062cdc5edb3ba4b2eb906684cd19e103de1f920</id>
<content type='text'>
ST320413A has the same problem as ST340823A.  Please see
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/26119

From: "Jorge Juan Chico" &lt;jjchico@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>pdc202xx_new: PLL detection fix</title>
<updated>2007-09-11T20:28:37Z</updated>
<author>
<name>Mikael Pettersson</name>
<email>mikpe@it.uu.se</email>
</author>
<published>2007-09-11T20:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=56fe23d5a702a39ee3bb29a04b55db292479d07a'/>
<id>urn:sha1:56fe23d5a702a39ee3bb29a04b55db292479d07a</id>
<content type='text'>
Fix a bitmask typo in the pdc202xx_new PLL frequency detection code
which causes it to truncate an intermediate difference to 26 bits
instead of the correct 30 bits (the PLL's bitwidth).

Signed-off-by: Mikael Pettersson &lt;mikpe@it.uu.se&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>via82cxxx: add Arima W730-K8 and other rebadgings to short cables list</title>
<updated>2007-09-11T20:28:37Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-09-11T20:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=58e47bb1767aa89bfa9cf7ecf4bc051886ae22b3'/>
<id>urn:sha1:58e47bb1767aa89bfa9cf7ecf4bc051886ae22b3</id>
<content type='text'>
Port of Alan's patch for pata_via.c.

Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Mikael Pettersson &lt;mikpe@it.uu.se&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>pmac: build fix</title>
<updated>2007-09-11T20:28:36Z</updated>
<author>
<name>Tony Breeds</name>
<email>tony@bakeyournoodle.com</email>
</author>
<published>2007-09-11T20:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6c28c1f59dce3325d373f44766e23eb4237a74c8'/>
<id>urn:sha1:6c28c1f59dce3325d373f44766e23eb4237a74c8</id>
<content type='text'>
Ensure that BLK_DEV_IDE is built-in before allowing BLK_DEV_IDE_PMAC to
be selected.

Signed-off-by: Tony Breeds &lt;tony@bakeyournoodle.com&gt;
Cc: Bret Towe &lt;magnade@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>pata_ali/alim15x3: override 80-wire cable detection for Toshiba S1800-814</title>
<updated>2007-09-11T20:28:36Z</updated>
<author>
<name>Daniel Exner</name>
<email>dex@dragonslave.de</email>
</author>
<published>2007-09-11T20:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=03e6f489b32c0e7877bfe48f5619db725edf1fea'/>
<id>urn:sha1:03e6f489b32c0e7877bfe48f5619db725edf1fea</id>
<content type='text'>
Add Toshiba S1800-814 to whitelist for both pata_ali and alim15x3,
as it is correctly detected as 40-wire connected but this cable is
short enough to still use transfer modes higher than UDMA33.

Signed-off-by: Daniel Exner &lt;dex@dragonslave.de&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>hpt366: UltraDMA filter for SATA cards (take 2)</title>
<updated>2007-09-11T20:28:36Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2007-09-11T20:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2808b0a96a05ac8e826b5380eb2d30a10586707a'/>
<id>urn:sha1:2808b0a96a05ac8e826b5380eb2d30a10586707a</id>
<content type='text'>
The Marvell bridge chips used on HighPoint SATA cards do not seem to support
the UltraDMA modes 1, 2, and 3 as well as any MWDMA modes, so the driver needs
to account for this in the udma_filter() method.  In order to achieve that, do
the following changes:

- install the method for all chips, not only HPT36x/370 and improve the code
  formatting by killing the extra tabs while at it;

- add to the end of the 'switch' statement in the method cases for HPT372[AN]
  and HPT374 chips upon which the known SATA cards are based;

- use hwif-&gt;ultra_mask as a default mask for the ide_dma_filter() method to
  behave correctly;

- move the HPT370[A] cases below the HPT36x case for consistency.

While at it, replace the explicit UltraDMA mode masks with ATA_UDMA* constants
all over the driver...

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Bob Ham &lt;rah@bash.sh&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add ide_dev_is_sata() helper (take 2)</title>
<updated>2007-09-11T20:28:36Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2007-09-11T20:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6c3c22f3cb2b7cd0a42a024b93db76b5c3133d37'/>
<id>urn:sha1:6c3c22f3cb2b7cd0a42a024b93db76b5c3133d37</id>
<content type='text'>
Make the SATA drive detection code from eighty_ninty_three() into inline
ide_dev_is_sata() helper fixing it along the way to be more strict while
checking word 80 for the reserved values...

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>hpt366: fix PCI clock detection for HPT374 (take 4)</title>
<updated>2007-09-11T20:28:35Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2007-09-11T20:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7293136810936bbde403bcb67ac1b4dbae4dd790'/>
<id>urn:sha1:7293136810936bbde403bcb67ac1b4dbae4dd790</id>
<content type='text'>
HPT374 BIOS seems to only save f_CNT register value for the function #0 before
re-tuning DPLL (that causes the driver to report obviously distorted f_CNT for
the function #1) -- fix this by always reading the saved f_CNT register value
from the function #0 in the driver's init_chipset() method.
While at it, introduce 'chip_type' for holding the 'struct hpt_info' field
of the same name and replace the structure assignment with memcpy()...

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
