mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-24 02:22:16 +03:00
nvethernetrm: eqos: add Software reset for VDK
Bug 200546379 Change-Id: I40cf003311926e6b0a1685c0443d64ccf59c5325 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2270371 Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2274311 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> 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: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
@@ -134,7 +134,7 @@ struct osi_core_avb_algorithm {
|
||||
*/
|
||||
struct osi_core_ops {
|
||||
/** Called to poll for software reset bit */
|
||||
int (*poll_for_swr)(void *ioaddr);
|
||||
int (*poll_for_swr)(void *ioaddr, unsigned int pre_si);
|
||||
/** Called to initialize MAC and MTL registers */
|
||||
int (*core_init)(struct osi_core_priv_data *const osi_core,
|
||||
const unsigned int tx_fifo_size,
|
||||
@@ -393,6 +393,8 @@ struct osi_core_priv_data {
|
||||
* Value stored in MHz
|
||||
*/
|
||||
unsigned int csr_clk_speed;
|
||||
/** Tegra Pre-si platform info */
|
||||
unsigned int pre_si;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user