FW: Patch for multiport serial MOXA boards - kernel.2.4.25 - mxser.c

From: jeff palmer
Date: Fri Jun 18 2004 - 22:07:48 EST


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 it?s 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/