]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/gadget/Kconfig
usb: gadget: Convert USB_ETHER to Kconfig
[people/ms/u-boot.git] / drivers / usb / gadget / Kconfig
index 510efd67b9a4b37ccce5b9dbc88f239b198727cf..6558d2458b143b553038e318517d5243e7e4c003 100644 (file)
@@ -121,6 +121,18 @@ config G_DNL_PRODUCT_NUM
 
 endif # USB_GADGET_DOWNLOAD
 
+config USB_ETHER
+       bool "USB Ethernet Gadget"
+       help
+         Creates an Ethernet network device through a USB peripheral
+         controller. This will create a network interface on both the device
+         (U-Boot) and the host (remote device) that can be used just like any
+         other nework interface.
+         It will bind on the peripheral USB controller, ignoring the USB hosts
+         controllers in the system.
+
+if USB_ETHER
+
 config USBNET_DEVADDR
        string "USB Gadget Ethernet device mac address"
        default "de:ad:be:ef:00:01"
@@ -135,4 +147,6 @@ config USBNET_HOST_ADDR
          Ethernet MAC address of the host-side (ie. remote device's) MAC
          address of the usb_ether interface
 
+endif # USB_ETHER
+
 endif # USB_GADGET