/* register offset define */ #define LED_CTRL_REG 0xa1 #define LED_BLINK_REG 0xa2 #define LED_4_CTRL_REG 0xa3 #define LED_4_BLINK_REG 0xa4 #define LED_5_CTRL_REG 0xa5 #define LED_5_BLINK_REG 0xa6 #define LED_CTRL_REG 0xa1 #define LED_BLINK_REG 0xa2 #define LED_FIBER_REG 0xa0 #define LED_FIBER_ENABLE 0x01 #define LED_FIBER_DISABLE 0xfe #define SWITCH_LED_OFF 0 #define SWITCH_LED_A_N 1 #define SWITCH_LED_A_B 2 #define SWITCH_LED_G_N 3 #define SWITCH_LED_G_B 4 /* end of register offset define */