From owner-freebsd-current@FreeBSD.ORG Tue Mar 29 08:23:42 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C68E116A4CE; Tue, 29 Mar 2005 08:23:42 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F85A43D5E; Tue, 29 Mar 2005 08:23:42 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2T8NUJ5040084; Tue, 29 Mar 2005 10:23:30 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Mar 2005 01:16:33 PDT." <20050329.011633.33548829.imp@bsdimp.com> Date: Tue, 29 Mar 2005 10:23:30 +0200 Message-ID: <40083.1112084610@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:23:42 -0000 In message <20050329.011633.33548829.imp@bsdimp.com>, "M. Warner Losh" writes: >: >: Only partial. >: > >: >You should be getting a change notification on the first access after >: >the change happens... >: >: Right, that's what I mean by "partial". Full support would be an interrupt >: when a media is removed or inserted. > >And what hardware, apart from PC Card, actually supports this? >From my point of view that is not really a relevant question in this discussion. The driver write will have to work with whatever his hardware can do, and compensate for less than ideal support with polling if necessary. -- 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.