On 10/06/2011 04:12 PM, Sangwook Lee wrote: > From: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> > > Sangwook found out that commit 639d0b89 ("ath6kl: read firmware start > address from hardware") broke firmware boot on ar6003 hw2.0 as it seems > it's not posible to automatically query the address from hardware. So > we need to hardcode the address for hw2.0. > > Reported-by: Sangwook Lee <sangwook.lee@xxxxxxxxxx> > Tested-by: Sangwook Lee <sangwook.lee@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> > --- > Kalle: > I slightly changed again. without running ath6kl_bmi_read() before, > ath6kl_bmi_execute() failed with hw2.0 board, but I am not clear about this reason. Hmm, that's strange. I didn't find any reason why this is needed. > @@ -1201,25 +1202,28 @@ static int ath6kl_upload_otp(struct ath6kl *ar) > } > > /* read firmware start address */ > - ret = ath6kl_bmi_read(ar, > - ath6kl_get_hi_item_addr(ar, > - HI_ITEM(hi_app_start)), > - (u8 *) &address, sizeof(address)); > + ret = ath6kl_bmi_read(ar, ath6kl_get_hi_item_addr(ar, > + HI_ITEM(hi_app_start)), (u8 *) &address, sizeof(address)); You just change indentation here, right? So this part can be dropped. I have applied to ath6kl.git now. Thank you very much for your help! Kalle -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html