git: a0a7394d2620 - main - ichsmb: Enable block buffer mode for Elkhart Lake

From: Corvin Köhne <corvink_at_FreeBSD.org>
Date: Wed, 18 Nov 2026 14:12:46 UTC
The branch main has been updated by corvink:

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

commit a0a7394d2620517f7acd6d0fc22adb6603a1d6e9
Author:     YannickV <Y.Vossen@beckhoff.com>
AuthorDate: 2026-08-31 10:35:37 +0000
Commit:     Corvin Köhne <corvink@FreeBSD.org>
CommitDate: 2026-11-18 14:12:29 +0000

    ichsmb: Enable block buffer mode for Elkhart Lake
    
    Elkhart Lake SMBus controllers support the 32-byte block buffer used by
    SMBus block process calls. Set ICHSMB_FEATURE_BLOCK_BUFFER for the
    Elkhart Lake PCI ID so ichsmb_bpcall() is not rejected with
    SMB_ENOTSUPP.
    
    Reviewed by:            corvink
    MFC after:              1 week
    Sponsored by:           Beckhoff Automation GmbH & Co. KG
    Pull Request:           https://github.com/freebsd/freebsd-src/pull/2397
    Signed-off-by: YannickV <Y.Vossen@beckhoff.com>
---
 sys/dev/ichsmb/ichsmb_pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/ichsmb/ichsmb_pci.c b/sys/dev/ichsmb/ichsmb_pci.c
index be1983c4d04b..aeff9d94822f 100644
--- a/sys/dev/ichsmb/ichsmb_pci.c
+++ b/sys/dev/ichsmb/ichsmb_pci.c
@@ -251,6 +251,7 @@ static const struct pci_device_table ichsmb_devices[] = {
 	  .driver_data = (uintptr_t)ICHSMB_FEATURE_BLOCK_BUFFER,
 	  PCI_DESCR("Intel Tiger Lake SMBus controller") },
 	{ PCI_DEV(PCI_VENDOR_INTEL, ID_ELKHARTLAKE),
+	  .driver_data = (uintptr_t)ICHSMB_FEATURE_BLOCK_BUFFER,
 	  PCI_DESCR("Intel Elkhart Lake SMBus controller") },
 	{ PCI_DEV(PCI_VENDOR_INTEL, ID_GEMINILAKE),
 	  .driver_data = (uintptr_t)ICHSMB_FEATURE_BLOCK_BUFFER,