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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to