kconfig

来自「底层驱动开发」· 代码 · 共 66 行

TXT
66
字号
## CPM2 Communication options#menu "CPM2 Options"	depends on CPM2config SCC_ENET	bool "CPM SCC Ethernet"	depends on NET_ETHERNET##  CONFIG_FEC_ENET is only used to get netdevices to call our init#    function.  Any combination of FCC1,2,3 are supported.#config FEC_ENET	bool "FCC Ethernet"	depends on NET_ETHERNETconfig FCC1_ENET	bool "Ethernet on FCC1"	depends on FEC_ENET	help	  Use CPM2 fast Ethernet controller 1 to drive Ethernet (default).config FCC2_ENET	bool "Ethernet on FCC2"	depends on FEC_ENET	help	  Use CPM2 fast Ethernet controller 2 to drive Ethernet.config FCC3_ENET	bool "Ethernet on FCC3"	depends on FEC_ENET	help	  Use CPM2 fast Ethernet controller 3 to drive Ethernet.config USE_MDIO	bool "Use MDIO for PHY configuration"	depends on FEC_ENETchoice	prompt "Type of PHY"	depends on 8260 && USE_MDIO	default FCC_GENERIC_PHYconfig FCC_LXT970	bool "LXT970"config FCC_LXT971	bool "LXT971"config FCC_QS6612	bool "QS6612"config FCC_DM9131	bool "DM9131"config FCC_DM9161	bool "DM9161"config FCC_GENERIC_PHY	bool "Generic"endchoiceendmenu

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?