diff options
| author | Amit Cohen <amcohen@nvidia.com> | 2023-11-15 13:17:20 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-11-18 17:38:51 +0000 |
| commit | 8d9da4672f94b4914d3b9318d911bfd1fcbfc9a1 (patch) | |
| tree | 93be50a5dc83fbf210692a32f2410be16eeaed04 /scripts/stackusage | |
| parent | mlxsw: pci: Rename mlxsw_pci_sw_reset() (diff) | |
| download | linux-8d9da4672f94b4914d3b9318d911bfd1fcbfc9a1.tar.gz linux-8d9da4672f94b4914d3b9318d911bfd1fcbfc9a1.zip | |
mlxsw: pci: Move software reset code to a separate function
In general, the existing flow of software reset in the driver is:
1. Wait for system ready status.
2. Send MRSR command, to start the reset.
3. Wait for system ready status.
This flow will be extended once a new reset command is supported. As a
preparation, move step #2 to a separate function.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
