Linux Kernel
3.7.1
|
#include <linux/cdev.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/ioctl.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/pagemap.h>
#include <linux/pci.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/syscalls.h>
#include <linux/types.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/vme.h>
#include "vme_user.h"
Go to the source code of this file.
Data Structures | |
struct | image_desc |
struct | driver_stats |
Macros | |
#define | VME_MAJOR 221 /* VME Major Device Number */ |
#define | VME_DEVS 9 /* Number of dev entries */ |
#define | MASTER_MINOR 0 |
#define | MASTER_MAX 3 |
#define | SLAVE_MINOR 4 |
#define | SLAVE_MAX 7 |
#define | CONTROL_MINOR 8 |
#define | PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */ |
Functions | |
MODULE_PARM_DESC (bus,"Enumeration of VMEbus to which the driver is connected") | |
module_param_array (bus, int,&bus_num, 0) | |
MODULE_DESCRIPTION ("VME User Space Access Driver") | |
MODULE_AUTHOR ("Martyn Welch <[email protected]") | |
MODULE_LICENSE ("GPL") | |
module_init (vme_user_init) | |
module_exit (vme_user_exit) | |
#define CONTROL_MINOR 8 |
Definition at line 86 of file vme_user.c.
#define MASTER_MAX 3 |
Definition at line 83 of file vme_user.c.
#define MASTER_MINOR 0 |
Definition at line 82 of file vme_user.c.
#define PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */ |
Definition at line 88 of file vme_user.c.
#define SLAVE_MAX 7 |
Definition at line 85 of file vme_user.c.
#define SLAVE_MINOR 4 |
Definition at line 84 of file vme_user.c.
Definition at line 80 of file vme_user.c.
Definition at line 79 of file vme_user.c.
MODULE_AUTHOR | ( | ) |
MODULE_DESCRIPTION | ( | "VME User Space Access Driver" | ) |
module_exit | ( | vme_user_exit | ) |
module_init | ( | vme_user_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |