Date: Fri, 4 Oct 2002 10:09:21 -0700 (PDT) From: Nate Lawson <nate@root.org> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/cam/scsi scsi_cd.c Message-ID: <Pine.BSF.4.21.0210041008170.94747-100000@root.org> In-Reply-To: <200210041333.g94DXVJb051666@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Oct 2002, Poul-Henning Kamp wrote: > phk 2002/10/04 06:33:31 PDT > > Modified files: > sys/cam/scsi scsi_cd.c > Log: > Unhook the SCSI CD driver from the disk "mini-layer" and/or GEOM. > > SCSI disks are too square pegs for the round holes in both of these. > > And since atapi-cd has clearly shown that there are better acccess > models for CD media than trying to pretend to be a classical disk, > we stop the masquerade rather than patch up the costume. > > But do implement the DIOCGMEDIASIZE and DIOCGSECTORSIZE so it will > be possible to manually attach to GEOM, should some the need arise. > > Ideally, this driver should do media-detection and call make_dev() > when a CD is inserted and destroy_dev() when it is removed, this > would allow our future devd(8) to automount etc etc but coding that > takes SCSI-clue beyond anything I posses. > > Tested on: sparc64 > > Revision Changes Path > 1.62 +23 -117 src/sys/cam/scsi/scsi_cd.c A CAM redesign is underway. Along with it will come modernization -- SMP locking, dev_t updating, etc. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210041008170.94747-100000>