Witness panic (fxp/polling related)
Nate Lawson
nate at root.org
Fri Jul 11 13:18:11 PDT 2003
On Fri, 11 Jul 2003, John Baldwin wrote:
> if (ether_poll_register(fxp_poll, ifp)) {
> /* disable interrupts */
> CSR_WRITE_1(sc, FXP_CSR_SCB_INTRCNTL, FXP_SCB_INTR_DISABLE);
> fxp_poll(ifp, 0, 1);
> FXP_UNLOCK(sc);
> return;
>
> Try moving the FXP_UNLOCK() up before the call to fxp_poll() (it
> should be safe to do so).
I looked it over and indeed this is the correct fix. Please commit.
Thanks,
Nate
More information about the freebsd-current
mailing list