From owner-cvs-all Wed Mar 14 7:19:23 2001 Delivered-To: cvs-all@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 790D337B718; Wed, 14 Mar 2001 07:19:12 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id QAA46468; Wed, 14 Mar 2001 16:19:06 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200103141519.QAA46468@freebsd.dk> 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: <20010314143318.A544@tao.org.uk> from Josef Karthauser at "Mar 14, 2001 02:33:19 pm" To: joe@tao.org.uk (Josef Karthauser) Date: Wed, 14 Mar 2001 16:19:06 +0100 (CET) Cc: sos@FreeBSD.org (=?ISO-8859-1?Q?S=F8ren?= Schmidt), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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.. -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message