Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: Revisiting gem(4) resets



LGTM.

> @@ -2258,6 +2265,7 @@
>  	uint32_t rx_fifo_wr_ptr;
>  	uint32_t rx_fifo_rd_ptr;
>  	uint32_t state;
> +	int needreset;

move this to inside the else {} block, where it's used?

> @@ -2282,25 +2290,33 @@
>  		    "receiver stuck in overflow, resetting\n");
>  		gem_init(ifp);
>  	} else {
> +		needreset = 1;

ie, add "int " here.


.mrg.


Home | Main Index | Thread Index | Old Index