#ifndef _SLIMFC_H_ #define _SLIMFC_H_ #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; #define MAX_PCIE_SLOT_AMOUNT 2 #define MAX_HBA_PORT_AMOUNT 4 #define FC_DEVICE_NAME_LENGTH 20 typedef enum chipType { eChipTypeEP8324 = 0, eChipTypeHogan, eChipTypeHobbit, eChipTypeGandalf, eChipTypeRadagast, eChipTypeUnknown } chipTypeDefine; typedef struct FCHost { chipTypeDefine chipType; uint32_t portBus; uint32_t portDev; uint32_t portFunc; uint32_t portNumber; uint32_t PCISpeed; uint32_t PCIWidth; string BDF; string hostName; string wellKnownName; string note; string WWNN; string WWPN; } FCHostStruct; #endif