From owner-freebsd-current Wed Dec 1 1:37:52 1999 Delivered-To: freebsd-current@freebsd.org Received: from mass.cdrom.com (castles561.castles.com [208.214.165.125]) by hub.freebsd.org (Postfix) with ESMTP id A5CCF15AC9; Wed, 1 Dec 1999 01:37:35 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id BAA00461; Wed, 1 Dec 1999 01:38:32 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912010938.BAA00461@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: Christopher Masto , Nick Hibma , Mike Smith , FreeBSD CURRENT Mailing List Subject: Re: PCCARD eject freeze (was Re: your mail) In-reply-to: Your message of "Tue, 30 Nov 1999 23:24:16 MST." <199912010624.XAA07751@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Dec 1999 01:38:32 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In message <19991130213532.A2764@netmonger.net> Christopher Masto writes: > : On Tue, Nov 30, 1999 at 04:52:33PM -0700, Warner Losh wrote: > : > It would help me if you could send me your patches... > : > : Well, here's all I've got. It's basically just a sloppy version of > : what you suggested. > > OK. This should help. I'll see if I can make it suck less. I'm not > sure what to do about drivers that are sleeping in some routine or > another when they are ejected, but at least I'll make sure taht teh > detach happens at spl0, if it isn't already... The only "right" solution is for us to mandate that people down cards before ejecting them. The physical design of pccards basically gives us no other option. No matter how hard we try to get it "right" for spontaneous removal, we can't win that fight. Not to say we shouldn't try, but people should always hold foremost in their minds the fact that there is no complete solution for this, and the return on investment diminishes rapidly. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message