]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/serial/io_edgeport.h
USB: option: add new Dell 5520 HSDPA variant
[karo-tx-linux.git] / drivers / usb / serial / io_edgeport.h
index 5112d7aac05506d6822c9b0b053d8592226d350b..cb201c1f67f927e3f0ec520cbe4406978961eed9 100644 (file)
 #define MAX_RS232_PORTS                8       /* Max # of RS-232 ports per device */
 
 /* typedefs that the insideout headers need */
-#ifndef TRUE
-       #define TRUE            (1)
-#endif
-#ifndef FALSE
-       #define FALSE           (0)
-#endif
 #ifndef LOW8
        #define LOW8(a)         ((unsigned char)(a & 0xff))
 #endif
 #ifndef HIGH8
        #define HIGH8(a)        ((unsigned char)((a & 0xff00) >> 8))
 #endif
-#ifndef NUM_ENTRIES
-       #define NUM_ENTRIES(x)  (sizeof(x)/sizeof((x)[0]))
-#endif
 
 #ifndef __KERNEL__
 #define __KERNEL__
@@ -114,10 +105,12 @@ struct edgeport_product_info {
        __le16  FirmwareBuildNumber;            /*                              zzzz (LE format) */
 
        __u8    ManufactureDescDate[3];         /* MM/DD/YY when descriptor template was compiled */
-       __u8    Unused1[1];                     /* Available */
+       __u8    HardwareType;
 
        __u8    iDownloadFile;                  /* What to download to EPiC device */
-       __u8    Unused2[2];                     /* Available */
+       __u8    EpicVer;                        /* What version of EPiC spec this device supports */
+
+       struct edge_compatibility_bits Epic;
 };
 
 /*