/* Start up 3945's basic functionality after it has been reset (e.g. after platform boot, or shutdown via iwl_apm_stop()) NOTE: This does not load uCode nor start the embedded processor  */
static int iwl3945_apm_init(struct iwl_priv *priv)
/* Start up 3945's basic functionality after it has been reset (e.g. after platform boot, or shutdown via iwl_apm_stop()) NOTE: This does not load uCode nor start the embedded processor  */
static int iwl3945_apm_init(struct iwl_priv *priv)
{
	int ret = iwl_apm_init(priv);
	iwl_write_prph(priv, APMG_RTC_INT_MSK_REG, 0x0);
	iwl_write_prph(priv, APMG_RTC_INT_STT_REG, 0xFFFFFFFF);
	iwl_set_bits_prph(priv, APMG_PS_CTRL_REG, APMG_PS_CTRL_VAL_RESET_REQ);
	udelay(5);
	iwl_clear_bits_prph(priv, APMG_PS_CTRL_REG, APMG_PS_CTRL_VAL_RESET_REQ);
	return ret;
}