[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110425141354.GA28457@suse.de>
Date: Mon, 25 Apr 2011 07:13:54 -0700
From: Greg KH <gregkh@...e.de>
To: Jimmy Chen (陳永達) <jimmy.chen@...a.com>
Cc: linux-kernel@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: Re: [PATCH 2/2] misc: add real function open/read/write/ioctl/close
for moxa_serial_io driver
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
--
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