Re: Blackfin Serial Driver: Enable IR function when userapplication (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with linediscipline N_IRDA

From: Alan Cox
Date: Fri Apr 25 2008 - 06:02:47 EST


> Blackfin serial driver register as a UART driver, which will call tty_set_operations(...,&uart_ops), while uart_ops hasn't set_ldisc function.
> Do you mean I should declare a tty_ops and call tty_set_operations(..., &tty_ops) in bfin_5xx.c to register my set_ldisc?

Then we need to add a set_ldisc to uart_ops. I'll do that in todays
hacking.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/