<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/ide, branch v2.6.25-rc2</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ide: remove stale comment from ide-lib.c</title>
<updated>2008-02-10T23:32:15+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-10T23:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=467390a2a50493332ddc21eb806094b1829c1161'/>
<id>467390a2a50493332ddc21eb806094b1829c1161</id>
<content type='text'>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: fix comment in init_irq()</title>
<updated>2008-02-10T23:32:15+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-10T23:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e1771e20c8be601d1cc9364d45f907a0433dbbd5'/>
<id>e1771e20c8be601d1cc9364d45f907a0433dbbd5</id>
<content type='text'>
APUS support is gone...

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
APUS support is gone...

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: ide_init_port() bugfix</title>
<updated>2008-02-10T23:32:15+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-10T23:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=428009422584cb8ded31397740ade88a36fc8172'/>
<id>428009422584cb8ded31397740ade88a36fc8172</id>
<content type='text'>
On Sunday 10 February 2008, Atsushi Nemoto wrote:
&gt; On Sun, 06 Jan 2008 18:03:10 +0100, Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt; wrote:
&gt; &gt; +	/* reset DMA masks only for SFF-style DMA controllers */
&gt; &gt; +	if ((d-&gt;host_flags &amp;&amp; IDE_HFLAG_NO_DMA) == 0 &amp;&amp; hwif-&gt;dma_base == 0)
&gt; &gt; +		hwif-&gt;swdma_mask = hwif-&gt;mwdma_mask = hwif-&gt;ultra_mask = 0;
&gt; 
&gt; It might be too late, but "host_flags &amp;&amp; IDE_HFLAGS_NO_DMA" seems
&gt; wrong for me.

Fix regression caused by commmit c413b9b94d9a8e7548cc4b2e04b7df0439ce76fd
("ide: add struct ide_port_info instances to legacy host drivers").

Reported-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Sunday 10 February 2008, Atsushi Nemoto wrote:
&gt; On Sun, 06 Jan 2008 18:03:10 +0100, Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt; wrote:
&gt; &gt; +	/* reset DMA masks only for SFF-style DMA controllers */
&gt; &gt; +	if ((d-&gt;host_flags &amp;&amp; IDE_HFLAG_NO_DMA) == 0 &amp;&amp; hwif-&gt;dma_base == 0)
&gt; &gt; +		hwif-&gt;swdma_mask = hwif-&gt;mwdma_mask = hwif-&gt;ultra_mask = 0;
&gt; 
&gt; It might be too late, but "host_flags &amp;&amp; IDE_HFLAGS_NO_DMA" seems
&gt; wrong for me.

Fix regression caused by commmit c413b9b94d9a8e7548cc4b2e04b7df0439ce76fd
("ide: add struct ide_port_info instances to legacy host drivers").

Reported-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide-disk: fix flush requests (take 2)</title>
<updated>2008-02-10T23:32:14+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-10T23:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=395d8ef5bebe547a80737692f9789d2e36da16f2'/>
<id>395d8ef5bebe547a80737692f9789d2e36da16f2</id>
<content type='text'>
commit 813a0eb233ee67d7166241a8b389b6a76f2247f9
Author: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Date:   Fri Jan 25 22:17:10 2008 +0100

    ide: switch idedisk_prepare_flush() to use REQ_TYPE_ATA_TASKFILE requests

...

broke flush requests.

Allocating IDE command structure on the stack for flush requests is not
a very brilliant idea:

- idedisk_prepare_flush() only prepares the request and it doesn't wait
  for it to be completed

- there are can be multiple flush requests queued in the queue

Fix the problem (per hints from James Bottomley) by:
- dynamically allocating ide_task_t instance using kmalloc(..., GFP_ATOMIC)
- adding new taskfile flag (IDE_TFLAG_DYN)
- calling kfree() in ide_end_drive_command() if IDE_TFLAG_DYN is set
  (while at it rename 'args' to 'task' and fix whitespace damage)

[ This will be fixed properly before 2.6.25 but this bug is rather
  critical and the proper solution requires some more work + testing. ]

Thanks to Sebastian Siewior and Christoph Hellwig for reporting the
problem and testing patches (extra thanks to Sebastian for bisecting
it to the guilty commmit).

Tested-by: Sebastian Siewior &lt;ide-bug@ml.breakpoint.cc&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Tejun Heo &lt;htejun@gmail.com&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 813a0eb233ee67d7166241a8b389b6a76f2247f9
Author: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Date:   Fri Jan 25 22:17:10 2008 +0100

    ide: switch idedisk_prepare_flush() to use REQ_TYPE_ATA_TASKFILE requests

...

broke flush requests.

Allocating IDE command structure on the stack for flush requests is not
a very brilliant idea:

- idedisk_prepare_flush() only prepares the request and it doesn't wait
  for it to be completed

- there are can be multiple flush requests queued in the queue

Fix the problem (per hints from James Bottomley) by:
- dynamically allocating ide_task_t instance using kmalloc(..., GFP_ATOMIC)
- adding new taskfile flag (IDE_TFLAG_DYN)
- calling kfree() in ide_end_drive_command() if IDE_TFLAG_DYN is set
  (while at it rename 'args' to 'task' and fix whitespace damage)

[ This will be fixed properly before 2.6.25 but this bug is rather
  critical and the proper solution requires some more work + testing. ]

Thanks to Sebastian Siewior and Christoph Hellwig for reporting the
problem and testing patches (extra thanks to Sebastian for bisecting
it to the guilty commmit).

Tested-by: Sebastian Siewior &lt;ide-bug@ml.breakpoint.cc&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Tejun Heo &lt;htejun@gmail.com&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: introduce CONFIG_BLK_DEV_IDEDMA_SFF option</title>
<updated>2008-02-10T23:32:14+00:00</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2008-02-10T23:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8e882ba111bb52fbb42c34a265afb97ddd4fcea1'/>
<id>8e882ba111bb52fbb42c34a265afb97ddd4fcea1</id>
<content type='text'>
Introduce new option CONFIG_BLK_DEV_IDEDMA_SFF for non-PCI SFF-8038i compatible
bus mastering IDE controllers (which there are a few known), thus fixing a hack
made for Palmchip BK3710 controller...

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Anton Salnikov &lt;asalnikov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce new option CONFIG_BLK_DEV_IDEDMA_SFF for non-PCI SFF-8038i compatible
bus mastering IDE controllers (which there are a few known), thus fixing a hack
made for Palmchip BK3710 controller...

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Anton Salnikov &lt;asalnikov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bast-ide: build fix</title>
<updated>2008-02-10T23:32:14+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-10T23:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7b56a937a17d21a266dd0a24053f951f3a92e428'/>
<id>7b56a937a17d21a266dd0a24053f951f3a92e428</id>
<content type='text'>
On Saturday 09 February 2008, Adrian Bunk wrote:
&gt; Commit 9e016a719209d95338e314b46c3012cc7feaaeec causes the following 
&gt; compile error:
&gt; 
&gt; &lt;--  snip  --&gt;
&gt; 
&gt; ...
&gt;   CC      drivers/ide/arm/bast-ide.o
&gt; /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c: In function 'bastide_register':
&gt; /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c:31: error: 'hwif' redeclared as different kind of symbol
&gt; /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c:29: error: previous definition of 'hwif' was here
&gt; make[4]: *** [drivers/ide/arm/bast-ide.o] Error 1
&gt; 
&gt; &lt;--  snip  --&gt;

Remove 'ide_hwif_t **hwif' argument from bastide_register()
(together with write-only ifs[]).

