git: 176d8caba590 - stable/14 - intelspi: sort PCI ID table by device ID

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Sun, 06 Sep 2026 21:14:55 UTC
The branch stable/14 has been updated by ngie:

URL: https://cgit.FreeBSD.org/src/commit/?id=176d8caba590bc41dd19bd53f15357a851a91e43

commit 176d8caba590bc41dd19bd53f15357a851a91e43
Author:     Abdelkader Boudih <freebsd@seuros.com>
AuthorDate: 2026-08-21 16:02:15 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-09-06 21:14:30 +0000

    intelspi: sort PCI ID table by device ID
    
    Sort the existing LPSS peripheral SPI controller PCI ID table by
    numeric device ID so new entries have an unambiguous insertion point.
    
    Reviewed by:    wulf
    Differential Revision:  https://reviews.freebsd.org/D58996
    
    (cherry picked from commit 728775442c62c6eff1b521c074dcbccde9e70764)
---
 sys/dev/intel/spi_pci.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/intel/spi_pci.c b/sys/dev/intel/spi_pci.c
index 2a9d0e75233c..65c8c6d2478b 100644
--- a/sys/dev/intel/spi_pci.c
+++ b/sys/dev/intel/spi_pci.c
@@ -47,6 +47,9 @@ static struct intelspi_pci_device {
 	enum intelspi_vers vers;
 	const char *desc;
 } intelspi_pci_devices[] = {
+	{ 0x31c28086, SPI_SUNRISEPOINT, "Intel Gemini Lake SPI Controller-0" },
+	{ 0x31c48086, SPI_SUNRISEPOINT, "Intel Gemini Lake SPI Controller-1" },
+	{ 0x31c68086, SPI_SUNRISEPOINT, "Intel Gemini Lake SPI Controller-2" },
 	{ 0x9c658086, SPI_LYNXPOINT, "Intel Lynx Point-LP SPI Controller-0" },
 	{ 0x9c668086, SPI_LYNXPOINT, "Intel Lynx Point-LP SPI Controller-1" },
 	{ 0x9ce58086, SPI_LYNXPOINT, "Intel Wildcat Point SPI Controller-0" },
@@ -59,9 +62,6 @@ static struct intelspi_pci_device {
 	{ 0xa2aa8086, SPI_SUNRISEPOINT, "Intel Kaby Lake-H SPI Controller-1" },
 	{ 0xa3a98086, SPI_SUNRISEPOINT, "Intel Comet Lake-V SPI Controller-0" },
 	{ 0xa3aa8086, SPI_SUNRISEPOINT, "Intel Comet Lake-V SPI Controller-1" },
-	{ 0x31c28086, SPI_SUNRISEPOINT, "Intel Gemini Lake SPI Controller-0" },
-	{ 0x31c48086, SPI_SUNRISEPOINT, "Intel Gemini Lake SPI Controller-1" },
-	{ 0x31c68086, SPI_SUNRISEPOINT, "Intel Gemini Lake SPI Controller-2" },
 };
 
 static int