Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ts78xx-fpga.h
Go to the documentation of this file.
1 #define TS7800_FPGA_MAGIC 0x00b480
2 #define FPGAID(_magic, _rev) ((_magic << 8) + _rev)
3 
4 /*
5  * get yer id's from http://ts78xx.digriz.org.uk/
6  * do *not* make up your own or 'borrow' any!
7  */
8 enum fpga_ids {
9  /* Technologic Systems */
19 
20  /* Unaffordable & Expensive */
21  UAE_DUMMY = FPGAID(0xffffff, 0x01),
22 };
23 
24 struct fpga_device {
25  unsigned present:1;
26  unsigned init:1;
27 };
28 
29 struct fpga_devices {
30  /* Technologic Systems */
34 };
35 
37  unsigned int id;
38  int state;
39 
41 };