Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Dec 1999 12:02:54 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Christopher Masto <chris@netmonger.net>
Cc:        Warner Losh <imp@village.org>, Mike Smith <msmith@FreeBSD.ORG>, Nick Hibma <hibma@skylink.it>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: PCCARD eject freeze (was Re: your mail) 
Message-ID:  <199912012002.MAA00580@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 01 Dec 1999 12:36:29 EST." <19991201123629.A5734@netmonger.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912012002.MAA00580>