mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
Lan7431- NVIDIA specific changes to Lan7431 drv
Adding NVIDIA specific changes to Lan7431 for K515 driver These changes support "userland phy driver" Bug 3956901 Change-Id: I0f11e3cb95742bb0bac9bec7638d03552074dd23 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2924162 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by: Jeremy Alves <jalves@nvidia.com> Reviewed-by: Jeremy Alves <jalves@nvidia.com> Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c2c17e16c9
commit
ee70adda3e
@@ -1,5 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* Copyright (C) 2018 Microchip Technology Inc. */
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _LAN743X_H
|
||||
#define _LAN743X_H
|
||||
@@ -626,6 +629,8 @@ struct lan743x_intr {
|
||||
struct lan743x_phy {
|
||||
bool fc_autoneg;
|
||||
u8 fc_request_control;
|
||||
bool fixed;
|
||||
u32 mdio_addr;
|
||||
};
|
||||
|
||||
/* TX */
|
||||
@@ -706,6 +711,7 @@ struct lan743x_rx {
|
||||
struct lan743x_adapter {
|
||||
struct net_device *netdev;
|
||||
struct mii_bus *mdiobus;
|
||||
phy_interface_t phy_mode;
|
||||
int msg_enable;
|
||||
#ifdef CONFIG_PM
|
||||
u32 wolopts;
|
||||
|
||||
Reference in New Issue
Block a user