mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-23 09:56:41 +03:00
nvethernetrm: move core_backup to osi_common.h
Issue: RFE: move struct core_backup to osi_common.h
Fix:
1. Moved core_backup to osi_common.h
2. Added generic osi_mac_restore_registers() and osi_mac_save_registers()
Api's in osi_common.c
Bug 2804631
Change-Id: I5bc71666e104f2e729024e096bd51ce350f2a1f0
Signed-off-by: Mahesh Patil <maheshp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2286642
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Bhadram Varka
parent
198951cc39
commit
b993a0368d
@@ -259,10 +259,6 @@ struct osi_core_ops {
|
||||
void (*configure_eee)(struct osi_core_priv_data *const osi_core,
|
||||
const unsigned int tx_lpi_enabled,
|
||||
const unsigned int tx_lpi_timer);
|
||||
/** Called to save MAC register space during SOC suspend */
|
||||
void (*save_registers)(struct osi_core_priv_data *const osi_core);
|
||||
/** Called to restore MAC control registers during SOC resume */
|
||||
void (*restore_registers)(struct osi_core_priv_data *const osi_core);
|
||||
/** Called to write into a PHY reg over MDIO bus */
|
||||
int (*write_phy_reg)(struct osi_core_priv_data *const osi_core,
|
||||
const unsigned int phyaddr,
|
||||
|
||||
Reference in New Issue
Block a user