/* register offset define */ #define LED_CTRL_REG 0xa2 #define LED_BLINK_REG 0xa3 #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 */