Re: CD writing in future Linux (stirring up a hornets' nest)

From: Bartlomiej Zolnierkiewicz
Date: Wed Feb 01 2006 - 10:48:05 EST


On 2/1/06, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:
> >>
> >> This is called integration and it is done by Linux e.g. for 1394 and USB SCSI
> >> devices. So why not for ATAPI?
> >
> >Because we have native drivers which do not require SCSI stack et all.
> >
> >* if [ED: it] is very useful if cd-writing can be done with ide-cd and without
> > SCSI stack (a hack but very useful one)
> >* you don't need SCSI stack (a lot of code saved!)
>
>
> Which unfortunately leads us back to one of the early questions.
>
> If ATAPI is some sort of SCSI [command set] over ATA, and ide-cd can be used
> without the "Big Bad" SCSI layer (CONFIG_SCSI), don't we have redundant code
> floating around?

No, because this code belongs to the block layer (scsi_ioctl.c)
and is shared between SCSI and IDE drivers.

BTW This was already at least once explained in this thread.

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