X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/9db780972e5c4a622a7f61bcc1e65d84fe52e07c..626f7414aee3ecd51ab35d093314919528f67b12:/lincan/src/c_can_irq.c diff --git a/lincan/src/c_can_irq.c b/lincan/src/c_can_irq.c index 5257d0f..bf98d75 100644 --- a/lincan/src/c_can_irq.c +++ b/lincan/src/c_can_irq.c @@ -140,7 +140,7 @@ inline void c_can_irq_read_handler( struct chip_t *pchip, } DEBUGMSG("(c%dm%d)Received Message:\n", pchip->chip_idx, pmsgobj->object); - DEBUGMSG(" id = %d\n", + DEBUGMSG(" id = %ld\n", pmsgobj->rx_msg.id); DEBUGMSG(" length = %d\n", pmsgobj->rx_msg.length); @@ -233,13 +233,13 @@ can_irqreturn_t c_can_irq_handler(int irq, void *dev_id, struct pt_regs *regs) if(!irqreg) { DEBUGMSG( "\n(c%d)IRQ handler: addr=%.8lx spurious interrupt\n", pchip->chip_idx, - (long)( pchip->/*v*/base_addr/* + CCSR*/)); + (long)( pchip->/*v*/chip_base_addr/* + CCSR*/)); return CAN_IRQ_NONE; } DEBUGMSG( "\n(c%d)IRQ handler: addr=%.8lx irqreg=0x%.4x\n", pchip->chip_idx, - (long)( pchip->/*v*/base_addr/* + CCSR*/), + (long)( pchip->/*v*/chip_base_addr/* + CCSR*/), irqreg);