4 DEBUGMSG("Resetting smartcan hardware ...\n");
5 outb(0x00,candevices_p[card]->res_addr);
8 outb(0x01,candevices_p[card]->res_addr);
10 outb(0x00,candevices_p[card]->res_addr);
12 /* Check hardware reset status */
14 outb(candevices_p[card]->io_addr+iCPU,candevices_p[card]->io_addr);
15 while ( (inb(candevices_p[card]->io_addr+1)&0x80) && (i<=15) ) {
20 CANMSG("Reset status timeout!\n");
21 CANMSG("Please check your hardware.\n");
25 DEBUGMSG("Chip0 reset status ok.\n");