mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	All patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B, mt7622/RT3200 Run-tested: bcm2711/RPi4B, mt7622/RT3200 Signed-off-by: John Audia <therealgraysky@proton.me>
		
			
				
	
	
		
			25 lines
		
	
	
		
			782 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			782 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 38c310eb46f5f80213a92093af11af270c209a76 Mon Sep 17 00:00:00 2001
 | 
						|
From: Russell King <rmk+kernel@armlinux.org.uk>
 | 
						|
Date: Tue, 26 Oct 2021 11:06:06 +0100
 | 
						|
Subject: [PATCH] net: phylink: add MAC phy_interface_t bitmap
 | 
						|
 | 
						|
Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY
 | 
						|
interface modes it supports.
 | 
						|
 | 
						|
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
 | 
						|
Signed-off-by: David S. Miller <davem@davemloft.net>
 | 
						|
---
 | 
						|
 include/linux/phylink.h | 1 +
 | 
						|
 1 file changed, 1 insertion(+)
 | 
						|
 | 
						|
--- a/include/linux/phylink.h
 | 
						|
+++ b/include/linux/phylink.h
 | 
						|
@@ -78,6 +78,7 @@ struct phylink_config {
 | 
						|
 	bool ovr_an_inband;
 | 
						|
 	void (*get_fixed_state)(struct phylink_config *config,
 | 
						|
 				struct phylink_link_state *state);
 | 
						|
+	DECLARE_PHY_INTERFACE_MASK(supported_interfaces);
 | 
						|
 };
 | 
						|
 
 | 
						|
 /**
 |