From owner-cvs-all Thu Jul 30 12:16:53 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28825 for cvs-all-outgoing; Thu, 30 Jul 1998 12:16:53 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28780; Thu, 30 Jul 1998 12:16:48 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA09992; Thu, 30 Jul 1998 10:05:11 -0700 (PDT) Date: Thu, 30 Jul 1998 10:05:11 -0700 (PDT) Message-Id: <199807301705.KAA09992@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/scsi cd.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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