git: 728775442c62 - main - intelspi: sort PCI ID table by device ID
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Aug 2026 17:44:21 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=728775442c62c6eff1b521c074dcbccde9e70764
commit 728775442c62c6eff1b521c074dcbccde9e70764
Author: Abdelkader Boudih <freebsd@seuros.com>
AuthorDate: 2026-08-21 16:02:15 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-08-21 17:44:09 +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
---
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 8b41cc5f8246..28cfca95a06a 100644
--- a/sys/dev/intel/spi_pci.c
+++ b/sys/dev/intel/spi_pci.c
@@ -46,6 +46,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" },
@@ -58,9 +61,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