/alps/bar_resolve

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/bar_resolve

« back to all changes in this revision

Viewing changes to sysfs.c

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-02 05:45:24 UTC
  • Revision ID: csa@suren.me-20160302054524-aqefho92o0ljk3eh
Test application for resolving user-space BAR addresses

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <linux/slab.h>
8
8
#include <linux/sysfs.h>
9
9
 
10
 
#include <linux/pcidriver.h>
11
 
 
12
10
#include "mod.h"
13
11
#include "dev.h"
14
12
#include "debug.h"
15
13
 
 
14
#include "rdma.h"
16
15
 
17
16
static ssize_t test_request_show(struct device *dev, struct device_attribute *attr, char *buf) {
18
17
    test_dev_t *test = dev_get_drvdata(dev);