ChangeSet 1.1571.1.1, 2005/01/24 16:51:44-02:00, [EMAIL PROTECTED] [PATCH] Karsten Keil: Eicon Diva PCI 2.02 bugfix This bugfix solve a race between card initialization and S0 bus events, if the S0 bus is already active on driver load time. Signed-off-by: Karsten Keil <[EMAIL PROTECTED]>
ipacx.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletion(-) diff -Nru a/drivers/isdn/hisax/ipacx.c b/drivers/isdn/hisax/ipacx.c --- a/drivers/isdn/hisax/ipacx.c 2005-01-30 15:36:17 -08:00 +++ b/drivers/isdn/hisax/ipacx.c 2005-01-30 15:36:17 -08:00 @@ -152,7 +152,13 @@ case (HW_RESET | REQUEST): case (HW_ENABLE | REQUEST): - ph_command(cs, IPACX_CMD_TIM); + if ((cs->dc.isac.ph_state == IPACX_IND_RES) || + (cs->dc.isac.ph_state == IPACX_IND_DR) || + (cs->dc.isac.ph_state == IPACX_IND_DC)) + ph_command(cs, IPACX_CMD_TIM); + else + ph_command(cs, IPACX_CMD_RES); + break; case (HW_INFO3 | REQUEST): - To unsubscribe from this list: send the line "unsubscribe bk-commits-24" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html