Author: blogic
Date: 2015-04-04 08:10:03 +0200 (Sat, 04 Apr 2015)
New Revision: 45269

Removed:
   trunk/package/kernel/spi-ks8995/
Modified:
   trunk/package/kernel/linux/modules/netdevices.mk
Log:
kernel: switch to upstream

This driver is upstream since 2012 (commit: a8e510f682f), so switch to
it and remove own sources. Also place it under "Network Devices" menu
together with other phy drivers.

Signed-off-by: Sergey Ryazanov <[email protected]>

Modified: trunk/package/kernel/linux/modules/netdevices.mk
===================================================================
--- trunk/package/kernel/linux/modules/netdevices.mk    2015-04-04 05:20:34 UTC 
(rev 45268)
+++ trunk/package/kernel/linux/modules/netdevices.mk    2015-04-04 06:10:03 UTC 
(rev 45269)
@@ -810,3 +810,20 @@
 endef
 
 $(eval $(call KernelPackage,vmxnet3))
+
+
+define KernelPackage/spi-ks8995
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=Micrel/Kendin KS8995 Ethernet switch control
+  FILES:=$(LINUX_DIR)/drivers/net/phy/spi_ks8995.ko
+  KCONFIG:=CONFIG_MICREL_KS8995MA \
+       CONFIG_SPI=y \
+       CONFIG_SPI_MASTER=y
+  AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
+endef
+
+define KernelPackage/spi-ks8995/description
+  Kernel module for Micrel/Kendin KS8995 ethernet switch
+endef
+
+$(eval $(call KernelPackage,spi-ks8995))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to