14dfl8.txt ;************************************************************************************************** ; LISTING 8 - FASYNC_HELPER() FUNCTION ; ; "Get those boards talking under Linux," EDN, July 6, 2000, pg 130 ; ; http://www.ednmag.com/ednmag/reg/2000/070600/14df.htm ;************************************************************************************************** static int pd_fasync( int fd, struct file *file, int mode ) { int board; board = MINOR(file->f_dentry->d_inode->i_rdev) / PD_MINOR_RANGE; return fasync_helper(fd, file, mode, &pd_board[board].fasync); }