hi. friends.
please help me to porting driver adm-xrc (alpha-data.co.uk/adm-xrc-ii-lite.html) for linux to QNX 6, I had been checking source code and some problems are in the file:
/*
** platform.h
*/
#ifndef _ADATA_PLATFORM_H
#define _ADATA_PLATFORM_H
#include <linux/module.h>
#include <linux/version.h>
#include <linux/spinlock.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <asm/irq.h>
#include <linux/config.h>
#ifdef CONFIG_SMP
define SMP
#endif
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/iobuf.h>
#include <linux/ioctl.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/types.h>
#include <linux/highmem.h>
#include <linux/mm.h>
#include <asm/uaccess.h>
#if (LINUX_VERSION_CODE >= 0x020407)
include <linux/slab.h>
#else
include <linux/malloc.h>
#endif
#if !defined(LINUX_VERSION_CODE)
error Error: LINUX_VERSION_CODE is not defined!
#endif
when make compiling there are many errors, becouse no found that files.
please help me, or give me ideas.
so, i have driver for wxWorks.
thanks friends.