]> git.baikalelectronics.ru Git - kernel.git/commit
net: enetc: populate supported_interfaces member
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 16 Nov 2021 09:58:58 +0000 (09:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 11:19:28 +0000 (11:19 +0000)
commit5f9b36c7e99873bca91d05d2a132d076ef4cccbe
tree4676da5228682af5befae7f673c6205908882517
parentcc8bbe8b5af313c5770feeb5575a7b4181bf0643
net: enetc: populate supported_interfaces member

Populate the phy_interface_t bitmap for the Freescale enetc driver with
interfaces modes supported by the MAC.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_pf.c