From: Guillermo Bernaldo de Quiros Maraver Subject: Add SK hynix product to pcidev To: tech@openbsd.org Date: Fri, 31 Jul 2026 17:52:56 +0200 Hi all I've a laptop (Lenovo Thinkpad T14 gen 6) using a nvme SK Hynix SSD. In the dmesg, it shows: nvme0 at pci4 dev 0 function 0 vendor "SK hynix", unknown product 0x1069 rev 0x00: msix, NVMe 2.0 nvme0: SKHynix_HFS001TFM9X179N, firmware 61730A20, serial BSECN74051OB81360 scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: sd0: 976762MB, 512 bytes/sector, 2000409264 sectors After looking for that device on google I found that product was the PCB01 NVMe SSD, so I added the product Id to pcidevs file and rebuilt the kernel to see the changes as shown in the FAQ. Now the dmesg shows this: nvme0 at pci4 dev 0 function 0 "SK hynix PCB01 NVMe SSD" rev 0x00: msix, NVMe 2.0 nvme0: SKHynix_HFS001TFM9X179N, firmware 61730A20, serial BSECN74051OB81360 scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: sd0: 976762MB, 512 bytes/sector, 2000409264 sectors Please, is it possible to apply the diff to the pcidevs file? Thank you so much in advance. Index: sys/dev/pci/pcidevs =================================================================== RCS file: /cvs/src/sys/dev/pci/pcidevs,v diff -u -p -u -p -r1.2145 pcidevs --- sys/dev/pci/pcidevs 29 Jul 2026 02:40:09 -0000 1.2145 +++ sys/dev/pci/pcidevs 31 Jul 2026 15:40:06 -0000 @@ -9637,6 +9637,7 @@ product SIS 7300 0x7300 7300 VGA product SIS 966_HDA 0x7502 966 HD Audio /* SK hynix products */ +product SKHYNIX PCB01 0x1069 PCB01 NVMe SSD product SKHYNIX BC501 0x1327 BC501 product SKHYNIX PC601 0x1627 PC601 product SKHYNIX SHGP31 0x174a Gold P31 Index: sys/dev/pci/pcidevs.h =================================================================== RCS file: /cvs/src/sys/dev/pci/pcidevs.h,v diff -u -p -u -p -r1.2138 pcidevs.h --- sys/dev/pci/pcidevs.h 29 Jul 2026 02:41:04 -0000 1.2138 +++ sys/dev/pci/pcidevs.h 31 Jul 2026 15:40:06 -0000 @@ -9642,6 +9642,7 @@ #define PCI_PRODUCT_SIS_966_HDA 0x7502 /* 966 HD Audio */ /* SK hynix products */ +#define PCI_PRODUCT_SKHYNIX_PCB01 0x1069 /* PCB01 NVMe SSD */ #define PCI_PRODUCT_SKHYNIX_BC501 0x1327 /* BC501 */ #define PCI_PRODUCT_SKHYNIX_PC601 0x1627 /* PC601 */ #define PCI_PRODUCT_SKHYNIX_SHGP31 0x174a /* Gold P31 */ Index: sys/dev/pci/pcidevs_data.h =================================================================== RCS file: /cvs/src/sys/dev/pci/pcidevs_data.h,v diff -u -p -u -p -r1.2133 pcidevs_data.h --- sys/dev/pci/pcidevs_data.h 29 Jul 2026 02:41:04 -0000 1.2133 +++ sys/dev/pci/pcidevs_data.h 31 Jul 2026 15:40:06 -0000 @@ -34900,6 +34900,10 @@ static const struct pci_known_product pc "966 HD Audio", }, { + PCI_VENDOR_SKHYNIX, PCI_PRODUCT_SKHYNIX_PCB01, + "PCB01 NVMe SSD", + }, + { PCI_VENDOR_SKHYNIX, PCI_PRODUCT_SKHYNIX_BC501, "BC501", },