Changeset 35705


Ignore:
Timestamp:
2013-02-20T20:14:15+01:00 (5 years ago)
Author:
juhosg
Message:

package/kernel: add package for the Freescale Gianfar driver

[juhosg: move the fsl-pq-mdio driver into a separate package]

Patchwork: http://patchwork.openwrt.org/patch/3345/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@…>
Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/netdevices.mk

    r35691 r35705  
    679679 
    680680$(eval $(call KernelPackage,forcedeth)) 
     681 
     682define KernelPackage/of-mdio 
     683  SUBMENU:=$(NETWORK_DEVICES_MENU) 
     684  TITLE:=OpenFirmware MDIO support 
     685  DEPENDS:=+kmod-libphy 
     686  KCONFIG:=CONFIG_OF_MDIO 
     687  FILES:=$(LINUX_DIR)/drivers/of/of_mdio.ko 
     688  AUTOLOAD:=$(call AutoLoad,41,of_mdio) 
     689endef 
     690 
     691define KernelPackage/of-mdio/description 
     692 Kernel driver for OpenFirmware MDIO support 
     693endef 
     694 
     695$(eval $(call KernelPackage,of-mdio)) 
     696 
     697define KernelPackage/fsl-pq-mdio 
     698  SUBMENU:=$(NETWORK_DEVICES_MENU) 
     699  TITLE:=Freescale PQ MDIO bus support 
     700  DEPENDS:=@TARGET_mpc85xx +kmod-of-mdio 
     701  KCONFIG:=CONFIG_FSL_PQ_MDIO 
     702  FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/fsl_pq_mdio.ko 
     703  AUTOLOAD:=$(call AutoLoad,42,fsl_pq_mdio) 
     704endef 
     705 
     706define KernelPackage/fsl-pq-mdio/description 
     707 Kernel driver for the Freescale PQ MDIO bus 
     708endef 
     709 
     710$(eval $(call KernelPackage,fsl-pq-mdio)) 
     711 
     712 
     713define KernelPackage/gianfar 
     714  SUBMENU:=$(NETWORK_DEVICES_MENU) 
     715  TITLE:=Gianfar Ethernet support 
     716  DEPENDS:=@TARGET_mpc85xx +kmod-fsl-pq-mdio 
     717  KCONFIG:=CONFIG_GIANFAR 
     718  FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_driver.ko 
     719  AUTOLOAD:=$(call AutoLoad,50,gianfar_driver) 
     720endef 
     721 
     722define KernelPackage/gianfar/description 
     723 Kernel driver for Freescale Gianfar Ethernet support 
     724endef 
     725 
     726$(eval $(call KernelPackage,gianfar)) 
Note: See TracChangeset for help on using the changeset viewer.