[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080425105545.77b8c5e8@core>
Date: Fri, 25 Apr 2008 10:55:45 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: "Yang, Graf" <Graf.Yang@...log.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
<graf.yang@...log.com>
Subject: Re: Blackfin Serial Driver: Enable IR function when user
application (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with line
discipline N_IRDA
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists