version 1.2, 2008/03/04 22:16:20 |
version 1.3, 2008/03/04 22:20:43 |
|
|
|
|
if (gih->gh_irq < 11) |
if (gih->gh_irq < 11) |
/* individual (intc irq = gpio pin), register common gpio handler */ |
/* individual (intc irq = gpio pin), register common gpio handler */ |
ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, spl, sagpio_irq_handler, gih, NULL); |
ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, spl, sagpio_irq_handler, gih, name); |
else |
else |
/* multiplexed, register dispatcher */ |
/* multiplexed, register dispatcher */ |
ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, spl, sagpio_dispatch, NULL, NULL); |
ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, spl, sagpio_dispatch, NULL, name); |
return(ih); |
return(ih); |
} |
} |
|
|