updates
This commit is contained in:
18
pcie_driver/drex.h
Executable file
18
pcie_driver/drex.h
Executable file
@@ -0,0 +1,18 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user