summaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/patches/012-hook_up_eth_driver.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/octeon/patches/012-hook_up_eth_driver.patch')
-rw-r--r--target/linux/octeon/patches/012-hook_up_eth_driver.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/octeon/patches/012-hook_up_eth_driver.patch b/target/linux/octeon/patches/012-hook_up_eth_driver.patch
new file mode 100644
index 000000000..1a9dc0064
--- /dev/null
+++ b/target/linux/octeon/patches/012-hook_up_eth_driver.patch
@@ -0,0 +1,26 @@
+The previous patch adds the driver files for octeon-ethernet. Here we
+hook them up into the main kernel build system.
+
+Signed-off-by: David Daney <ddaney@caviumnetworks.com>
+---
+ drivers/staging/Kconfig | 2 ++
+ drivers/staging/Makefile | 1 +
+ 2 files changed, 3 insertions(+), 0 deletions(-)
+
+--- a/drivers/staging/Kconfig
++++ b/drivers/staging/Kconfig
+@@ -115,5 +115,7 @@ source "drivers/staging/line6/Kconfig"
+
+ source "drivers/staging/serqt_usb/Kconfig"
+
++source "drivers/staging/octeon/Kconfig"
++
+ endif # !STAGING_EXCLUDE_BUILD
+ endif # STAGING
+--- a/drivers/staging/Makefile
++++ b/drivers/staging/Makefile
+@@ -40,3 +40,4 @@ obj-$(CONFIG_PLAN9AUTH) += p9auth/
+ obj-$(CONFIG_HECI) += heci/
+ obj-$(CONFIG_LINE6_USB) += line6/
+ obj-$(CONFIG_USB_SERIAL_QUATECH_ESU100) += serqt_usb/
++obj-$(CONFIG_OCTEON_ETHERNET) += octeon/