This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm8168的gpio输入中断的中断号的问题

你好,我在TI81XX PSP GPIO Driver User Guide文档看到:

GPIO pin is also used as a interrupt source, these are the general usage of IRQ handling using GPIO lines.
• Map GPIO number to corresponding IRQ number, GPIO 0 need not use IRQ 0
irq_num = gpio_to_irq(30)
• Request IRQ, make sure that irq_num should be non-error value
request_irq(irq_num, handler, 0, "gpio_test", NULL);
• Set IRQ type Raising/Falling/Level triggered
set_irq_type(irq_num, IRQ_TYPE_EDGE_RISING);
• During the clean-up path free the IRQ and gpio
free_irq(irq_num, NULL);
gpio_free(30);

------------》》》》》》》》》》》》》》》》》》是不是这个30,是不是gp号和中断号对应的,还是什么,这里很是不懂,希望大神指点