Date: Mon, 09 Apr 2012 00:44:02 -0400 From: Glen Wernersbach Message-ID: Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3416777074_15101140" Subject: [Xenomai-help] Rename xeno_16550A module name List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3416777074_15101140 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Hi All, Here is a simple question How can I just rename the module name that shows in LSMOD for the xeno_16550A.ko serial driver???? I have change the name in 16550A.c but that did not work. I tried hard coding the KBUILD_NAME xeno_16550A.mod.c but it just get replaced with every build. Same with the hidden command files. If I was more familiar with build scripts this would be easy. I am trying to be able to load two difference mods of the xeno_16550.ko driver at one time for testing on different ports. Glen --=20 Glen Wernersbach President & CTO Jetsoft Development Co. 629 Old St Rt. 74 =AD Suite 210 Cincinnati, Oh 45244 Custom Programming Web Site: www.jetsoftdev.com Retail Products Web Site: www.scanhelp.com Phone: 513-528-6660 Fax: 513-528-3470 Cell 513-240-9929 ---- Partner for Software Technology Jacobs Automation 2365 Progress Drive Hebron, KY 41048=20 (513) 297-7550 ---- "Support Dyslexia Research" --B_3416777074_15101140 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Rename xeno_16550A module name Hi All,

Here is a simple question

How can I just rename the module name that shows in LSMOD for the xeno_1655= 0A.ko serial driver????

I have change the name in 16550A.c but that did not work.

I tried hard coding the KBUILD_NAME xeno_16550A.mod.c  but it just get= replaced with every build.

Same with the hidden command files.

If I was more familiar with build scripts this would be easy.

I am trying to be able to load two difference mods of the xeno_16550.ko dri= ver at one time for testing on different ports.

Glen




--
Glen Wernersbach
President & CTO

Jetsoft Development Co.
629 Old St Rt. 74 – Suite 210
Cincinnati, Oh 45244
Custom Programming Web Site: www.jetsoftdev.com
Retail Products Web Site: www.scanhelp.com
Phone:   513-528-6660
Fax: 513-528-3470
Cell 513-240-9929
----
Partner for Software Technology
Jacobs Automation
2365 Progress Drive
Hebron, KY 41048
(513) 297-7550
----
"Support Dyslexia Research"
--B_3416777074_15101140--