Pre-ci test passed git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
31 lines
713 B
C
Executable File
31 lines
713 B
C
Executable File
#ifndef __EXTERN_H__
|
|
#define __EXTERN_H__
|
|
|
|
#include <linux/init.h>
|
|
#include <linux/module.h>
|
|
#include <linux/pci.h>
|
|
|
|
#ifdef KERNEL2_6
|
|
#include <linux/slab.h>
|
|
#endif
|
|
|
|
#include "defs.h"
|
|
#include "pcie_interface.h"
|
|
|
|
extern char number_of_cards;
|
|
|
|
extern int major;
|
|
|
|
extern struct pci_dev *pdev[MAX_CARDS];
|
|
extern void __iomem *bar[MAX_CARDS];
|
|
|
|
extern void *bigshm_head[MAX_CARDS];
|
|
extern void *bigshm_currentptr[MAX_CARDS];
|
|
extern dma_addr_t bigshm_head_phys[MAX_CARDS];
|
|
|
|
extern dma_addr_t pphys_exmimo_pci_phys[MAX_CARDS];
|
|
extern exmimo_pci_interface_bot_t *p_exmimo_pci_phys[MAX_CARDS];
|
|
extern exmimo_pci_interface_bot_virtual_t exmimo_pci_kvirt[MAX_CARDS];
|
|
|
|
#endif // __EXTERN_H__
|