aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2020-02-22 12:20:57 +0100
committerJens Axboe <[email protected]>2020-03-25 10:29:35 -0600
commit45b8084f3fcb9fe1a653fd49afa1fd7a5f0c10f2 (patch)
tree172cdb26f3c607ec321c4b4d0b420425a0f1a994 /tools/perf/scripts/python/mem-phys-addr.py
parent1d72f7aec3595249dbb83291ccac041a2d676c57 (diff)
libata: Assign OF node to the SCSI device
When we spawn a SCSI device from an ATA device in libata-scsi the SCSI device had no relation to the device tree. The DT binding allows us to define port nodes under a PATA (IDE) or SATA host controller, so we can have proper device nodes for these devices. If OF is enabled, walk the children of the host controller node to see if there is a valid device tree node to assign. The reg is used to match to ID 0 for the master device and ID 1 for the slave device. The corresponding device tree bindings have been accepted by the device tree maintainers. Cc: Chris Healy <[email protected]> Cc: Martin K. Petersen <[email protected]> Cc: Bart Van Assche <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions