From owner-freebsd-arch Mon Jun 24 13:44:21 2002 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id E410937B400 for ; Mon, 24 Jun 2002 13:44:14 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g5OKgGCn083074; Mon, 24 Jun 2002 22:42:17 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Matthew N. Dodd" Cc: "M. Warner Losh" , arch@FreeBSD.ORG Subject: Re: It is time to admit that removable devices exist In-Reply-To: Your message of "Mon, 24 Jun 2002 16:36:51 EDT." <20020624163116.J95270-100000@sasami.jurai.net> Date: Mon, 24 Jun 2002 22:42:16 +0200 Message-ID: <83073.1024951336@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020624163116.J95270-100000@sasami.jurai.net>, "Matthew N. Dodd" w rites: >On Sun, 23 Jun 2002, M. Warner Losh wrote: >> Please find enclosed the beginnings of a patch to make removable devices >> better represented in the system. Right now all it adds is a mechanism >> by which client drivers can ask if the device is still really there or >> not. > >If a device driver is ever in a position to ask this question when a >device is not actually present then we've got larger issues. Yes, but shooting the JEDEC/PCMCIA/PCCARD standards groups is too late now :-) Notice how there is no mechanical lock on your pccards ? When you eject a pccard, we may get in pccard-socket interrupt before it disappears but we may also not. Depending on the world+dog this interrupt me come before, during or after the relevant device driver enters its interrupt routine. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message