[lkml]   [2002]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [CFT] Bus mastering support for IDE CDROM audio
    "Kevin P. Fleming" wrote:
    > When reading from the N drive, get lots of "cdrom_pc_intr: read too
    > little data 0 < 2352",

    OK, thanks Kevin (Dan, Kristian, Grant..)

    Seems that some devices simply terminate their DMA in a normal
    manner, report no errors and don't tell us how much data they
    transferred. From my reading of the ATA spec, they're allowed
    to do that - they only need to report the transfer byte count
    in PIO mode.

    Could you please change the code in drivers/ide/ide-cd.c:cdrom_pc_intr() to:

    if ((stat & DRQ_STAT) == 0 && len < pc->buflen) {
    printk(__FUNCTION__ ": read too little data! %d < %d\n",
    len, pc->buflen);
    + len = pc->buflen;
    pc->buflen -= len;
    pc->buffer += len;

    and let me know if the thing actually reads audio correctly?

    Also, please tell me whether that particular drive reads normal
    ISO filesystems correctly in DMA mode? Thanks.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:15    [W:0.021 / U:4.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site