Date: Mon, 22 May 2000 14:00:02 -0700 (PDT) From: David Greenman <dg@root.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/18756: [PATCH] fxp device causes lockups after suspend/resume Message-ID: <200005222100.OAA96654@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/18756; it has been noted by GNATS.
From: David Greenman <dg@root.com>
To: mike ryan <mike+fbsd@medianstrip.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/18756: [PATCH] fxp device causes lockups after suspend/resume
Date: Mon, 22 May 2000 13:38:30 -0700
>
>+ /* don't try to service interrupts when the interface isn't running */
>+ if ((ifp->if_flags & IFF_RUNNING) == 0) {
>+ return;
>+ }
>+
> while ((statack = CSR_READ_1(sc, FXP_CSR_SCB_STATACK)) != 0) {
This could be a problem. If an interrupt occurs, it must be acknowledged
otherwise you'll be stuck in an infinit loop - PCI interrupts are level
sensitive and must be cleared in the ISR.
-DG
David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
Creator of high-performance Internet servers - http://www.terasolutions.com
Pave the road of life with opportunities.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005222100.OAA96654>
