diff options
| author | Daniel Machon <daniel.machon@microchip.com> | 2024-10-24 00:01:34 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-30 18:08:06 -0700 |
| commit | 207966787b7146baae7fdb2f21aece36f784a63b (patch) | |
| tree | 947b6e931bee8ae37daf2e2c95d965029cd88619 /net/unix/sysctl_net_unix.c | |
| parent | 98a01119608d21e0ed95a544071beabb353240ed (diff) | |
net: sparx5: add feature support
Lan969x supports a number of different features, depending on the
target. Add new field sparx5->features and initialize the features based
on the target. Also add the function sparx5_has_feature() and use it
throughout. For now, we only need to handle features: PSFP and PTP -
more will come in the future.
[1] https://www.microchip.com/en-us/product/lan9698
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241024-sparx5-lan969x-switch-driver-2-v2-15-a0b5fae88a0f@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
