Nate Lawson wrote:
> The problem with making burncd work for SCSI is that it doesn't use the
> ATAPI interface, instead it implements our own ioctl interface.
> Currently, the ioctls burncd uses that are missing from cd(4) are:

[ ... ]

> Instead of cutting/pasting those from atapi-cd.c, I think it would be
> better eventually to rewrite burncd using the ATAPI commands and libcam to
> send them to the drive.  That way we can have one CD driver instead of
> duplicating all that code.  IMO, atapi-cd.c need never have been written
> but atapi-cam should have been done much earlier.  We now have two nearly
> identical drivers for supporting the exact same hardware.  cd(4) works for
> ATAPI and SCSI drives.  acd(4) doesn't but has newer ATAPI commands that
> have not yet been cut/pasted into cd(4).

If you want to do 8 at a time, ATAPI isn't an option.

Also, SCSI is the least common denominator; ATAPI is SCSI over IDE.

Finally, the CAM/ATAPI SCSI code is already written and checked in,
so there's already a common API (it's just that, as you point out,
missing some ioctl() entry points.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to