From owner-freebsd-current Wed Dec 1 12: 4:56 1999 Delivered-To: freebsd-current@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id 5016114CC7; Wed, 1 Dec 1999 12:04:54 -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 MAA00580; Wed, 1 Dec 1999 12:02:54 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912012002.MAA00580@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Christopher Masto Cc: Warner Losh , Mike Smith , Nick Hibma , FreeBSD CURRENT Mailing List Subject: Re: PCCARD eject freeze (was Re: your mail) In-reply-to: Your message of "Wed, 01 Dec 1999 12:36:29 EST." <19991201123629.A5734@netmonger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Dec 1999 12:02:54 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Wed, Dec 01, 1999 at 09:05:38AM -0700, Warner Losh wrote: > > In message <199912010938.BAA00461@mass.cdrom.com> Mike Smith writes: > > : The only "right" solution is for us to mandate that people down cards > > : before ejecting them. ... > I would like to see that something along the lines of a method to shut > down the card in preparation for removal, That's what I said above. > In other words, whereas right now I would have to > "ifconfig down" if it's an ethernet card, "pppctl close" if it's a > serial card, and unmount the filesystem if it's a flash card, None of those actions would be adequate. > There are other contexts for the same issues anyway. USB has devices > that go away suddenly, and it _is_ designed to be hot-removable, so > people are going to be pulling the plug on network adapters, ZIP > drives, etc. We need drivers that are capable of going away cleanly, > or at least without a panic. You can't do this with pccard, full stop. It's not a code problem, it's a design problem fundamental to pccards. They could have fixed it with a few extra components, but that would have been too much like hard work. *sigh* -- \\ 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