From: Jiri Slaby <jirislaby@gmail.com>
To: Bernard Pidoux <pidoux@ccr.jussieu.fr>
Cc: linux-kernel@vger.kernel.org, Bernard Pidoux <bpidoux@free.fr>
Subject: Re: [kernel 2.6] Patch for mxser.c driver
Date: Wed, 12 Apr 2006 00:21:40 +0200 [thread overview]
Message-ID: <443C2BF4.6070106@gmail.com> (raw)
In-Reply-To: <443C1DA0.1030004@ccr.jussieu.fr>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bernard Pidoux napsal(a):
> Hi,
>
> mxser driver in kernel 2.6.16 can compile but it does not drive the
> serial multiport adapter from Moxa.
>
> According to Moxa documentation for version 1.8, msmknod script,
> downloaded from their support site, creates ttyM0-7 and cum0-7 tty
> devices with major numbers 30 and 35 by defaults.
>
> However, in mxser.c major device numbers are still 174 and 175.
>
> Here is a patch to change major tty device numbers to proper default
> values.
>
>
> --- linux/drivers/char/mxser.c.old 2006-04-11 22:35:16.000000000 +0200
> +++ linux/drivers/char/mxser.c 2006-04-11 22:36:49.000000000 +0200
> @@ -68,8 +68,8 @@
> #include "mxser.h"
>
> #define MXSER_VERSION "1.8"
> -#define MXSERMAJOR 174
> -#define MXSERCUMAJOR 175
Strange:
172 char Moxa Intellio serial card
173 char Moxa Intellio serial card - alternate devices
174 char SmartIO serial card
175 char SmartIO serial card - alternate devices
> +#define MXSERMAJOR 30
> +#define MXSERCUMAJOR 35
They are not free:
30 char iBCS-2 compatibility devices
35 char tclmidi MIDI driver
>
> #define MXSER_EVENT_TXLOW 1
> #define MXSER_EVENT_HANGUP 2
>
>
> BTW, driver source that can be downloaded from Moxa support site will
> not compile :
old tty API
see Documentation/devices.txt
regards,
- --
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@gmail.com ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFEPCv0MsxVwznUen4RAjgzAJ48FiKNDUCDE2Aru39U3HceOI+v2QCeL09m
qR35e/cdR+Cjgz7SpZjmaeQ=
=ZT4r
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2006-04-11 22:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 21:20 [kernel 2.6] Patch for mxser.c driver Bernard Pidoux
2006-04-11 22:21 ` Jiri Slaby [this message]
2006-04-12 9:36 ` Alan Cox
2006-04-24 8:50 ` Bernard Pidoux
2006-04-24 10:52 ` Jiri Slaby
2006-04-24 18:37 ` Jiri Slaby
2006-04-24 20:16 ` Alan Cox
2006-04-11 22:24 ` Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=443C2BF4.6070106@gmail.com \
--to=jirislaby@gmail.com \
--cc=bpidoux@free.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=pidoux@ccr.jussieu.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.