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
2021-09-30 08:08:56 -04:00
2022-08-12 08:14:23 -04:00
2023-01-23 18:11:40 -05:00
2022-12-05 16:06:08 -05:00
2022-12-02 08:39:00 -05:00
2022-08-23 12:39:06 +02:00
2022-06-17 16:27:05 +08: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
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2022-12-22 10:31:48 -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
2022-06-23 12:58:19 -04:00
2022-10-31 14:47:32 -04:00
2023-01-20 12:27:24 -05:00
2022-01-13 07:57:49 -05:00
2023-01-20 12:27:24 -05:00
2022-10-21 13:47:56 -04:00
2022-07-25 09:38:47 -04:00
2022-11-02 13:58:17 -04:00
2022-09-26 14:23:29 +02:00
2022-12-08 18:06:27 +02:00
2022-12-08 18:06:27 +02: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
2022-01-13 07:57:49 -05:00
2023-01-20 12:27:24 -05:00
2023-01-23 18:11:40 -05:00
2021-09-25 09:46:15 -06:00
2022-12-23 13:01:13 -05:00
2021-07-06 10:38:03 -06: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
2022-12-23 10:10:40 -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
2022-02-08 11:00:03 -05:00
2023-01-05 10:06:35 +02:00
2022-09-14 15:23:03 -04: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
2022-10-12 08:56:24 -04:00
2022-12-09 14:10:28 -05:00
2022-12-05 17:43:21 +01:00
2023-01-20 12:27:24 -05:00
2021-10-31 08:46:44 -04:00
2022-10-29 07:36:33 -06:00
2023-01-05 10:06:35 +02:00
2023-01-20 10:04:56 +02:00
2022-10-11 16:03:03 -04: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
2022-10-29 07:36:33 -06:00
2021-07-06 10:38:03 -06:00
2023-01-20 12:27:23 -05:00
2022-11-02 13:58:17 -04:00
2022-12-08 18:06:27 +02:00
2022-12-08 18:06:27 +02:00