The branch main has been updated by dumbbell:

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

commit ddf89d899b8d2d0e26c1a22c92f3ac1eddeac9f6
Author:     Jean-Sébastien Pédron <[email protected]>
AuthorDate: 2026-03-08 09:44:12 +0000
Commit:     Jean-Sébastien Pédron <[email protected]>
CommitDate: 2026-04-06 19:28:10 +0000

    linuxkpi: Add field `flags` to `struct resource`
    
    This in the Linux version of `struct resource`, not the FreeBSD native
    structure.
    
    The amdgpu DRM driver started to use it in Linux 6.11.
    
    Reviewed by:    bz
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D55737
---
 sys/compat/linuxkpi/common/include/linux/ioport.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/ioport.h 
b/sys/compat/linuxkpi/common/include/linux/ioport.h
index 763af2de7c4f..68f28cec4ec4 100644
--- a/sys/compat/linuxkpi/common/include/linux/ioport.h
+++ b/sys/compat/linuxkpi/common/include/linux/ioport.h
@@ -41,6 +41,7 @@ struct resource {
        resource_size_t start;
        resource_size_t end;
        const char *name;
+       unsigned long flags;
 };
 
 static inline resource_size_t

Reply via email to