X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fatheros%2Ffiles%2Farch%2Fmips%2Fatheros%2Fgpio.c;h=26fba0644683a33cbc1ed808266b3d3f331511fa;hb=03164df6fe4b39e09366e096808b3934cfc55693;hp=5e34c857ccecf56c4c3c16fca4c6e955853995e4;hpb=66b7ecf8e0e324c1bd76eb873e128a98a68dd539;p=openwrt-10.03%2F.git diff --git a/target/linux/atheros/files/arch/mips/atheros/gpio.c b/target/linux/atheros/files/arch/mips/atheros/gpio.c index 5e34c857c..26fba0644 100644 --- a/target/linux/atheros/files/arch/mips/atheros/gpio.c +++ b/target/linux/atheros/files/arch/mips/atheros/gpio.c @@ -27,7 +27,7 @@ #include #include #include "ar531x.h" -/* +/* GPIO Interrupt Support Make use of request_irq() and the function gpio_to_irq() to trap gpio events */ @@ -147,7 +147,7 @@ static void ar5315_gpio_intr_enable(unsigned int irq) { sysRegWrite(AR5315_GPIO_CR, reg); (void)sysRegRead(AR5315_GPIO_CR); /* flush write to hardware */ - /* Locate a free register slot to enable gpio intr + /* Locate a free register slot to enable gpio intr will fail silently if no more slots are available */ reg = sysRegRead(AR5315_GPIO_INT);