Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1019 → Rev 1018

/shark/trunk/drivers/linuxc26/shark_glue.c
12,7 → 12,7
 
extern int intr_count;
 
//#define DEBUG_SHARK_GLUE
#define DEBUG_SHARK_GLUE
 
/* 1-15 for IRQ and 16-63 for timers */
void *timer_arg_table[MAX_TIMER_TABLE];
/shark/trunk/drivers/linuxc26/int.c
10,8 → 10,6
#define NIL -1 /*+ integer unvalid value +*/
#endif
 
//#define DEBUG_LINUX_INT
 
struct int_handler {
void (*func)(int, void *dev_id, struct pt_regs *);
void *data;
43,9 → 41,7
 
intr_count++;
 
#ifdef DEBUG_LINUX_INT
printk("(linux_intr %d)", irq);
#endif
//cprintf("(linux_intr %d)", irq);
 
ihp=irq_list[irq].handlers;
while (ihp) {
87,9 → 83,7
shark_handler_set(irq, linux_intr);
//shark_handler_set(irq, NULL, NULL);
 
#ifdef DEBUG_LINUX_INT
printk("(request_irq %d)", irq);
#endif
//cprintf("(request_irq %d)", irq);
}
ihp->func = handler;
ihp->flags = flags;
124,9 → 118,7
{
shark_handler_remove(irq);
 
#ifdef DEBUG_LINUX_INT
printk("(free_irq %d)", irq);
#endif
//cprintf("(free_irq %d)", irq);
}
}