git: 05d1c205383b - main - Add IDs for Intel BayTrail SATA.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Mon, 30 Oct 2023 13:58:33 UTC
The branch main has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=05d1c205383bfcde073465f10113d1d8d1cc82c7

commit 05d1c205383bfcde073465f10113d1d8d1cc82c7
Author:     Dmitry Luhtionov <dmitryluhtionov@gmail.com>
AuthorDate: 2023-10-30 13:57:19 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2023-10-30 13:57:19 +0000

    Add IDs for Intel BayTrail SATA.
---
 sys/dev/ahci/ahci_pci.c          | 2 ++
 sys/dev/ata/ata-pci.h            | 3 +++
 sys/dev/ata/chipsets/ata-intel.c | 2 ++
 3 files changed, 7 insertions(+)

diff --git a/sys/dev/ahci/ahci_pci.c b/sys/dev/ahci/ahci_pci.c
index 93a72875b502..8c74488d1da3 100644
--- a/sys/dev/ahci/ahci_pci.c
+++ b/sys/dev/ahci/ahci_pci.c
@@ -99,6 +99,8 @@ static const struct {
 	{0x11651b21, 0x00, "ASMedia ASM116x",	0},
 	{0x11661b21, 0x00, "ASMedia ASM116x",	0},
 	{0x79011d94, 0x00, "Hygon KERNCZ",	0},
+	{0x0f228086, 0x00, "Intel BayTrail",	0},
+	{0x0f238086, 0x00, "Intel BayTrail",	0},
 	{0x26528086, 0x00, "Intel ICH6",	AHCI_Q_NOFORCE},
 	{0x26538086, 0x00, "Intel ICH6M",	AHCI_Q_NOFORCE},
 	{0x26818086, 0x00, "Intel ESB2",	0},
diff --git a/sys/dev/ata/ata-pci.h b/sys/dev/ata/ata-pci.h
index 1978d8c1bc04..95e7dd113fec 100644
--- a/sys/dev/ata/ata-pci.h
+++ b/sys/dev/ata/ata-pci.h
@@ -244,6 +244,9 @@ struct ata_pci_controller {
 #define ATA_COLETOCRK_S1        0x23a18086
 #define ATA_COLETOCRK_S2        0x23a68086
 
+#define ATA_IBT_S1              0x0f208086
+#define ATA_IBT_S2              0x0f218086
+
 #define ATA_ITE_ID              0x1283
 #define ATA_IT8211F             0x82111283
 #define ATA_IT8212F             0x82121283
diff --git a/sys/dev/ata/chipsets/ata-intel.c b/sys/dev/ata/chipsets/ata-intel.c
index 14542afba5b7..d3eb1965c740 100644
--- a/sys/dev/ata/chipsets/ata-intel.c
+++ b/sys/dev/ata/chipsets/ata-intel.c
@@ -189,6 +189,8 @@ ata_intel_probe(device_t dev)
      { ATA_ISCH,         0,          0, 1, ATA_UDMA5, "SCH" },
      { ATA_COLETOCRK_S1, 0, INTEL_6CH2, 0, ATA_SA300, "COLETOCRK" },
      { ATA_COLETOCRK_S2, 0, INTEL_6CH2, 0, ATA_SA300, "COLETOCRK" },
+     { ATA_IBT_S1,       0,          0, 0, ATA_SA300, "BayTrail" },
+     { ATA_IBT_S2,       0,          0, 0, ATA_SA300, "BayTrail" },
      { 0, 0, 0, 0, 0, 0}};
 
     if (pci_get_vendor(dev) != ATA_INTEL_ID)