From b72e8567723c30f0e5a83675743e9380c48e5d55 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 13 Feb 2011 03:07:11 +0100 Subject: Initial import --- driver/config.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 driver/config.h (limited to 'driver/config.h') diff --git a/driver/config.h b/driver/config.h new file mode 100644 index 0000000..c217afd --- /dev/null +++ b/driver/config.h @@ -0,0 +1,23 @@ +/*******************************/ +/* Configuration of the driver */ +/*******************************/ + +/* Debug messages */ +//#define DEBUG + +/* Enable/disable IRQ handling */ +#define ENABLE_IRQ + +/* The name of the module */ +#define MODNAME "pciDriver" + +/* Major number is allocated dynamically */ +/* Minor number */ +#define MINORNR 0 + +/* Node name of the char device */ +#define NODENAME "fpga" +#define NODENAMEFMT "fpga%d" + +/* Maximum number of devices*/ +#define MAXDEVICES 4 -- cgit v1.2.3