This should fix reported "i82527_irq_handler IRQ 29 stuck" message.
unsigned char msgcfg;
unsigned irq_register;
+ unsigned status_register;
unsigned object;
struct msgobj_t *obj;
int loop_cnt=CHIP_MAX_IRQLOOP;
DEBUGMSG("i82527: iIRQ 0x%02x\n",irq_register);
if (irq_register == 0x01) {
- DEBUGMSG("Status register: 0x%x\n",can_read_reg(chip, iSTAT));
+ status_register=can_read_reg(chip, iSTAT);
+ CANMSG("Status register: 0x%x\n",status_register);
continue;
/*return CANCHIP_IRQ_NONE;*/
}