lkml.org 
[lkml]   [2011]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-04-25 16:17    [W:0.050 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site