[v2,02/14] usb: gadget: Document USBNET_DEVADDR

Message ID 43ab077d82b6e435211df18ccc9f36be24d795a1.1505242834.git-series.maxime.ripard@free-electrons.com
State Accepted
Commit 74e7997c70d80e4b3de0622fbff3e75f72b8c1ce
Headers show
Series
  • sunxi: convert musb to the device model and enable usb_ether
Related show

Commit Message

Maxime Ripard Sept. 12, 2017, 7:01 p.m.
Add an help about the USBNET_DEVADDR Kconfig option to make it clearer what
it's about.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 drivers/usb/gadget/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Simon Glass Sept. 13, 2017, 4:27 a.m. | #1
On 12 September 2017 at 13:01, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> Add an help about the USBNET_DEVADDR Kconfig option to make it clearer what
> it's about.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  drivers/usb/gadget/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Lukasz Majewski Sept. 13, 2017, 10:37 a.m. | #2
On 09/12/2017 09:01 PM, Maxime Ripard wrote:
> Add an help about the USBNET_DEVADDR Kconfig option to make it clearer what
> it's about.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>   drivers/usb/gadget/Kconfig | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
> index d52626908846..6dc9d177f5ad 100644
> --- a/drivers/usb/gadget/Kconfig
> +++ b/drivers/usb/gadget/Kconfig
> @@ -124,5 +124,8 @@ endif # USB_GADGET_DOWNLOAD
>   config USBNET_DEVADDR
>   	string "USB Gadget Ethernet device mac address"
>   	default "de:ad:be:ef:00:01"
> +	help
> +	  Ethernet MAC address of the device-side (ie. local board's) MAC
> +	  address of the usb_ether interface
>   
>   endif # USB_GADGET
> 

Acked-by: Ɓukasz Majewski <lukma@denx.de>

Patch

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index d52626908846..6dc9d177f5ad 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -124,5 +124,8 @@  endif # USB_GADGET_DOWNLOAD
 config USBNET_DEVADDR
 	string "USB Gadget Ethernet device mac address"
 	default "de:ad:be:ef:00:01"
+	help
+	  Ethernet MAC address of the device-side (ie. local board's) MAC
+	  address of the usb_ether interface
 
 endif # USB_GADGET