Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 09:44:31 +0100 (BST)
From:      <n_hibma@FreeBSD.ORG>
To:        Warner Losh <imp@harmony.village.org>
Cc:        <current@FreeBSD.ORG>
Subject:   Re: USB Ethernet hang on "eject" 
Message-ID:  <20010531094239.S34739-100000@henny.webweaving.org>
In-Reply-To: <200105310355.f4V3tiE88901@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Of course not.  I never do that with pccards :-)

That's why I asked it :-) It shouldn't be necessary.

> When I do that, as a work around, I find that I can pull the plug.
>
> How hard is it to fix the way that the ethernet driver reads the MII
> registers in the interrupt context?

Hard, but probably not impossible. Especially with threads in interrupts
or worker threads, it should be possible. Task queue might be a solution
as well, although I guess the problem is that the action is blocking,
and task queue might not handle that very well.

A worker thread for the ethernet drivers is probably the simplest
solution.

Nick


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?20010531094239.S34739-100000>