Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Dec 1999 01:42:17 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        mobile@FreeBSD.org
Subject:   Re: cvs commit: src/sys/pccard pccard.c src/sys/isa sio.c src/sys/dev/ed if_ed_pccard.c src/sys/dev/ep if_ep_pccard.c 
Message-ID:  <199912010942.BAA00486@mass.cdrom.com>
In-Reply-To: Your message of "Tue, 30 Nov 1999 23:38:55 PST." <199912010738.XAA93773@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>   Fix the hang on card eject problem and maybe the hang on suspend
>   problem.
>   
>   o Create new timeout routine so we don't detach the card inside a ISR
>     but instead drop back to spl0 via a timeout of 0.

This will still fail in most card-device interrupt handlers that don't
spin-limit themselves.  If at all possible, there should be a mechanism
for a card-device interrupt handler to query the parent bus to determine
whether the hardware has gone away.  (This would allow the handler to bail
out and let the detach code do its stuff if the handler is spinning madly.)

-- 
\\ 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-mobile" in the body of the message




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