cvs commit: src/sys/dev/fxp if_fxp.c

Guido van Rooij guido at gvr.org
Tue Apr 8 08:36:29 PDT 2003


On Tue, Apr 08, 2003 at 06:05:12AM -0700, Maxime Henrion wrote:
> mux         2003/04/08 06:05:12 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/fxp          if_fxp.c 
>   Log:
>   Fix the hangs people have been seeing.  For some reason, the
>   atomic operation change caused this, so backout it until I
>   can figure out what's wrong with it.

FRom the look of it, it seems you have an error in your patch.
Shouldn't:
atomic_clear_32((u_int32_t *)&last->tx_cb->cb_status,
	    htobe32(bswap16(FXP_CB_COMMAND_S)));

be:

atomic_clear_32((u_int32_t *)&last->tx_cb->cb_command,
	    htobe32(bswap16(FXP_CB_COMMAND_S)));

-Guido


More information about the cvs-src mailing list