Date: Thu, 30 Jul 1998 10:05:11 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/scsi cd.c Message-ID: <199807301705.KAA09992@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/07/30 10:05:11 PDT
Modified files:
sys/scsi cd.c
Log:
Use the slice interfaces for SCSI cdroms. This centralizes handling
of some disk ioctls and uniformizes bounds checking in the strategy
routine. EOF handling got fixed as a side effect. The changes
are similar to old changes for SCSI disks, except slices and labels
are not searched for on the disk and the in-core label has a few
more details (mostly just for backwards compatibility). Bugs in
the in-core label had to be fixed to get dsopen() to accept it.
The slice interfaces had to support large sectors for all this to
work.
Revision Changes Path
1.97 +119 -207 src/sys/scsi/cd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807301705.KAA09992>
