public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: "Jimmy Chen (陳永達)" <jimmy.chen@moxa.com>
Cc: linux-kernel@vger.kernel.org, Joe Perches <joe@perches.com>
Subject: Re: [PATCH 2/2] misc: add real function open/read/write/ioctl/close for moxa_serial_io driver
Date: Mon, 25 Apr 2011 07:13:54 -0700	[thread overview]
Message-ID: <20110425141354.GA28457@suse.de> (raw)
In-Reply-To: <ECB3782BB8F03341905DD923270296115F6735@mhqms01.moxa.com>


A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top


On Mon, Apr 25, 2011 at 11:44:01AM +0800, Jimmy Chen (陳永達) wrote:
> Greg,
> I'm not sure what you mean "Can't you do all of this from userspace
> without any kernel changes needed?". Is there anyway to trigger the
> I/O control from userspace without driver? V2100 boards connect I/O to
> uart chip, tuning the I/O will switch the uart chip into different
> mode. "moxa_serial_io" is not a serial driver; the uart itself is
> droved by another serial driver such as mxser.c or 8250 driver.

What's wrong with using outb() from your userspace program instead of
writing to this random misc device with some random ioctl calls?

thanks,

greg k-h

  reply	other threads:[~2011-04-25 14:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-22 10:07 [PATCH 0/2] misc: add support to MOXA V2100 serial io driver Jimmy Chen (陳永達)
2011-04-25  2:28 ` [PATCH 1/2] misc: add option in menu to support " Jimmy Chen (陳永達)
2011-04-25  2:35   ` [PATCH 2/2] misc: add real function open/read/write/ioctl/close for moxa_serial_io driver Jimmy Chen (陳永達)
2011-04-25  2:47     ` Joe Perches
2011-04-25  3:01       ` Greg KH
2011-04-25  3:44         ` Jimmy Chen (陳永達)
2011-04-25 14:13           ` Greg KH [this message]
2011-04-26  9:01             ` Jimmy Chen (陳永達)
2011-04-26 13:20               ` Greg KH
2011-04-25 11:40     ` Alan Cox
2011-04-25 11:34   ` [PATCH 1/2] misc: add option in menu to support MOXA V2100 serial io driver Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2011-04-25  6:44 [PATCH 2/2] misc: add real function open/read/write/ioctl/close for moxa_serial_io driver Jimmy Chen (陳永達)
2011-04-25  7:30 ` Joe Perches

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=20110425141354.GA28457@suse.de \
    --to=gregkh@suse.de \
    --cc=jimmy.chen@moxa.com \
    --cc=joe@perches.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