From owner-cvs-all Wed Mar 14 6:43:22 2001 Delivered-To: cvs-all@freebsd.org Received: from tao.org.uk (unknown [194.128.198.234]) by hub.freebsd.org (Postfix) with ESMTP id 9858337B718; Wed, 14 Mar 2001 06:43:11 -0800 (PST) (envelope-from joe@tao.org.uk) Received: by tao.org.uk (Postfix, from userid 100) id 2E7B331D6; Wed, 14 Mar 2001 14:33:19 +0000 (GMT) Date: Wed, 14 Mar 2001 14:33:19 +0000 From: Josef Karthauser To: =?iso-8859-1?Q?S=F8ren_Schmidt?= Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org 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.c atapi-fd.h atapi-tape.c atapi-tape.h Message-ID: <20010314143318.A544@tao.org.uk> References: <200103141205.f2EC5jE91878@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103141205.f2EC5jE91878@freefall.freebsd.org>; from sos@FreeBSD.org on Wed, Mar 14, 2001 at 04:05:45AM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --jRHKVT23PllUwdXP Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 14, 2001 at 04:05:45AM -0800, S=F8ren Schmidt wrote: > sos 2001/03/14 04:05:45 PST >=20 > Modified files: > sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-disk.h=20 > atapi-all.c atapi-all.h atapi-cd.c=20 > atapi-cd.h atapi-fd.c atapi-fd.h=20 > atapi-tape.c atapi-tape.h=20 > Log: > Refine the detach/attach code. > =20 > Proberly fail outstanding bio requests on devices that are detached. > =20 > 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? Joe --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqvgS4ACgkQXVIcjOaxUBbGZwCZAZz0AiwM4TzAzciu5bv3AnJt 9BMAn35edS0RFDGXgFD1r1pHZY4NR8Au =lpGU -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message