lkml.org 
[lkml]   [2004]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectFW: Patch for multiport serial MOXA boards - kernel.2.4.25 - mxser.c
Date
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@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: 2005-03-22 14:03    [W:0.018 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site