From: Masami Hiramatsu <masami.hiramatsu@linaro.org>
To: u-boot@lists.denx.de
Subject: [PATCH v3 02/14] ata: ahci-pci: Use scsi_ops to initialize ops
Date: Mon, 10 May 2021 15:31:15 +0900 [thread overview]
Message-ID: <162062827563.501222.14010796212514133274.stgit@localhost> (raw)
In-Reply-To: <162062825393.501222.13616174511857694530.stgit@localhost>
Without this fix, scsi-scan will cause a synchronous abort
when accessing ops->scan.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
drivers/ata/ahci-pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/ata/ahci-pci.c b/drivers/ata/ahci-pci.c
index 11ec98b56f..b1d231e0f9 100644
--- a/drivers/ata/ahci-pci.c
+++ b/drivers/ata/ahci-pci.c
@@ -5,6 +5,7 @@
#include <common.h>
#include <ahci.h>
+#include <scsi.h>
#include <dm.h>
#include <pci.h>
@@ -28,6 +29,7 @@ static const struct udevice_id ahci_pci_ids[] = {
U_BOOT_DRIVER(ahci_pci) = {
.name = "ahci_pci",
.id = UCLASS_AHCI,
+ .ops = &scsi_ops,
.of_match = ahci_pci_ids,
.bind = ahci_pci_bind,
.probe = ahci_pci_probe,
next prev parent reply other threads:[~2021-05-10 6:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 6:30 [PATCH v3 00/14] arm64: synquacer: Add SynQuacer/DeveloperBox support Masami Hiramatsu
2021-05-10 6:31 ` [PATCH v3 01/14] pci: Update the highest subordinate bus number for bridge setup Masami Hiramatsu
2021-05-10 6:31 ` Masami Hiramatsu [this message]
2021-05-10 6:31 ` [PATCH v3 03/14] dm: pci: Skip setting VGA bridge bits if parent device is the host bus Masami Hiramatsu
2021-05-10 6:31 ` [PATCH v3 04/14] efi: Fix to use null handle to create new handle for efi_fmp_raw Masami Hiramatsu
2021-05-10 6:31 ` [PATCH v3 05/14] gpio: Introduce CONFIG_GPIO_EXTRA_HEADER to cleanup #ifdefs Masami Hiramatsu
2021-05-10 6:31 ` [PATCH v3 06/14] pci: synquacer: Add SynQuacer ECAM based PCIe driver Masami Hiramatsu
2021-05-10 6:32 ` [PATCH v3 07/14] mmc: synquacer: Add SynQuacer F_SDH30 SDHCI driver Masami Hiramatsu
2021-05-10 22:09 ` Jaehoon Chung
2021-05-10 6:32 ` [PATCH v3 08/14] spi: synquacer: Add HSSPI SPI controller driver for SynQuacer Masami Hiramatsu
2021-05-10 6:32 ` [PATCH v3 09/14] net: synquacer: Add netsec driver Masami Hiramatsu
2021-05-10 6:32 ` [PATCH v3 10/14] ARM: dts: synquacer: Add device trees for DeveloperBox Masami Hiramatsu
2021-05-10 6:32 ` [PATCH v3 11/14] board: synquacer: Add DeveloperBox 96boards EE support Masami Hiramatsu
2021-05-10 6:33 ` [PATCH v3 12/14] dfu_mtd: Ignore non-implemented lock device failure Masami Hiramatsu
2021-05-10 6:33 ` [PATCH v3 13/14] doc: qemu: arm64: Fix the documentation of capsule update Masami Hiramatsu
2021-05-10 6:33 ` [PATCH v3 14/14] configs: synquacer: Enable EFI capsule update support Masami Hiramatsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162062827563.501222.14010796212514133274.stgit@localhost \
--to=masami.hiramatsu@linaro.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox