Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
io_edgeport.h File Reference
#include "io_usbvend.h"

Go to the source code of this file.

Data Structures

struct  comMapper
 
struct  procWrite
 
struct  edgeport_product_info
 
struct  string_block
 

Macros

#define MAX_RS232_PORTS   8 /* Max # of RS-232 ports per device */
 
#define LOW8(a)   ((unsigned char)(a & 0xff))
 
#define HIGH8(a)   ((unsigned char)((a & 0xff00) >> 8))
 
#define __KERNEL__
 
#define MAX_EDGEPORTS   64
 
#define EDGEPORT_CONFIG_DEVICE   "/proc/edgeport"
 
#define PROC_GET_MAPPING_TO_PATH   1
 
#define PROC_GET_COM_ENTRY   2
 
#define PROC_GET_EDGE_MANUF_DESCRIPTOR   3
 
#define PROC_GET_BOOT_DESCRIPTOR   4
 
#define PROC_GET_PRODUCT_INFO   5
 
#define PROC_GET_STRINGS   6
 
#define PROC_GET_CURRENT_COM_MAPPING   7
 
#define PROC_READ_SETUP(Command, Argument)   ((Command) + ((Argument)<<8))
 
#define PROC_SET_COM_MAPPING   1
 
#define PROC_SET_COM_ENTRY   2
 
#define EDGESTRING_MANUFNAME   1 /* Manufacture Name */
 
#define EDGESTRING_PRODNAME   2 /* Product Name */
 
#define EDGESTRING_SERIALNUM   3 /* Serial Number */
 
#define EDGESTRING_ASSEMNUM   4 /* Assembly Number */
 
#define EDGESTRING_OEMASSEMNUM   5 /* OEM Assembly Number */
 
#define EDGESTRING_MANUFDATE   6 /* Manufacture Date */
 
#define EDGESTRING_ORIGSERIALNUM   7 /* Serial Number */
 

Macro Definition Documentation

#define __KERNEL__

Definition at line 30 of file io_edgeport.h.

#define EDGEPORT_CONFIG_DEVICE   "/proc/edgeport"

Definition at line 49 of file io_edgeport.h.

#define EDGESTRING_ASSEMNUM   4 /* Assembly Number */

Definition at line 122 of file io_edgeport.h.

#define EDGESTRING_MANUFDATE   6 /* Manufacture Date */

Definition at line 124 of file io_edgeport.h.

#define EDGESTRING_MANUFNAME   1 /* Manufacture Name */

Definition at line 119 of file io_edgeport.h.

#define EDGESTRING_OEMASSEMNUM   5 /* OEM Assembly Number */

Definition at line 123 of file io_edgeport.h.

#define EDGESTRING_ORIGSERIALNUM   7 /* Serial Number */

Definition at line 125 of file io_edgeport.h.

#define EDGESTRING_PRODNAME   2 /* Product Name */

Definition at line 120 of file io_edgeport.h.

#define EDGESTRING_SERIALNUM   3 /* Serial Number */

Definition at line 121 of file io_edgeport.h.

#define HIGH8 (   a)    ((unsigned char)((a & 0xff00) >> 8))

Definition at line 26 of file io_edgeport.h.

#define LOW8 (   a)    ((unsigned char)(a & 0xff))

Definition at line 23 of file io_edgeport.h.

#define MAX_EDGEPORTS   64

Definition at line 39 of file io_edgeport.h.

#define MAX_RS232_PORTS   8 /* Max # of RS-232 ports per device */

Definition at line 19 of file io_edgeport.h.

#define PROC_GET_BOOT_DESCRIPTOR   4

Definition at line 57 of file io_edgeport.h.

#define PROC_GET_COM_ENTRY   2

Definition at line 55 of file io_edgeport.h.

#define PROC_GET_CURRENT_COM_MAPPING   7

Definition at line 60 of file io_edgeport.h.

#define PROC_GET_EDGE_MANUF_DESCRIPTOR   3

Definition at line 56 of file io_edgeport.h.

#define PROC_GET_MAPPING_TO_PATH   1

Definition at line 54 of file io_edgeport.h.

#define PROC_GET_PRODUCT_INFO   5

Definition at line 58 of file io_edgeport.h.

#define PROC_GET_STRINGS   6

Definition at line 59 of file io_edgeport.h.

#define PROC_READ_SETUP (   Command,
  Argument 
)    ((Command) + ((Argument)<<8))

Definition at line 63 of file io_edgeport.h.

#define PROC_SET_COM_ENTRY   2

Definition at line 68 of file io_edgeport.h.

#define PROC_SET_COM_MAPPING   1

Definition at line 67 of file io_edgeport.h.