Lines 300-305
Link Here
|
300 |
*************************************************************************/ |
300 |
*************************************************************************/ |
301 |
|
301 |
|
302 |
#define IDECD_VERSION "4.61" |
302 |
#define IDECD_VERSION "4.61" |
|
|
303 |
#define VERBOSE_IDE_CD_ERRORS 1 |
303 |
|
304 |
|
304 |
#include <linux/config.h> |
305 |
#include <linux/config.h> |
305 |
#include <linux/module.h> |
306 |
#include <linux/module.h> |
Lines 1409-1416
Link Here
|
1409 |
thislen = rq->data_len; |
1410 |
thislen = rq->data_len; |
1410 |
if (thislen > len) thislen = len; |
1411 |
if (thislen > len) thislen = len; |
1411 |
|
1412 |
|
|
|
1413 |
/* Mask off ireason of 1... hope this works :( */ |
1414 |
if ((ireason & 3) == 1) { |
1415 |
/* Do nothing */ |
1416 |
|
1417 |
} |
1418 |
|
1412 |
/* The drive wants to be written to. */ |
1419 |
/* The drive wants to be written to. */ |
1413 |
if ((ireason & 3) == 0) { |
1420 |
else if ((ireason & 3) == 0) { |
1414 |
if (!rq->data) { |
1421 |
if (!rq->data) { |
1415 |
blk_dump_rq_flags(rq, "cdrom_pc_intr, write"); |
1422 |
blk_dump_rq_flags(rq, "cdrom_pc_intr, write"); |
1416 |
goto confused; |
1423 |
goto confused; |