Messages in this thread | | | From | "jeff palmer" <> | Subject | FW: Patch for multiport serial MOXA boards - kernel.2.4.25 - mxser.c | Date | Fri, 18 Jun 2004 23:05:52 -0400 |
| |
kernel.2.4.25 The moxa drivers currently do not work with devfs support in linux. Most people are migrating to devfs, as I have. These are the lines that need fixed in mxser.c. Devfs attempts to create the device when its registered, so you cannot register all the ports with the same name. The fix is pretty obvious and I hope this email makes it to the right person. Any questions, just let me know. Thanks. mxser.c.patch.kernel.2.4.25 530c530 < mxvar_sdriver.name = "ttyM"; --- > mxvar_sdriver.name = "ttyM%d"; 565c565 < mxvar_cdriver.name = "cum"; --- > mxvar_cdriver.name = "cum%d"; Jeffery Palmer Project Development Trigger, Inc. 954.709.7232
- 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/
| |