diff options
| author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2026-03-08 09:44:12 +0000 |
|---|---|---|
| committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2026-04-06 19:28:10 +0000 |
| commit | ddf89d899b8d2d0e26c1a22c92f3ac1eddeac9f6 (patch) | |
| tree | 7c7495e91a4814caba158f1a0bdf54dd8b43011a | |
| parent | 356d6f47d3b54b34aaba9e60aa551f3d615d0e2f (diff) | |
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
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/ioport.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
