Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) # WIZnet devices configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) config NET_VENDOR_WIZNET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 	bool "WIZnet devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	  If you have a network (Ethernet) card belonging to this class, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	  Note that the answer to this question doesn't directly affect the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	  kernel: saying N will just cause the configurator to skip all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	  the questions about WIZnet devices. If you say Y, you will be asked
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	  for your specific card in the following questions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) if NET_VENDOR_WIZNET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config WIZNET_W5100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	tristate "WIZnet W5100 Ethernet support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	  Support for WIZnet W5100 chips.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	  W5100 is a single chip with integrated 10/100 Ethernet MAC,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	  PHY and hardware TCP/IP stack, but this driver is limited to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	  the MAC and PHY functions only, onchip TCP/IP is unused.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	  To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	  will be called w5100.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) config WIZNET_W5300
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	tristate "WIZnet W5300 Ethernet support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	  Support for WIZnet W5300 chips.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	  W5300 is a single chip with integrated 10/100 Ethernet MAC,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	  PHY and hardware TCP/IP stack, but this driver is limited to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	  the MAC and PHY functions only, onchip TCP/IP is unused.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	  To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	  will be called w5300.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	prompt "WIZnet interface mode"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 	depends on WIZNET_W5100 || WIZNET_W5300
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 	default WIZNET_BUS_ANY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) config WIZNET_BUS_DIRECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 	bool "Direct address bus mode"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 	  In direct address mode host system can directly access all registers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 	  after mapping to Memory-Mapped I/O space.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) config WIZNET_BUS_INDIRECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 	bool "Indirect address bus mode"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 	  In indirect address mode host system indirectly accesses registers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 	  using Indirect Mode Address Register and Indirect Mode Data Register,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 	  which are directly mapped to Memory-Mapped I/O space.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) config WIZNET_BUS_ANY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 	bool "Select interface mode in runtime"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 	  If interface mode is unknown in compile time, it can be selected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 	  in runtime from board/platform resources configuration.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 	  Performance may decrease compared to explicitly selected bus mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) config WIZNET_W5100_SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) 	tristate "WIZnet W5100/W5200/W5500 Ethernet support for SPI mode"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 	depends on WIZNET_BUS_ANY && WIZNET_W5100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) 	depends on SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) 	  In SPI mode host system accesses registers using SPI protocol
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) 	  (mode 0) on the SPI bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) 	  Performance decreases compared to other bus interface mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) 	  In W5100 SPI mode, burst READ/WRITE processing are not provided.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) 	  To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) 	  will be called w5100-spi.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) endif # NET_VENDOR_WIZNET