Go to the documentation of this file.
15 #if !defined(_IO_EDGEPORT_H_)
16 #define _IO_EDGEPORT_H_
19 #define MAX_RS232_PORTS 8
23 #define LOW8(a) ((unsigned char)(a & 0xff))
26 #define HIGH8(a) ((unsigned char)((a & 0xff00) >> 8))
39 #define MAX_EDGEPORTS 64
49 #define EDGEPORT_CONFIG_DEVICE "/proc/edgeport"
54 #define PROC_GET_MAPPING_TO_PATH 1
55 #define PROC_GET_COM_ENTRY 2
56 #define PROC_GET_EDGE_MANUF_DESCRIPTOR 3
57 #define PROC_GET_BOOT_DESCRIPTOR 4
58 #define PROC_GET_PRODUCT_INFO 5
59 #define PROC_GET_STRINGS 6
60 #define PROC_GET_CURRENT_COM_MAPPING 7
63 #define PROC_READ_SETUP(Command, Argument) ((Command) + ((Argument)<<8))
67 #define PROC_SET_COM_MAPPING 1
68 #define PROC_SET_COM_ENTRY 2
119 #define EDGESTRING_MANUFNAME 1
120 #define EDGESTRING_PRODNAME 2
121 #define EDGESTRING_SERIALNUM 3
122 #define EDGESTRING_ASSEMNUM 4
123 #define EDGESTRING_OEMASSEMNUM 5
124 #define EDGESTRING_MANUFDATE 6
125 #define EDGESTRING_ORIGSERIALNUM 7