CX2_TX_QUEUE_1_READ_INDEX, CX2_TX_QUEUE_1_WRITE_INDEX, CX2_TX_QUEUE_1_BD_BASE, CX2_TX_QUEUE_1_BD_SIZE); 
IPW_TX_QUEUE_1_READ_INDEX, IPW_TX_QUEUE_1_WRITE_INDEX, IPW_TX_QUEUE_1_BD_BASE, IPW_TX_QUEUE_1_BD_SIZE); 
static int ipw_queue_reset(struct ipw_priv *priv){	int rc = 0;	/** @todo customize queue sizes */	int nTx = 64, nTxCmd = 8;	ipw_tx_queue_free(priv);	/* Tx CMD queue */	rc = ipw_queue_tx_init(priv, &priv->txq_cmd, nTxCmd,			       CX2_TX_CMD_QUEUE_READ_INDEX,			       CX2_TX_CMD_QUEUE_WRITE_INDEX,			       CX2_TX_CMD_QUEUE_BD_BASE,			       CX2_TX_CMD_QUEUE_BD_SIZE);	if (rc) {		IPW_ERROR("Tx Cmd queue init failed\n");		goto error;	}	/* Tx queue(s) */	rc = ipw_queue_tx_init(priv, &priv->txq[0], nTx,			       CX2_TX_QUEUE_0_READ_INDEX,			       CX2_TX_QUEUE_0_WRITE_INDEX,			       CX2_TX_QUEUE_0_BD_BASE, CX2_TX_QUEUE_0_BD_SIZE);	if (rc) {		IPW_ERROR("Tx 0 queue init failed\n");		goto error;	}	rc = ipw_queue_tx_init(priv, &priv->txq[1], nTx,			       CX2_TX_QUEUE_1_READ_INDEX,			       CX2_TX_QUEUE_1_WRITE_INDEX,			       CX2_TX_QUEUE_1_BD_BASE, CX2_TX_QUEUE_1_BD_SIZE);	if (rc) {		IPW_ERROR("Tx 1 queue init failed\n");		goto error;	}	rc = ipw_queue_tx_init(priv, &priv->txq[2], nTx,			       CX2_TX_QUEUE_2_READ_INDEX,			       CX2_TX_QUEUE_2_WRITE_INDEX,			       CX2_TX_QUEUE_2_BD_BASE, CX2_TX_QUEUE_2_BD_SIZE);	if (rc) {		IPW_ERROR("Tx 2 queue init failed\n");		goto error;	}	rc = ipw_queue_tx_init(priv, &priv->txq[3], nTx,			       CX2_TX_QUEUE_3_READ_INDEX,			       CX2_TX_QUEUE_3_WRITE_INDEX,			       CX2_TX_QUEUE_3_BD_BASE, CX2_TX_QUEUE_3_BD_SIZE);	if (rc) {		IPW_ERROR("Tx 3 queue init failed\n");		goto error;	}	/* statistics */	priv->rx_bufs_min = 0;	priv->rx_pend_max = 0;	return rc;      error:	ipw_tx_queue_free(priv);	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b095c3819805f87d73d41641a53e4c070360d783/ipw2200.c/buggy/drivers/net/wireless/ipw2200.c