git: 80e54c8949c3 - stable/15 - linuxkpi: Add field `flags` to `struct resource`
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Apr 2026 21:08:35 UTC
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