<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ide/ide-cd.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-08-20T18:15:26Z</updated>
<entry>
<title>ide-cd: fix endianity for the error message in cdrom_read_capacity</title>
<updated>2008-08-20T18:15:26Z</updated>
<author>
<name>Petr Tesarik</name>
</author>
<published>2008-08-06T00:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf3e04758501587d7ff4366fd3fab75e7d9e85b8'/>
<id>urn:sha1:bf3e04758501587d7ff4366fd3fab75e7d9e85b8</id>
<content type='text'>
commit 938bb03d188a1e688fb0bcae49788f540193e80a uptream

Aesthetic regards aside, commit e8e7b9eb11c34ee18bde8b7011af41938d1ad667
still leaves a bug in the error message, because it uses the unconverted
big-endian value for printk.

Fix this by using a local variable in machine byte order. The result is
correct, more readable, and also produces slightly shorter code on i386.

Signed-off-by: Petr Tesarik &lt;ptesarik@suse.cz&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Jan Kara &lt;jack@suse.cz&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: &lt;stable@kernel.org&gt;
Acked-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
[bart: __u32 -&gt; u32]
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ide-cd: fix oops when using growisofs</title>
<updated>2008-08-01T18:50:46Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2008-07-24T22:05:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df8b6217e65519f9cdc8aea5bd5003fc54e58ce6'/>
<id>urn:sha1:df8b6217e65519f9cdc8aea5bd5003fc54e58ce6</id>
<content type='text'>
commit e8e7b9eb11c34ee18bde8b7011af41938d1ad667 upstream

cdrom_read_capacity() will blindly return the capacity from the device
without sanity-checking it.  This later causes code in fs/buffer.c to
oops.

Fix this by checking that the device is telling us sensible things.

From: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Michael Buesch &lt;mb@bu3sch.de&gt;
Cc: Jan Kara &lt;jack@suse.cz&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Borislav Petkov &lt;petkovbb@googlemail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
[bart: print device name instead of driver name]
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
[harvey: blocklen is a big-endian value]
Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ide-cd: fix CD/DVD burning</title>
<updated>2008-02-26T20:50:35Z</updated>
<author>
<name>Andreas Schwab</name>
</author>
<published>2008-02-26T20:50:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcd88ac3b2ff2eae3d0fa57a6b02d4fce5392f32'/>
<id>urn:sha1:bcd88ac3b2ff2eae3d0fa57a6b02d4fce5392f32</id>
<content type='text'>
Move counting of sense bytes into the transfer loop.

Signed-off-by: Andreas Schwab &lt;schwab@suse.de&gt;
Acked-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Cc: Kiyoshi Ueda &lt;k-ueda@ct.jp.nec.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-cd: fix 'ireason' handling for REQ_TYPE_ATA_PC requests</title>
<updated>2008-02-26T20:50:35Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-26T20:50:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f10d9ee0ac6d79d7bc8b9a158bf4a29322d84d3'/>
<id>urn:sha1:9f10d9ee0ac6d79d7bc8b9a158bf4a29322d84d3</id>
<content type='text'>
Pass 'struct request *rq' to ide_cd_check_ireason() from cdrom_newpc_intr()
and use ide_cd_check_ireason() also for REQ_TYPE_ATA_PC requests.

This fixes some hangs caused by not finishing the transfer before ending
the request and also makes use of 'ireason == 1' quirk for spurious IRQs.

Tested-by: Brad Rosser &lt;brad.rosser@gmail.com&gt;
Cc: Borislav Petkov &lt;petkovbb@googlemail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-cd: Enable audio play quirk for Optiarc DVD RW AD-5200A drive</title>
<updated>2008-02-26T20:50:32Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2008-02-26T20:50:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=acbe44e6274e88a14a68df511d87890846a9bc99'/>
<id>urn:sha1:acbe44e6274e88a14a68df511d87890846a9bc99</id>
<content type='text'>
Reported-by: Stefan Bader &lt;stefan.bader@canonical.com&gt;
Signed-off-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-cd: fix missing residual count setting in DMA mode</title>
<updated>2008-02-19T00:41:26Z</updated>
<author>
<name>Kiyoshi Ueda</name>
</author>
<published>2008-02-19T00:41:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=14e04c3f6e64bac468f0aa38c6d47aa95b60c074'/>
<id>urn:sha1:14e04c3f6e64bac468f0aa38c6d47aa95b60c074</id>
<content type='text'>
This patch fixes the missing residual count setting in DMA mode,
which was introduced during the conversion to blk-end-request.
The residual count could be used by the request submitter.
So if it isn't set correctly, some upper layers does not work.
(e.g. wodim for CD burning.)

The bug is in only DMA mode.
In PIO mode, we are setting the residual count correctly,
so no need to fix.

Signed-off-by: Kiyoshi Ueda &lt;k-ueda@ct.jp.nec.com&gt;
Signed-off-by: Jun'ichi Nomura &lt;j-nomura@ce.jp.nec.com&gt;
Reported-by: Andreas Schwab &lt;schwab@suse.de&gt;
Tested-by: Andreas Schwab &lt;schwab@suse.de&gt;
Tested-by: Laura Garcia &lt;nevola@gmail.com&gt;
Tested-by: Borislav Petkov &lt;petkovbb@googlemail.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-cd: replace ntohs with generic byteorder macro be16_to_cpu</title>
<updated>2008-02-10T23:32:13Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2008-02-10T23:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7eb43fd2fa4a55faee97d4c84b336d2138075926'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ide: add ide_read_error() inline helper</title>
<updated>2008-02-06T01:57:51Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-06T01:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64a57fe4393bae920d03c253173f59d8a7ec8e25'/>
<id>urn:sha1:64a57fe4393bae920d03c253173f59d8a7ec8e25</id>
<content type='text'>
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add ide_read_[alt]status() inline helpers</title>
<updated>2008-02-06T01:57:51Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-06T01:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c47137a99c597330b69057158b26061a360c0e09'/>
<id>urn:sha1:c47137a99c597330b69057158b26061a360c0e09</id>
<content type='text'>
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-floppy: use an xfer_func_t and io_buf_t typedefs in order to unify rw</title>
<updated>2008-02-02T18:56:36Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2008-02-02T18:56:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0eea6458c04a1cbb2e8e5c2cdbef736d882d200c'/>
<id>urn:sha1:0eea6458c04a1cbb2e8e5c2cdbef736d882d200c</id>
<content type='text'>
Also, move xfer_func_t typedef to the ide.h since it is used by two drivers
now (more coming).

Bart:
- use __func__ while at it

Signed-off-by: Borislav Petkov &lt;bbpetkov@yahoo.de&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
