diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-31 05:42:50 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-20 19:10:17 -0400 |
commit | 896c6fa1e59dd17e1ac2877c25cab19bbb24e666 (patch) | |
tree | d3d2890ba76bb64e5bb13739960cadde943f9689 /drivers/isdn/hisax/elsa.c | |
parent | a6f97b293b08877d945ea3f28926aa446dd7ca2e (diff) |
[ISDN] minor irq handler cleanups
- reference irq number in CardState structure
- remove now-unused 'intno' argument from rs_interrupt_elsa()
- cs->irq_func() should be defined using standard irq_handler_t
- add KERN_DEBUG to printk() where appropriate
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/isdn/hisax/elsa.c')
-rw-r--r-- | drivers/isdn/hisax/elsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/elsa.c b/drivers/isdn/hisax/elsa.c index d272d8ce6537..2c3691fda300 100644 --- a/drivers/isdn/hisax/elsa.c +++ b/drivers/isdn/hisax/elsa.c | |||
@@ -299,7 +299,7 @@ elsa_interrupt(int intno, void *dev_id) | |||
299 | val = serial_inp(cs, UART_IIR); | 299 | val = serial_inp(cs, UART_IIR); |
300 | if (!(val & UART_IIR_NO_INT)) { | 300 | if (!(val & UART_IIR_NO_INT)) { |
301 | debugl1(cs,"IIR %02x", val); | 301 | debugl1(cs,"IIR %02x", val); |
302 | rs_interrupt_elsa(intno, cs); | 302 | rs_interrupt_elsa(cs); |
303 | } | 303 | } |
304 | } | 304 | } |
305 | #endif | 305 | #endif |
@@ -379,7 +379,7 @@ elsa_interrupt_ipac(int intno, void *dev_id) | |||
379 | val = serial_inp(cs, UART_IIR); | 379 | val = serial_inp(cs, UART_IIR); |
380 | if (!(val & UART_IIR_NO_INT)) { | 380 | if (!(val & UART_IIR_NO_INT)) { |
381 | debugl1(cs,"IIR %02x", val); | 381 | debugl1(cs,"IIR %02x", val); |
382 | rs_interrupt_elsa(intno, cs); | 382 | rs_interrupt_elsa(cs); |
383 | } | 383 | } |
384 | } | 384 | } |
385 | #endif | 385 | #endif |