14dfl2.txt ;************************************************************************************************** ; LISTING 2 - SHARED INTERRUPT HANDLER ; ; "Get those boards talking under Linux," EDN, July 6, 2000, pg 126 ; ; http://www.ednmag.com/ednmag/reg/2000/070600/14df.htm ;************************************************************************************************** if (request_irq(the_board[board].irq, // IRQ pd_isr, // ISR handler address SA_SHIRQ | SA_INTERRUPT, // request flags "PowerDAQ", // device name (void *)&the_board[boards])) // unique device ID equal to // address of the_board structure return -ERR;