Cc: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Saturday 09 February 2008, Adrian Bunk wrote:
&gt; Commit 9e016a719209d95338e314b46c3012cc7feaaeec causes the following 
&gt; compile error:
&gt; 
&gt; &lt;--  snip  --&gt;
&gt; 
&gt; ...
&gt;   CC      drivers/ide/arm/bast-ide.o
&gt; /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c: In function 'bastide_register':
&gt; /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c:31: error: 'hwif' redeclared as different kind of symbol
&gt; /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c:29: error: previous definition of 'hwif' was here
&gt; make[4]: *** [drivers/ide/arm/bast-ide.o] Error 1
&gt; 
&gt; &lt;--  snip  --&gt;

Remove 'ide_hwif_t **hwif' argument from bastide_register()
(together with write-only ifs[]).

Cc: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide-tape: remove never executed code</title>
<updated>2008-02-10T23:32:14+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-10T23:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=31cb2120270cb43403428de67d8cb5caeb58dfd2'/>
<id>31cb2120270cb43403428de67d8cb5caeb58dfd2</id>
<content type='text'>
rq-&gt;cmd[0] is never set to REQ_IDETAPE_READ_BUFFER so remove
REQ_IDETAPE_READ_BUFFER handling from idetape_create_write_cmd()
and the define itself.

Then remove no longer used idetape_create_read_buffer_cmd()
and IDETAPE_RETRIEVE_FAULTY_BLOCK define.

There should be no functional changes caused by this patch.

Cc: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rq-&gt;cmd[0] is never set to REQ_IDETAPE_READ_BUFFER so remove
REQ_IDETAPE_READ_BUFFER handling from idetape_create_write_cmd()
and the define itself.

Then remove no longer used idetape_create_read_buffer_cmd()
and IDETAPE_RETRIEVE_FAULTY_BLOCK define.

There should be no functional changes caused by this patch.

Cc: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: fix ide/legacy/gayle.c compilation</title>
<updated>2008-02-10T23:32:14+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-02-10T23:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=56efa7b0e437808d367a92f7820b3aba930c230d'/>
<id>56efa7b0e437808d367a92f7820b3aba930c230d</id>
<content type='text'>
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide-cd: replace ntohs with generic byteorder macro be16_to_cpu</title>
<updated>2008-02-10T23:32:13+00:00</updated>
<author>
<name>Borislav Petkov</name>
<email>petkovbb@googlemail.com</email>
</author>
<published>2008-02-10T23:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7eb43fd2fa4a55faee97d4c84b336d2138075926'/>
<id>7eb43fd2fa4a55faee97d4c84b336d2138075926</id>
<content type='text'>
Signed-off-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: remove stale version number</title>
<updated>2008-02-10T23:32:13+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-10T23:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=eba8ff946177ca38dfde0bf1d8ce0703c45c49b9'/>
<id>eba8ff946177ca38dfde0bf1d8ce0703c45c49b9</id>
<content type='text'>
On Thursday 03 January 2008, Robert Hancock wrote:

[...]

&gt; How about getting rid of this stupid thing in drivers/ide/ide.c:
&gt; 
&gt; #define       REVISION        "Revision: 7.00alpha2"
&gt; 
&gt; which is used in:
&gt; 
&gt; printk(KERN_INFO "Uniform Multi-Platform E-IDE driver " REVISION "\n");
&gt; 
&gt; It's been 7.00alpha2 for god knows how long, so clearly this version 
&gt; number is not useful..

Cc: Robert Hancock &lt;hancockr@shaw.ca&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Thursday 03 January 2008, Robert Hancock wrote:

[...]

&gt; How about getting rid of this stupid thing in drivers/ide/ide.c:
&gt; 
&gt; #define       REVISION        "Revision: 7.00alpha2"
&gt; 
&gt; which is used in:
&gt; 
&gt; printk(KERN_INFO "Uniform Multi-Platform E-IDE driver " REVISION "\n");
&gt; 
&gt; It's been 7.00alpha2 for god knows how long, so clearly this version 
&gt; number is not useful..

Cc: Robert Hancock &lt;hancockr@shaw.ca&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
