rc = ipw_poll_bit(priv, CX2_RESET_REG, CX2_RESET_REG_MASTER_DISABLED, 500);
rc = ipw_poll_bit(priv, IPW_RESET_REG, IPW_RESET_REG_MASTER_DISABLED, 500);
static int ipw_stop_nic(struct ipw_priv *priv){	int rc = 0;	/* stop */	ipw_write32(priv, CX2_RESET_REG, CX2_RESET_REG_STOP_MASTER);	rc = ipw_poll_bit(priv, CX2_RESET_REG,			  CX2_RESET_REG_MASTER_DISABLED, 500);	if (rc < 0) {		IPW_ERROR("wait for reg master disabled failed\n");		return rc;	}	ipw_set_bit(priv, CX2_RESET_REG, CBD_RESET_REG_PRINCETON_RESET);	return rc;}