|
@@ -43,6 +43,18 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
43
|
43
|
#define SMSC95XX_HW_CFG_BIR 0x00001000UL /**< Bulk IN use NAK */
|
44
|
44
|
#define SMSC95XX_HW_CFG_LRST 0x00000008UL /**< Soft lite reset */
|
45
|
45
|
|
|
46
|
+/** LED GPIO configuration register */
|
|
47
|
+#define SMSC95XX_LED_GPIO_CFG 0x024
|
|
48
|
+#define SMSC95XX_LED_GPIO_CFG_GPCTL2(x) ( (x) << 24 ) /**< GPIO 2 control */
|
|
49
|
+#define SMSC95XX_LED_GPIO_CFG_GPCTL2_NSPD_LED \
|
|
50
|
+ SMSC95XX_LED_GPIO_CFG_GPCTL2 ( 1 ) /**< Link speed LED */
|
|
51
|
+#define SMSC95XX_LED_GPIO_CFG_GPCTL1(x) ( (x) << 20 ) /**< GPIO 1 control */
|
|
52
|
+#define SMSC95XX_LED_GPIO_CFG_GPCTL1_NLNKA_LED \
|
|
53
|
+ SMSC95XX_LED_GPIO_CFG_GPCTL1 ( 1 ) /**< Activity LED */
|
|
54
|
+#define SMSC95XX_LED_GPIO_CFG_GPCTL0(x) ( (x) << 16 ) /**< GPIO 0 control */
|
|
55
|
+#define SMSC95XX_LED_GPIO_CFG_GPCTL0_NFDX_LED \
|
|
56
|
+ SMSC95XX_LED_GPIO_CFG_GPCTL0 ( 1 ) /**< Full-duplex LED */
|
|
57
|
+
|
46
|
58
|
/** EEPROM command register */
|
47
|
59
|
#define SMSC95XX_E2P_CMD 0x030
|
48
|
60
|
#define SMSC95XX_E2P_CMD_EPC_BSY 0x80000000UL /**< EPC busy */
|