git: 728775442c62 - main - intelspi: sort PCI ID table by device ID
Adrian Chadd <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a888e75.2034f.49e8cac2__36009.0020856418$1787334425$gmane$org@gitrepo.freebsd.org> |
The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=728775442c62c6eff1b521c074dcbccde9e70764 commit 728775442c62c6eff1b521c074dcbccde9e70764 Author: Abdelkader Boudih <[email protected]> AuthorDate: 2026-08-21 16:02:15 +0000 Commit: Adrian Chadd <[email protected]> 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