Re: IDE/ATAPI in 2.5

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Fri Jul 12 2002 - 10:00:39 EST


Użytkownik Jens Axboe napisał:
> On Fri, Jul 12 2002, Martin Dalecki wrote:
>
>>Workarounds in ide-cd - none.
>
>
> you must be kidding?
>

OK OK.

        } else if (ireason == 1) {
                /* Some drives (ASUS) seem to tell us that status
                 * info is available. just get it and ignore.
                 */
                ata_status(drive, 0, 0);
                return 0;
        } else {
                /* Drive wants a command packet, or invalid ireason... */
                printk ("%s: cdrom_read_intr: bad interrupt reason %d\n",
                        drive->name, ireason);
        }

Long time not enabled one:

#if !STANDARD_ATAPI
         /* the Sanyo 3 CD changer uses byte 7 of TEST_UNIT_READY to
            switch CDs instead of supporting the LOAD_UNLOAD opcode */

         cmd[7] = cdi->sanyo_slot % 3;
#endif

But really nothing scary...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:22 EST