From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 29 Nov 2016 02:04:23 +0000 From: Paul Message-ID: <20161129020423.07be3fae@Babylon> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Migrating device drivers from RTLinux to Xenomai/Analogy List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: andrija@stupar.com Cc: xenomai@xenomai.org On Mon, 28 Nov 2016 14:34:03 -0500 andrija@stupar.com wrote: > Thanks for your reply. I have posted the driver on github: > https://github.com/AndrijaPFC/RTDAQDriver/blob/master/acromag.c Had a quick scan of the code, and have a couple of observations. The Linux kernel has seen quite a few changes since the 2.4 days. The makefiles for starters. There are also builtin functions for downloading fpga binary blobs from disk so you no longer have to hard code them in to the module - I'm assuming the missing fpga_prog.h contains the binary blob. The PCI interface has changed and there are also routines to handle Industry Pack modules - It may be worth your while contacting Acromag and asking them what support they can offer. You may even find drivers exist in the latest kernel for your IP modules - These could be used as a reference or modified to suit you application. Regards, Paul.