public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Yang, Graf" <Graf.Yang@analog.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	<graf.yang@analog.com>
Subject: Re: Blackfin Serial Driver: Enable IR function when user application (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with line discipline N_IRDA
Date: Fri, 25 Apr 2008 10:55:45 +0100	[thread overview]
Message-ID: <20080425105545.77b8c5e8@core> (raw)
In-Reply-To: <0F1B54C89D5F954D8535DB252AF412FA0164BC7A@chinexm1.ad.analog.com>

> 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

  reply	other threads:[~2008-04-25 10:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200804241929.m3OJToSE021045@hera.kernel.org>
2008-04-24 20:50 ` Blackfin Serial Driver: Enable IR function when user application (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with line discipline N_IRDA Alan Cox
2008-04-25  9:22   ` Yang, Graf
2008-04-25  9:55     ` Alan Cox [this message]
2008-05-04 15:27       ` Bryan Wu
2008-05-04 15:56         ` Alan Cox
2008-06-03  2:18           ` gyang
2008-06-03 14:18             ` [PATCH] serial_core: uart_set_ldisc (Was Re: Blackfin Serial Driver: Enable IR function when user application (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with line discipline N_IRDA) Alan Cox
2008-06-04 15:59               ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080425105545.77b8c5e8@core \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=Graf.Yang@analog.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox