Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2026 21:08:35 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron <dumbbell@FreeBSD.org>
Subject:   git: 80e54c8949c3 - stable/15 - linuxkpi: Add field `flags` to `struct resource`
Message-ID:  <69e938d3.27673.23f1ab9a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by bz:

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

commit 80e54c8949c357ad6eb805bc215c03d40e8aeed1
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2026-03-08 09:44:12 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-04-22 20:57:02 +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
    
    (cherry picked from commit ddf89d899b8d2d0e26c1a22c92f3ac1eddeac9f6)
---
 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e938d3.27673.23f1ab9a>