Commit 3e9fb3cc authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] Moxa serial devfs fix

From: Sergei Golod <rover@tob.ru>

This patch put moxa devices (when DEVFS enabled) under /dev/tts/M* (as
standard serial ports /dev/tts/0,1,...) instead /dev/.  Patch ported from
Stallion serial driver.
parent ed038d0a
......@@ -509,6 +509,7 @@ static int __init mxser_module_init(void)
mxvar_sdriver->owner = THIS_MODULE;
mxvar_sdriver->name = "ttyM";
mxvar_sdriver->devfs_name = "tts/M";
mxvar_sdriver->major = ttymajor;
mxvar_sdriver->minor_start = 0;
mxvar_sdriver->type = TTY_DRIVER_TYPE_SERIAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment