MII Kconfig option is apart of the core networking drivers and by default NET_CORE is enabled so drivers selecting MII will have MII enabled as well. It was found using the randconfig option during testing, MII would be selected but NET_CORE could be disabled. This caused a dependency error. Resolved the dependency by selecting NET_CORE when MII is selected. Reported-by: Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			40 lines
		
	
	
	
		
			1.1 KiB
			
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			1.1 KiB
			
		
	
	
	
		
			Text
		
	
	
	
	
	
#
 | 
						|
# Faraday device configuration
 | 
						|
#
 | 
						|
 | 
						|
config NET_VENDOR_FARADAY
 | 
						|
	bool "Faraday devices"
 | 
						|
	default y
 | 
						|
	depends on ARM
 | 
						|
	---help---
 | 
						|
	  If you have a network (Ethernet) card belonging to this class, say Y
 | 
						|
	  and read the Ethernet-HOWTO, available from
 | 
						|
	  <http://www.tldp.org/docs.html#howto>.
 | 
						|
 | 
						|
	  Note that the answer to this question doesn't directly affect the
 | 
						|
	  kernel: saying N will just cause the configurator to skip all
 | 
						|
	  the questions about Faraday cards. If you say Y, you will be asked for
 | 
						|
	  your specific card in the following questions.
 | 
						|
 | 
						|
if NET_VENDOR_FARADAY
 | 
						|
 | 
						|
config FTMAC100
 | 
						|
	tristate "Faraday FTMAC100 10/100 Ethernet support"
 | 
						|
	depends on ARM
 | 
						|
	select NET_CORE
 | 
						|
	select MII
 | 
						|
	---help---
 | 
						|
	  This driver supports the FTMAC100 10/100 Ethernet controller
 | 
						|
	  from Faraday. It is used on Faraday A320, Andes AG101 and some
 | 
						|
	  other ARM/NDS32 SoC's.
 | 
						|
 | 
						|
config FTGMAC100
 | 
						|
	tristate "Faraday FTGMAC100 Gigabit Ethernet support"
 | 
						|
	depends on ARM
 | 
						|
	select PHYLIB
 | 
						|
	---help---
 | 
						|
	  This driver supports the FTGMAC100 Gigabit Ethernet controller
 | 
						|
	  from Faraday. It is used on Faraday A369, Andes AG102 and some
 | 
						|
	  other ARM/NDS32 SoC's.
 | 
						|
 | 
						|
endif # NET_VENDOR_FARADAY
 |