| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To be exact, there was a dummy file with no content before. This commit
defines `struct mfd_cell` and adds two function stubs.
The function stubs are not implemented but still return success. They
log a message to indicate they need to be implemented.
Also, unlike Linux, <linux/mfd/core.h> includes <linux/ioport.h>. This
works around the fact that we can't include <linux/ioport.h> from
<linux/pci.h>, due to a conflict with the FreeBSD-native `struct
resource`.
The amdgpu DRM driver started to use it in Linux 6.11.
Reviewed by: bz, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55736
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add <linux/eventfd.h> and expose the `eventfd_*()` API. This is used by
DRM drivers for some time, but the code was commented out so far.
Note that Linux uses `struct eventfd_ctx`, but FreeBSD defines `struct
eventfd`. We define `eventfd_ctx` as a synonym to `eventfd`.
Reviewed by: christos, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50853
|
| |
|
|
|
|
|
|
|
|
| |
The amdgpu DRM driver started to include in from Linux 6.10, but either
it does not use any of it, or linuxkpi provides the necessary API from
another header.
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54498
|
| |
|
|
|
|
|
|
|
| |
The DRM generic code started to include it in Linux 6.10 but doesn't
seem to use anything inside.
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54490
|
| |
|
|
|
|
|
|
|
|
| |
There are no consumers right now except the upcoming <linux/eventfd.h>.
This is meant to reproduce the same includes as Linux, in case consumers
of <linux/eventfd.h> implicitly rely on namespace pollution.
Reviewed by: bz, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50851
|
| |
|
|
|
|
|
| |
These are needed for mt76.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
Long-term asm/unaligned.h is likely to migrate to this file?
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D50003
|
| |
|
|
|
|
|
|
|
|
| |
[Why]
The i915 DRM driver relies on this chain of includes to access the
definition of `struct tasklet_struct` in `<linux/interrupt.h>`.
Reviewed by: imp, manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48760
|
| |
|
|
|
|
|
| |
Those files are required by updated wireless drivers.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
|
| |
|
|
|
|
|
| |
kstrtox.h has an implementation nowadays. Remove the dummy file
which is no longer needed.
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
| |
Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D45848
|
| |
|
|
|
|
|
|
|
|
| |
Some source files get them from linux/limits.h directly rather than from
linux/kernel.h.
While here replace Linux constant values with sys/stdint.h provided ones.
Sponsored by: Serenity Cyber Security, LLC
Reviewed by: emaste
MFC after: 1 week
|
| |
|
|
|
|
|
| |
All three files now have an implementation so we no longer need the
"dummy" versions.
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
| |
Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42817
|
| |
|
|
|
|
|
|
|
|
| |
required by recent drm-kmod to be succesfully compiled.
Sponsored by: Serenity Cyber Security, LLC
Reviewed by: manu, bz
Obtained from: OpenBSD (partially)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42798
|
| |
|
|
|
|
|
|
| |
Both agp_backend.h and utsname.h have an implementation in common/
these days so the dummy headers are no longer needed.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
Given https://reviews.freebsd.org/D34318 was abandoned add an empty
of.h dummy header file to at least avoid #include errors and avoid
covering those #include with CONFIG_OF.
MFC after: 10 days
|
| |
|
|
|
| |
Sponsored by: The FreeBSD Foundation
MFC after: 10 days
|
| |
|
|
|
|
|
|
| |
Wireless drivers try to include these files. Add them empty for no
better reason yet.
Sponsored by: The FreeBSD Foundation
MFC after: 10 days
|
| |
|
|
|
|
| |
Needed by drm-kmod.
Sponsored by: Beckhoff Automation GmbH & Co. KG
|
| |
|
|
|
| |
Both iommu.h and kconfig.h now exist in the common code.
There is no need for the duplicate (empty) headers anymore.
|
| |
|
|
|
|
|
|
|
| |
Add more empty header files wireless drivers try to include but
we do not (yet) need for any implementation.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38271
|
| |
|
|
|
|
|
|
|
| |
Remove former dummy/ files which now have an actual implementation
in common/ .
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38269
|
| |
|
|
|
|
|
|
|
|
| |
For now, it's empty. It is included by the DRM drivers but nothing is
missing otherwise. Perhaps something we already defined should be in
`pgtable.h` instead of another header.
Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D38153
|
| |
|
|
|
|
|
|
|
|
| |
For now, it's empty. It is included by the DRM drivers but nothing is
missing otherwise. Perhaps something we already defined should be in
`limits.h` instead of another header.
Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D38147
|
| |
|
|
|
|
|
| |
The file is included by a driver but it seems we don't need to implement
anything here.
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
The non-atomic versions are required by drm-510-kmod to build on 32-bit
architectures.
Approved by: hselasky, manu, tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36507
|
|
|
All those are needed for drm-kmod.
Add them to base in another directory that will be append in the CFLAGS.
Reviewed by: bz
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D36110
|