Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Dec 1999 01:38:32 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Warner Losh <imp@village.org>
Cc:        Christopher Masto <chris@netmonger.net>, Nick Hibma <hibma@skylink.it>, Mike Smith <msmith@FreeBSD.ORG>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: PCCARD eject freeze (was Re: your mail) 
Message-ID:  <199912010938.BAA00461@mass.cdrom.com>
In-Reply-To: Your message of "Tue, 30 Nov 1999 23:24:16 MST." <199912010624.XAA07751@harmony.village.org> 

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




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