kernel: kmod-amazon-ena: move to top level netdevices
The Amazon ENA network devices are also used on the AWS Arm (Graviton) instance types, so move it from the x86-only module file to the top level netdevices. Signed-off-by: Mathew McBride <matt@traverse.com.au>
This commit is contained in:
		
				
					committed by
					
						
						Petr Štetiar
					
				
			
			
				
	
			
			
			
						parent
						
							214e94cddf
						
					
				
				
					commit
					3a7c8fd15e
				
			@@ -1541,3 +1541,18 @@ endef
 | 
			
		||||
 | 
			
		||||
$(eval $(call KernelPackage,lan743x))
 | 
			
		||||
 | 
			
		||||
define KernelPackage/amazon-ena
 | 
			
		||||
  SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
			
		||||
  TITLE:=Elastic Network Adapter (for Amazon AWS)
 | 
			
		||||
  DEPENDS:=@TARGET_x86_64||TARGET_armvirt_64
 | 
			
		||||
  KCONFIG:=CONFIG_ENA_ETHERNET
 | 
			
		||||
  FILES:=$(LINUX_DIR)/drivers/net/ethernet/amazon/ena/ena.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoLoad,12,ena)
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define KernelPackage/amazon-ena/description
 | 
			
		||||
  This driver supports Elastic Network Adapter (ENA)
 | 
			
		||||
  used by Amazon AWS T3 (2018) and later instances.
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
$(eval $(call KernelPackage,amazon-ena))
 | 
			
		||||
 
 | 
			
		||||
@@ -2,23 +2,6 @@
 | 
			
		||||
#
 | 
			
		||||
# Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
 | 
			
		||||
 | 
			
		||||
define KernelPackage/amazon-ena
 | 
			
		||||
  SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
			
		||||
  TITLE:=Elastic Network Adapter (for Amazon AWS T3)
 | 
			
		||||
  DEPENDS:=@TARGET_x86_64
 | 
			
		||||
  KCONFIG:=CONFIG_ENA_ETHERNET
 | 
			
		||||
  FILES:=$(LINUX_DIR)/drivers/net/ethernet/amazon/ena/ena.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoLoad,12,ena)
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define KernelPackage/amazon-ena/description
 | 
			
		||||
  This driver supports Elastic Network Adapter (ENA)
 | 
			
		||||
  used by Amazon AWS T3 instances.
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
$(eval $(call KernelPackage,amazon-ena))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
define KernelPackage/amd-xgbe
 | 
			
		||||
  SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
			
		||||
  TITLE:=AMD Ethernet on SoC support
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user