All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ata: ahci-pci: Replace magic constant by macro
@ 2022-12-04 12:31 Pali Rohár
  2022-12-04 21:16 ` Simon Glass
  2022-12-08 20:24 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Pali Rohár @ 2022-12-04 12:31 UTC (permalink / raw)
  To: u-boot

Replace 0x1b21 by macro PCI_VENDOR_ID_ASMEDIA with the same value.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 drivers/ata/ahci-pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/ahci-pci.c b/drivers/ata/ahci-pci.c
index 797e0d570e88..5356b9d83d34 100644
--- a/drivers/ata/ahci-pci.c
+++ b/drivers/ata/ahci-pci.c
@@ -37,7 +37,7 @@ U_BOOT_DRIVER(ahci_pci) = {
 
 static struct pci_device_id ahci_pci_supported[] = {
 	{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_SATA_AHCI, ~0) },
-	{ PCI_DEVICE(0x1b21, 0x0611) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_ASMEDIA, 0x0611) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6121) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6145) },
 	{},
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ata: ahci-pci: Replace magic constant by macro
  2022-12-04 12:31 [PATCH] ata: ahci-pci: Replace magic constant by macro Pali Rohár
@ 2022-12-04 21:16 ` Simon Glass
  2022-12-08 20:24 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2022-12-04 21:16 UTC (permalink / raw)
  To: Pali Rohár; +Cc: u-boot

On Mon, 5 Dec 2022 at 01:32, Pali Rohár <pali@kernel.org> wrote:
>
> Replace 0x1b21 by macro PCI_VENDOR_ID_ASMEDIA with the same value.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
> ---
>  drivers/ata/ahci-pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ata: ahci-pci: Replace magic constant by macro
  2022-12-04 12:31 [PATCH] ata: ahci-pci: Replace magic constant by macro Pali Rohár
  2022-12-04 21:16 ` Simon Glass
@ 2022-12-08 20:24 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2022-12-08 20:24 UTC (permalink / raw)
  To: Pali Rohár; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

On Sun, Dec 04, 2022 at 01:31:08PM +0100, Pali Rohár wrote:

> Replace 0x1b21 by macro PCI_VENDOR_ID_ASMEDIA with the same value.
> 
> Signed-off-by: Pali Rohár <pali@kernel.org>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-08 20:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-04 12:31 [PATCH] ata: ahci-pci: Replace magic constant by macro Pali Rohár
2022-12-04 21:16 ` Simon Glass
2022-12-08 20:24 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.