On 12/04/17 14:25, Woojung.Huh@xxxxxxxxxxxxx wrote: > > +/* LED General Purpose IO Configuration Register */ > > +#define LED_GPIO_CFG (0x24) > > +#define LED_GPIO_CFG_SPD_LED (0x01000000) /* GPIO2 as SPD LED > > */ > > +#define LED_GPIO_CFG_LNK_LED (0x00100000) /* GPIO1 as LNK LED > > */ > > +#define LED_GPIO_CFG_FDX_LED (0x00010000) /* GPIO0 as FDX LED > > */ > Because comments are one of main reason for this patch. > It is GPIO 10, 9 & 8. > > Woojung Hello Woojung, I based my comments on the datasheet. For the LED_GPIO_CFG register, the datasheet says: > This register configures the external GPIO[2:0] pins. QFN package description also indicates GPIOs 0, 1 & 2. As an example for the LAN9514, pin 22 of the QFN indicates: > nSPD_LED/GPIO2 In LED_GPIO_CFG register, GPCTL2 description indicates: > The value of this field determines the function of the external GPIO2 > pin as follows Do you confirm it's actually GPIO 10, 9 and 8? I think I may have misunderstood something. While we are here, could you indicate the meaning of the bit 2 of HW_CFG register (it's named HW_CFG_PSEL_)? It's the only bit I didn't succeed to comment because I didn't find it in the datasheet. I will then add it to the patch! I'm also wondering what the meaning of STRAP_STATUS is. I could also comment it if you or Steve can provide the information. Thank you! Martin -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html