 pr_debug("sky2_ramset start=%d end=%d\n", start, end); 
static void sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, size_t len){	u32 end;	start /= 8;	len /= 8;	end = start + len - 1;	pr_debug("sky2_ramset start=%d end=%d\n", start, end);	sky2_write8(hw, RB_ADDR(q, RB_CTRL), RB_RST_CLR);	sky2_write32(hw, RB_ADDR(q, RB_START), start);	sky2_write32(hw, RB_ADDR(q, RB_END), end);	sky2_write32(hw, RB_ADDR(q, RB_WP), start);	sky2_write32(hw, RB_ADDR(q, RB_RP), start);	if (q == Q_R1 || q == Q_R2) {		u32 rxup, rxlo;		rxlo = len/2;		rxup = rxlo + len/4;		pr_debug(" utpp=%d ltpp=%d\n", rxup, rxlo);		/* Set thresholds on receive queue's */		sky2_write32(hw, RB_ADDR(q, RB_RX_UTPP), rxup);		sky2_write32(hw, RB_ADDR(q, RB_RX_LTPP), rxlo);	} else {		/* Enable store & forward on Tx queue's because		 * Tx FIFO is only 1K on Yukon		 */		sky2_write8(hw, RB_ADDR(q, RB_CTRL), RB_ENA_STFWD);	}	sky2_write8(hw, RB_ADDR(q, RB_CTRL), RB_ENA_OP_MD);	sky2_read8(hw, RB_ADDR(q, RB_CTRL));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6b1a3aefd897fd9be410d192f950656ef2b59694/sky2.c/buggy/drivers/net/sky2.c