18 lines
421 B
C
Executable File
18 lines
421 B
C
Executable File
#ifndef DREX_H_
|
|
#define DREX_H_
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/init.h>
|
|
#include <linux/module.h>
|
|
#include <linux/pci.h>
|
|
|
|
/* This is a "private" data structure */
|
|
/* You can store there any data that should be passed between driver's functions */
|
|
struct drexpcie_driver_priv {
|
|
struct pci_dev *pdev;
|
|
unsigned long mem_start;
|
|
unsigned long mem_len;
|
|
u8 __iomem *bar0_mem;
|
|
};
|
|
|
|
#endif |