diff options
| author | Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> | 2017-12-26 20:34:42 -0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-03 23:26:43 -0500 |
| commit | 3031c6565f04d4d6d1d4a04788c394a68b1d285b (patch) | |
| tree | 73b20b28844cb46344b549cc125cd55df5870f3f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | scsi: aacraid: Added macros to help loop through known buses and targets (diff) | |
| download | linux-3031c6565f04d4d6d1d4a04788c394a68b1d285b.tar.gz linux-3031c6565f04d4d6d1d4a04788c394a68b1d285b.zip | |
scsi: aacraid: Refactor resolve luns code and scsi functions
Resolve luns checks the if a sdev is already present in the os to figure
out if it needs to be removed. Internally the driver exposes HBA on bus
2 even though its bus 1 in the fw. Its mildly confusing.
Refactor out the sdev lookup into its function to check if sdev has been
added to the kernel or not. Add helper functions to add, remove and put
devices based on their fw bus and target number.
Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
