> On Wed, Dec 01, 1999 at 09:05:38AM -0700, Warner Losh wrote:
> > In message <[EMAIL PROTECTED]> 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, \\ [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\ [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message