diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 15:34:01 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 15:34:01 +0100 |
commit | eb88dc19b8729fea5dc740e80f6f9d44791570fe (patch) | |
tree | 7a41161ba917f4fd858a23823846bf418c9012dd /driver/base.h | |
parent | 867bddcf7be374221a04b7ae89f93a5f5d703ee6 (diff) | |
download | pcitool-eb88dc19b8729fea5dc740e80f6f9d44791570fe.tar.gz pcitool-eb88dc19b8729fea5dc740e80f6f9d44791570fe.tar.bz2 pcitool-eb88dc19b8729fea5dc740e80f6f9d44791570fe.tar.xz pcitool-eb88dc19b8729fea5dc740e80f6f9d44791570fe.zip |
Resolution of the user-space BAR addresses
Diffstat (limited to 'driver/base.h')
-rw-r--r-- | driver/base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/base.h b/driver/base.h index 5b977fa..dce865f 100644 --- a/driver/base.h +++ b/driver/base.h @@ -69,6 +69,9 @@ static dev_t pcidriver_devt; /* Number of devices allocated */ static atomic_t pcidriver_deviceCount; +/* Private data for probed devices */ +static pcidriver_privdata_t* pcidriver_privdata[MAXDEVICES]; + /* Sysfs attributes */ static DEVICE_ATTR(mmap_mode, 0664, pcidriver_show_mmap_mode, pcidriver_store_mmap_mode); static DEVICE_ATTR(mmap_area, 0664, pcidriver_show_mmap_area, pcidriver_store_mmap_area); |