Simon Glass
2b3ebf2013
ata: Don't try to use non-existent ports
...
The controller indicates the number of ports but also has a port map
which specifies which ports are actually valid. Make use of this to
avoid trying to send commands to an invalid port.
This avoids a crash on some controllers.
Signed-off-by: Simon Glass <sjg@chromium.org >
2023-01-23 18:11:40 -05:00
..
2023-01-12 16:25:51 +01:00
2023-01-23 18:11:40 -05:00
2023-01-23 18:11:40 -05:00
2023-01-16 18:01:11 +08:00
2023-01-23 18:11:39 -05:00
2023-01-18 12:46:13 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-11 15:02:24 -05:00
2023-01-18 13:11:13 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-23 18:11:40 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-23 18:11:40 -05:00
2022-12-23 13:01:13 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-09 11:30:08 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-11 11:54:50 -05:00
2023-01-05 10:06:35 +02:00
2023-01-11 11:54:50 -05:00
2023-01-23 18:11:40 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-05 10:06:35 +02:00
2023-01-20 10:04:56 +02:00
2023-01-20 12:27:24 -05:00
2023-01-20 10:04:56 +02:00
2023-01-20 12:27:24 -05:00
2023-01-23 18:11:40 -05:00
2023-01-20 12:27:06 -05:00
2023-01-23 18:11:40 -05:00
2023-01-20 12:27:23 -05:00