--- zzzz-none-000/linux-3.18.24/drivers/net/ethernet/realtek/Kconfig 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/drivers/net/ethernet/realtek/Kconfig 2024-08-14 08:36:36.000000000 +0000 @@ -5,7 +5,6 @@ config NET_VENDOR_REALTEK bool "Realtek devices" default y - depends on PCI || (PARPORT && X86) ---help--- If you have a network (Ethernet) card belonging to this class, say Y and read the Ethernet-HOWTO, available from @@ -111,5 +110,245 @@ To compile this driver as a module, choose M here: the module will be called r8169. This is recommended. + +config R8168 + tristate "Realtek 8168 gigabit ethernet support" + depends on PCI + select FW_LOADER + select CRC32 + select MII + ---help--- + Say Y here if you have a Realtek 8168 PCI Gigabit Ethernet adapter. + + To compile this driver as a module, choose M here: the module + will be called r8168. This is recommended. + +config RTL8686NIC + tristate "Realtek RTL8686 NIC Ethernet support" + select CRC32 + select MII + help + Say Y if your machine has this type of Ethernet network card. + +config RTL_8221B_SUPPORT + bool "Enable Realtek RTL8221B support" + default n + help + This enables support for RTL8221B external 2.5 Giga PHY. +config RTL_8221B_MODULE + tristate "Add RTL8221B Module" + depends on RTL_8221B_SUPPORT + default n + help + Add init module for RTL8221B and proc driver for debugging +config RTL_8221B_DEVICE_0 + bool "Enable Realtek RTL8221B Device 0" + depends on RTL_8221B_MODULE + default n + help + Add RTL8221B Device 0. +config RTL_8221B_DEVICE_0_MDIO_SET + int "RTL8221B Device 0 on MDIO Set" + range 0 1 + depends on RTL_8221B_DEVICE_0 + default "0" + help + MDIO Set for RTL8221B +config RTL_8221B_DEVICE_0_PHY_ADDR + int "RTL8221B Device 0 PHY Address (C45)" + range 0 31 + depends on RTL_8221B_DEVICE_0 + default "0" + help + IEEE 802.3 PHY Address (5 bits) + + +menu "RTL9600 Serial Device Driver " + depends on RTL8686NIC + +config RTL9600_SERIES + bool "Realtek RTL9600 series support " + +config RTL9601B_SERIES + bool "Realtek RTL9601B series support " + select SFU + +config RTL9602C_SERIES + bool "Realtek RTL9602C series support " + +config RTL9607C_SERIES + bool "Realtek RTL9607C series support " + +config RTL9603CVD_SERIES + bool "Realtek RTL9603CVD series support " +endmenu + + +config GMAC1_USABLE + bool "Enable GMAC1" + depends on RTL9607C_SERIES + +config GMAC2_USABLE + bool "Enable GMAC2" + depends on RTL9607C_SERIES + +config SFU + bool "SFU mode support " + +config RTL8686_TEST + bool "Realtek RTL8686 NIC Ethernet Test support" + depends on RTL8686NIC + help + Say Y if your machine has this type of Ethernet network card. + +config DESC_IN_SRAM + bool "put descriptor ring to SRAM" + depends on RTL8686NIC + +config REALTEK_HW_LSO + tristate "Realtek RTL8686 NIC Hardware LSO support (EXPERIMENTAL)" + depends on RTL8686NIC + +config DUALBAND_CONCURRENT + bool "GMAC Dual Band Concurrent" + depends on RTL8686NIC + help + Say Y if you want to enable dual band concurrent with CPU0 & CPU1 + +config DEFAULT_TO_SLAVE_GMAC_VID + int "the 1Q-Based VLAN ID which receives by Slave GMAC." + depends on DUALBAND_CONCURRENT + default 4011 + +config DEFAULT_TO_SLAVE_GMAC_PRI + int "the VLAN priority of packet which receives by Slave GMAC." + depends on DUALBAND_CONCURRENT + default 7 + +config DEFAULT_MASTER_IPC_MAC_ADDRESS + string "The default Master IPC mac address" + depends on DUALBAND_CONCURRENT + default "00:11:33:55:77:BB" + +config DEFAULT_SLAVE_IPC_MAC_ADDRESS + string "The default Slave IPC mac address" + depends on DUALBAND_CONCURRENT + default "00:11:33:55:77:CC" + +config RTL865X_ETH_PRIV_SKB + bool "Private Allocate Skbuff for RTL9600 Series Chip" + +config RTL865X_ETH_PRIV_SKB_NUM + default 0 + int "Configure size of Private Allocate Skbuff for RTL9600 Series Chip" + depends on RTL865X_ETH_PRIV_SKB + +# +# Apollo Switch Driver configuration +# +menuconfig RTL8686_SWITCH + default y if UML + depends on RTL8686NIC + bool "Apollo switch driver support" + ---help--- + You'll have to say Y if your machine contains a switch device that + you want to use. + +# All the following symbols are dependent on RTL8686_SWITCH - do not repeat +# that for each of the symbols. +if RTL8686_SWITCH +source "drivers/net/ethernet/realtek/rtl86900/sdk/Kconfig" +source "drivers/net/ethernet/realtek/rtl86900/tr142/Kconfig" +endif # RTL8686_SWITCH + +config ETHWAN + bool "ETHWAN" + select RE8306_USE_CPUTAG if RTL8672NIC + select RE830X_API if RTL8672NIC + select RTL8672_ETHSKB_CONTROL_POOL if RTL8672NIC + depends on EXT_SWITCH || RTL_8676HWNAT || RTL8686NIC + help + ETH_WAN setting +choice + prompt "ETHWAN selection" + depends on RTL9607C + default ETHWAN_USE_SWITCH + + config ETHWAN_USE_SWITCH + bool "ETHWAN uses switch " + + config ETHWAN_USE_USB_SGMII + bool "ETHWAN uses USB SGMII " + select LAN_SDS_FEATURE + + config ETHWAN_USE_PCIE1_SGMII + bool "ETHWAN uses PCIE1 SGMII " + select LAN_SDS1_FEATURE +endchoice + +config RTL_MULTI_LAN_DEV + bool "Multi lan device" + default y if RTL_8676HWNAT + default n if RTL8686NIC + depends on (RTL_819X || RTL_8676HWNAT || RTL8686NIC) + help + support multi lan device +config RTL_MULTI_ETH_WAN + bool "Multi WAN support" + default y + select RTL_MULTI_WAN +# depends on ETHWAN + help + support multi wan device and smux function(for luna) +config RTL_MULTI_WAN + bool + +config RTL_IGMP_SNOOPING + bool "RTL_IGMP_SNOOPING" + default y + depends on !RTL_HW_PURE_SWITCH +config RTL_IGMP_PROXY + bool + default y + depends on !RTL_HW_PURE_SWITCH +config RTL_MLD_SNOOPING + bool "RTL_MLD_SNOOPING" + default n + depends on IPV6 && RTL_IGMP_SNOOPING + + +choice + prompt "Realtek HWNAT selection" + default HWNAT_RG + +config HWNAT_RG + bool "Realtek romeDriver" + select RTK_L34_ENABLE + ---help--- + If unsure, say Y. + +config HWNAT_FLEETCONNTRACK + depends on RTL9607C_SERIES + bool "Realtek Fleet Conntrack Driver" + select RTK_L34_FLEETCONNTRACK_ENABLE + ---help--- + Cache the forwarding decision decided by Linux kernel. + +config HWNAT_NONE + bool "Disable" + ---help--- + Disable HWNAT. +endchoice + +if HWNAT_RG +menuconfig RTK_L34_ENABLE + bool "HWNAT romeDriver" + source "drivers/net/ethernet/realtek/rtl86900/romeDriver/Kconfig" +endif +if HWNAT_FLEETCONNTRACK +menuconfig RTK_L34_FLEETCONNTRACK_ENABLE + bool "HWNAT Fleet Conntrack Driver" +# source "drivers/net/ethernet/realtek/rtl86900/FleetConntrackDriver/Kconfig" +endif endif # NET_VENDOR_REALTEK