forked from daniel-santos/mcp2210-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
out-of-tree-autoconf.h.template
43 lines (36 loc) · 1.15 KB
/
out-of-tree-autoconf.h.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* out-of-tree-autoconf.h
*
* Use this for your configuration when building the MCP2210 out of tree, which
* happens to be always right now.
*/
#ifndef _OUT_OF_TREE_AUTOCONF_H_
#define _OUT_OF_TREE_AUTOCONF_H_
/* hack for KDevelop's parser until they add the ability fucking specify
* gcc-style -include files */
#ifdef __KERNEL__
# undef __KERNEL__
#elif !defined(__USER__)
# include <generated/autoconf.h>
#endif
#ifndef __USER__
# define __KERNEL__
#endif
/* like include/generated/autoconf.h from the kernel tree, comment out what you
* don't want (setting it to zero wont work) */
#define CONFIG_MCP2210_MODULE 1
#define CONFIG_MCP2210_IOCTL 1
#define CONFIG_MCP2210_SPI 1
#define CONFIG_MCP2210_GPIO 1
#define CONFIG_MCP2210_EEPROM 1
#define CONFIG_MCP2210_CREEK 1
//#define CONFIG_MCP2210_IRQ 1
#define CONFIG_MCP2210_DEBUG 1
#define CONFIG_MCP2210_DEBUG_VERBOSE 1
#define CONFIG_MCP2210_DEBUG_INITIAL 9
//#define CONFIG_MCP2210_AUTOPM 1
/* basically, the RPi */
#define CONFIG_MCP2210_USB_QUIRKS 1
/* this option will eventually get a better name or be removed */
#define CONFIG_MCP2210_DONT_SUCK_THE_CPU_DRY 1
#endif /* _OUT_OF_TREE_AUTOCONF_H_ */