<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ide, branch v2.6.22-rc5</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/ide?h=v2.6.22-rc5</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/ide?h=v2.6.22-rc5'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2007-06-16T00:24:43Z</updated>
<entry>
<title>Resume from RAM on HPC nx6325 broken</title>
<updated>2007-06-16T00:24:43Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2007-06-16T00:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ce9b2b0abbf019d5259eb089a1cc256852930f67'/>
<id>urn:sha1:ce9b2b0abbf019d5259eb089a1cc256852930f67</id>
<content type='text'>
generic_ide_resume() should check if dev-&gt;driver is not NULL before applying
to_ide_driver() to it.  Fix that.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: Add the MCP73/77 support to PATA driver</title>
<updated>2007-06-08T13:14:32Z</updated>
<author>
<name>Peer Chen</name>
<email>peerchen@gmail.com</email>
</author>
<published>2007-06-08T13:14:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c1183a3345f2e553fa0907a453cbb311c7e1698c'/>
<id>urn:sha1:c1183a3345f2e553fa0907a453cbb311c7e1698c</id>
<content type='text'>
Add the MCP73/MCP77 support to PATA driver.

bart: Added amd74xx_chipsets[] and amd_pci_tbl[] entries.
bart: Bumped driver version.

Signed-off-by: Peer Chen &lt;peerchen@gmail.com&gt;
Cc: Alan Cox &lt;alan@redhat.com&gt;,
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Cc: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>hpt366: disallow Ultra133 for HPT374</title>
<updated>2007-06-08T13:14:32Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2007-06-08T13:14:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=278978e953a35a2ddf27f197003b29da54e31908'/>
<id>urn:sha1:278978e953a35a2ddf27f197003b29da54e31908</id>
<content type='text'>
Eliminate UltraATA/133 support for HPT374 -- the chip isn't capable of this mode
according to the manual, and doesn't even seem to tolerate 66 MHz DPLL clock...

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Geller Sandor &lt;wildy@petra.hos.u-szeged.hu&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: generic IDE PCI driver, add another device exception</title>
<updated>2007-06-08T13:14:31Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jirislaby@gmail.com</email>
</author>
<published>2007-06-08T13:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ea30759643b423933ced48acdd78e5299f05295b'/>
<id>urn:sha1:ea30759643b423933ced48acdd78e5299f05295b</id>
<content type='text'>
generic IDE PCI driver, add another device exception

This device is char device and is grabbed by generic ide driver:
00:0b.0 Class ffff: National Semiconductor Corporation 87410 IDE (rev ff) (prog-if ff)
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

Disallow generic IDE PCI driver to grab it by adding next condition. Also
consolidate exceptions to one bigger 'switch (dev-&gt;vendor)'.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Ingo Korb &lt;ml@akana.de&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: HPA detect from resume</title>
<updated>2007-06-08T13:14:30Z</updated>
<author>
<name>Lee Trager</name>
<email>lt73@cs.drexel.edu</email>
</author>
<published>2007-06-08T13:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0d2157f78d17fcee17791f54959e67cc0af0da74'/>
<id>urn:sha1:0d2157f78d17fcee17791f54959e67cc0af0da74</id>
<content type='text'>
Currently when system which have HPA require HPA to be detected and
disabled upon resume from RAM or disk. The current IDE drivers do not do
this nor does libata (obviously it since it doesn't support HPA yet).

I have implemented this into the current IDE drivers and it has been
tested by many others since 7/15/2006 in bug number 6840:

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

and it has been confirmed to work fine with no problems.

bart: added drv != NULL check to generic_ide_suspend()

From: Lee Trager &lt;lt73@cs.drexel.edu&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
</entry>
<entry>
<title>it821x: RAID mode fixes</title>
<updated>2007-06-08T13:14:29Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-06-08T13:14:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0380dad45e4f5a606025cc4df2a2cd26af08796b'/>
<id>urn:sha1:0380dad45e4f5a606025cc4df2a2cd26af08796b</id>
<content type='text'>
The DMA support for RAID mode broke after:

	commit 71ef51cc1756d1c56b57c70e7cc27a3559c81ee6
	Author: Jens Axboe &lt;axboe@suse.de&gt;
	Date: Â  Fri Jul 28 09:02:17 2006 +0200

	Â  Â  [PATCH] it821x: fix ide dma setup bug

	Â  Â  Only enable dma for a valid speed setting.

	Â  Â  Signed-off-by: Jens Axboe &lt;axboe@suse.de&gt;

	commit 0a8348d08677ad77ee353f96eb8745c693a05a13
	Author: Jens Axboe &lt;axboe@suse.de&gt;
	Date: Â  Fri Jul 28 08:58:26 2006 +0200

	Â  Â  [PATCH] ide: if the id fields looks screwy, disable DMA

	Â  Â  It's the safer choice. Originally due to a bug in itx821x, but a
	Â  Â  generally sound thing to do.

	Â  Â  Signed-off-by: Jens Axboe &lt;axboe@suse.de&gt;

However it worked by pure luck before Jens' fixes: bogus ide_dma_enable()
usage in it821x driver combined with loosy check in ide_dma_verbose() allowed
the hardware to operate in DMA mode.  When these problems were fixed the DMA
support broke...

The source root for the regression turned out to be that the it821x.c code
was clearing too much of id-&gt;field_valid.  The IDE core code was using the
original value of id-&gt;field_valid to do the tuning but later DMA got disabled
in ide_dma_verbose() because of the incorrect id-&gt;field_valid fixup.  Fix it.

While at it:

* Do fixup() after probing the drives but before tuning them (which is also
  OK w.r.t. ide_undecoded_slave() fixup).  This change fixes device IDENTIFY
  data to be consistent before/after the tuning and allows us to remove extra
  re-tuning of drives from it821x_fixups().

* Fake MWDMA0 enabled/supported bits in IDENTIFY data if the device has
  DMA capable bit set (this is just to tell the IDE core that DMA is
  supported since it821x firmware takes care of DMA mode programming).

* Don't touch timing registers and don't program transfer modes on devices
  et all when in RAID mode - depend solely on firmware to do the tuning
  (as suggested by Alan Cox and done in libata pata_it821x driver).

Thanks for testing the patch goes out to Thomas Kuther.

Cc: Thomas Kuther &lt;gimpel@sonnenkinder.org&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Jens Axboe &lt;axboe@suse.de&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>serverworks: fix CSB6 tuning logic</title>
<updated>2007-06-08T13:14:28Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-06-08T13:14:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1abb8a8b841354e7a09ba2009376f0a6368b5cec'/>
<id>urn:sha1:1abb8a8b841354e7a09ba2009376f0a6368b5cec</id>
<content type='text'>
Problem noticed by Joe Zbiciak, see

	http://kerneltrap.org/node/8252

for details.

On CSB6 the driver is using BIOS settings and not programming DMA/PIO timings
itself.  However the logic was completely broken and resulted in wrong timings
being silently allowed (instead of being corrected by the driver).

This bug would explain some data corruption/timeout issues with Serverworks
MegaIDE in RAID mode that Alan Cox has fixed recently with:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2074a106f52b6371885afbd714e929d60d0e3f64

For 2.6.23 we may be better off with completely switching the driver to always
programming timings (libata pata_serverworks.c driver is doing things this way
and there were no problems reported so far) but for 2.6.22 lets fix the bug
in the simplest and the least intrusive way.

Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>serverworks: remove crappy code</title>
<updated>2007-06-08T13:14:27Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-06-08T13:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ed84fad5002c00dfb318f797dbf591320eebc1c0'/>
<id>urn:sha1:ed84fad5002c00dfb318f797dbf591320eebc1c0</id>
<content type='text'>
Remove crappy code noticed by Linus, see

	http://lkml.org/lkml/2007/5/23/476

for details.

While at it simplify logic a bit.

There should be no functionality changes caused by this patch.

Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide serverworks warning fixes</title>
<updated>2007-05-24T00:42:39Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@linux-foundation.org</email>
</author>
<published>2007-05-24T00:42:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=585a2858b970cb6e2e5ca4877eefd18b4dba8ed4'/>
<id>urn:sha1:585a2858b970cb6e2e5ca4877eefd18b4dba8ed4</id>
<content type='text'>
gcc-4.3:

drivers/ide/pci/serverworks.c: In function 'svwks_tune_chipset':
drivers/ide/pci/serverworks.c:176: warning: overflow in implicit constant conversion
drivers/ide/pci/serverworks.c:190: warning: overflow in implicit constant conversion
drivers/ide/pci/serverworks.c:211: warning: overflow in implicit constant conversion
drivers/ide/pci/serverworks.c:212: warning: overflow in implicit constant conversion

Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>Match DMA blacklist entries between ide-dma.c and libata-core.c</title>
<updated>2007-05-24T00:42:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-05-24T00:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5a6248cac22a77588f81c7473cfd03d250cc5b56'/>
<id>urn:sha1:5a6248cac22a77588f81c7473cfd03d250cc5b56</id>
<content type='text'>
There are a few entries in ata_device_blacklist[] in libata-core.c
marked with HORKAGE_NODMA but are missing from drive_blacklist[]
in ide-dma.c.  This patch makes the lists in sync.

Also remove a duplicated entry for "SanDisk SDP3B-64".

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Dave Jones &lt;davej@redhat.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
