From owner-cvs-all Wed Mar 14 7:53:55 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.virtual-estates.net (video-collage.com [160.79.196.177]) by hub.freebsd.org (Postfix) with ESMTP id 358F537B71A; Wed, 14 Mar 2001 07:53:48 -0800 (PST) (envelope-from mi@mail.virtual-estates.net) Received: (from mi@localhost) by mail.virtual-estates.net (8.9.3+3.2W/8.9.3) id KAA00670; Wed, 14 Mar 2001 10:44:48 -0500 (EST) From: Mikhail Teterin Message-Id: <200103141544.KAA00670@mail.virtual-estates.net> Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-disk.h atapi-all.c atapi-all.h atapi-cd.c atapi-cd.h atapi-fd In-Reply-To: <200103141519.QAA46468@freebsd.dk> from Soren Schmidt at "Mar 14, 2001 04:19:06 pm" To: Soren Schmidt Date: Wed, 14 Mar 2001 10:44:47 -0500 (EST) Cc: Josef Karthauser , "[S_ren] Schmidt" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL60 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > It seems Josef Karthauser wrote: > > On Wed, Mar 14, 2001 at 04:05:45AM -0800, S_ren Schmidt wrote: > > > Refine the detach/attach code. > > > > > > Proberly fail outstanding bio requests on devices that are detached. > > > > > > This makes it possible to change between disk/cdrom/dvd/whathaveyou > > > in a notebook, just by suspending it, changing the device in the > > > bay (or what you model calls it), unsuspend and the ATA driver > > > will figure out what disappeared and properly fail those, and attach > > > any new devices found. > > > > Is there a userland tool coming for poking this without suspending? > > Yes, atacontrol is on its way for doing numerous things to > ATA/ATAPI devices, no promises as to when, but soon now.. Perhaps, it'd be better to have the SCSI emulation layer? Then, not only will the existing camcontrol be able to do this job, but various SCSI-only utilities (like CD/DVD burning software) will be able to work with IDE devices? Or is such layer A WHOLE LOT more complex to implement? -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message