--- zzzz-none-000/linux-5.15.111/drivers/net/ethernet/synopsys/Kconfig 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/net/ethernet/synopsys/Kconfig 2024-02-07 10:23:12.000000000 +0000 @@ -39,4 +39,62 @@ endif # DWC_XLGMAC +config DEBUGFS_OBJ + bool "synopsys DWC Ethernet QOS debugfs support" + depends on SYNOPSYS_DWC_ETH_QOS + default n + +config PGTEST_OBJ + bool "synopsys DWC Ethernet QOS pgtest support" + depends on SYNOPSYS_DWC_ETH_QOS + default n + +config PTPSUPPORT_OBJ + bool "synopsys DWC Ethernet QOS ptp support" + depends on SYNOPSYS_DWC_ETH_QOS + select PTP_1588_CLOCK + +config SYNOPSYS_DWC_NRGMII_125MHZ_DEFAULT_DELAY + int "synopsys DWC Ethernet QOS rgmii delay" + default 1 + range 0 4 + help + 0 - No delay + 1 - 0.8 ns output delay + 2 - 1.6 ns output delay + 3 - 2.4 ns output delay + 4 - 3.2 ns output delay + endif # NET_VENDOR_SYNOPSYS + +config DWC_QOS + tristate "Synopsys Ethernet QOS driver" + depends on X86_PUMA7 + depends on PCI + default y + help + This driver supports Synopsys QOS GMAC core controller. + To compile this driver as a module, choose M here: the + module will be called DWC_ETH_QOS.ko + +if DWC_QOS + +config DWC_QOS_DEBUGFS + bool "Debug FS interface support" + default y + help + Adds debugfs interface support. + +config DWC_QOS_PTP + bool "Precision time protocol support" + default n + help + Adds PTP support. + +config DWC_INTEL_PTP + bool "Intel Precision time protocol support" + default n + help + Adds Intel PTP support. + +endif # DWC_QOS