From owner-freebsd-hackers Mon Dec 6 23:13:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.tvol.com (mail.wgate.com [38.219.83.4]) by hub.freebsd.org (Postfix) with ESMTP id CC5F41532A for ; Mon, 6 Dec 1999 23:13:10 -0800 (PST) (envelope-from rjesup@wgate.com) Received: from jesup.eng.tvol.net (jesup.eng.tvol.net [10.32.2.26]) by mail.tvol.com (8.8.8/8.8.3) with ESMTP id CAA25127; Tue, 7 Dec 1999 02:12:22 -0500 (EST) Reply-To: Randell Jesup To: Egervary Gergely , freebsd-hackers@freebsd.org Subject: Re: cdrom speed adjustment ioctl From: Randell Jesup Date: 07 Dec 1999 02:14:34 -0500 In-Reply-To: Egervary Gergely's message of "Mon, 6 Dec 1999 14:59:08 +0100 (CET)" Message-ID: X-Mailer: Gnus v5.6.43/Emacs 20.4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Egervary Gergely writes: >> I've just hacked a new ioctl into the ATAPI cdrom driver, which >> lets the user to specify (pronounce: ``slow down'' :) the speed >> of todays' extremely high speed drives. > >ok, so i see you like the idea - so the question is: should we implement a >new ioctl for it, or - as like scsi - should we use a program like >camcontrol for it? One solution I used in the past (Amiga) was to implement the ATA (and ATAPI) support by writing the equivalent of SCSI CAM SIM; that is a SIM that actually controlled IDE hardware instead of SCSI hardware. This is quite easy, in fact, especially since ATAPI is basically SCSI-over-IDE with a few twists. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) rjesup@wgate.com CDA II has been passed and signed, sigh. The lawsuit has been filed. Please support the organizations fighting it - ACLU, EFF, CDT, etc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message