I understand that after your new patch enabling/disabling translation
is done per device.
Why not add an ioctl to get/set the transform bits? Then by default
enable the translation in all cases. Programs that are aware that
this is really an ATAPI device can use the ioctl to disable the
translation (and restore previous settings when they exit).
(for a program that accesses /dev/sgX it is much easier to use
the ioctl). This ioctl can also be used by programs to distinguish
between ide-scsi and 'real' scsi.
Off topic: is there any plan (or work-in-progress) to have the
similar of ide-scsi for paride? What else is needed to support
parallel port cd-writers (like the HP7100e).
Itai
-- Itai Nahshon nahshon@actcom.co.il Also nahshon@vnet.ibm.com