Home | History | Annotate | only in /src/distrib/sets/lists/modules
History log of /src/distrib/sets/lists/modules
RevisionDateAuthorComments
 1.14 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.13 09-May-2024  pho branches: 1.13.2;
port-arm/58194: Resurrect vmt(4) from bitrot

On this architecture vmt(4) used to search for a node "/hypervisor" in the
FDT and probed the VMware hypervisor call only when the node was
found. However, things appear to have changed and VMware no longer provides
the FDT node.

Since vmt(4) doesn't actually need to read anything from FDT, and the
hypervisor call logically resides in virtual CPUs themselves, it would be
better to attach it directly to cpu, just like how it's probed on x86.
 1.12 11-Apr-2023  riastradh aarch64: Build drm modules.
 1.11 20-Dec-2022  pgoyette Missed the compat_netbsd32_100 stuff in previous commit
 1.10 25-Nov-2021  ryo add support COMPAT_LINUX32 for aarch64
 1.9 09-Oct-2021  ryo Modularize compat_linux(8) for aarch64.
 1.8 01-Nov-2020  pgoyette Update sets lists for new compat_netbsd32_coredump module
 1.7 27-Aug-2020  riastradh Sort and deduplicate set lists.
 1.6 12-Mar-2020  pgoyette Add new netbsd32 quota modules to sets lists
 1.5 08-Mar-2020  skrll Fix sets
 1.4 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.3 17-Sep-2019  mrg build exec_elf32 module on arm64.
 1.2 21-Jan-2019  alnsn Add bpfjit and sljit modules.
 1.1 10-Aug-2014  matt branches: 1.1.4; 1.1.24; 1.1.26;
Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
 1.1.26.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.26.1 10-Jun-2019  christos Sync with HEAD
 1.1.24.1 26-Jan-2019  pgoyette Sync with HEAD
 1.1.4.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.1 10-Aug-2014  tls file ad.aarch64 was added on branch tls-maxphys on 2014-08-19 23:45:44 +0000
 1.13.2.1 02-Aug-2025  perseant Sync with HEAD
 1.20 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.19 20-Dec-2022  pgoyette branches: 1.19.2;
Missed the compat_netbsd32_100 stuff in previous commit
 1.18 01-Nov-2020  pgoyette Update sets lists for new compat_netbsd32_coredump module
 1.17 27-Aug-2020  riastradh Sort and deduplicate set lists.
 1.16 12-Mar-2020  pgoyette Add new netbsd32 quota modules to sets lists
 1.15 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.14 04-Dec-2019  jmcneill Move dtrace_syscall_linux out of mi set list
 1.13 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.12 03-Feb-2019  pgoyette branches: 1.12.2;
Update sets lists for new compat_netbsd32_raid module
 1.11 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.10 15-Dec-2016  kre branches: 1.10.12; 1.10.14;

More sets list sorting (maybe this time they're really all done)
 1.9 19-Oct-2016  skrll PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel

Updated from the original patch in the PR by me.
 1.8 03-Dec-2015  pgoyette branches: 1.8.2;
Split out the SYSV IPC stuff into its own compat_netbsd32_sysvipc
module. Adjust dependencies as needed.
 1.7 01-Dec-2015  pgoyette Add new compat_netbsd32_mqueue module to sets lists.
 1.6 01-Dec-2015  pgoyette Finish up with the new compat_netbsd32_nfssrv module by adding it to
the sets lists.

This set of commits together should address PRs kern/50410 and kern/50486.

This is also the first of several new modules to be created in response to
PR kern/50489
 1.5 09-May-2015  matt Update set lists for compat_netbsd32.kmod
 1.4 10-Aug-2014  bad Build ubsec module only for i386 and amd64 and punt on the other arches.
 1.3 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.2 11-Aug-2013  joerg Sort entries in strcmp order.
 1.1 07-Sep-2009  jnemeth branches: 1.1.6; 1.1.12;
Create a modules.tgz set and move kernel modules into it.
 1.1.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.8.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.10.14.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10.14.1 10-Jun-2019  christos Sync with HEAD
 1.10.12.8 23-Sep-2018  pgoyette Reenable the compat_netbsd32 module. It is _NOT_ an all-version monolithic
module (as was compat_netbsd).
 1.10.12.7 23-Sep-2018  pgoyette Use a space to separate fields, not _
 1.10.12.6 22-Sep-2018  pgoyette Mark the old compat_netbsd32 module as obsolete - it is replaced by the
new version-specific modules
 1.10.12.5 12-Sep-2018  pgoyette Split compat_netbsd32_sysvipc into version-specific modules
 1.10.12.4 12-Sep-2018  pgoyette Add new compat_netbsd32_16 module to sets
 1.10.12.3 11-Sep-2018  pgoyette More fixing of placement of version number in module name
 1.10.12.2 11-Sep-2018  pgoyette Fix module names - the version info comes prior to the .kmod suffix!
 1.10.12.1 10-Sep-2018  pgoyette Update for removal of monolithic compat modules, and for introduction
of version-specific compat_netbsd32_xx modules
 1.12.2.1 09-Dec-2019  martin Pull up following revision(s) (requested by jmcneill in ticket #525):

external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
distrib/sets/lists/modules/md.i386: revision 1.83
share/mk/bsd.own.mk: revision 1.1168
usr.bin/mkubootimage/mkubootimage.c: revision 1.25
sys/modules/dtrace/Makefile: revision 1.7
usr.bin/mkubootimage/mkubootimage.c: revision 1.26
sys/modules/dtrace/Makefile: revision 1.8
external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
distrib/sets/lists/modules/mi: revision 1.128
sys/arch/aarch64/include/frame.h: revision 1.3
sys/arch/evbarm/conf/mk.generic64: revision 1.4
external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
sys/modules/cyclic/Makefile: revision 1.4
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
sys/arch/aarch64/aarch64/start.S: revision 1.3
sys/arch/aarch64/aarch64/trap.c: revision 1.22
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
distrib/sets/lists/modules/md.amd64: revision 1.82
usr.bin/mkubootimage/mkubootimage.1: revision 1.13
distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison
 1.19.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 24-Feb-2014  skrll Rename NetBSD/hp700 to NetBSD/hppa.

Unfortunately our VCS isn't very helpful here.
 1.1 07-Sep-2009  jnemeth branches: 1.1.6; 1.1.12;
Create a modules.tgz set and move kernel modules into it.
 1.1.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.3 11-Feb-2020  uki branches: 1.3.12;
PR misc/46937: add modules package, from Lloyd Parkes.
 1.2 15-Oct-2010  tsutsui branches: 1.2.48;
Build and install compat_aoutm68k.kmod and exec_aout.kmod on m68k machines.
 1.1 07-Sep-2009  jnemeth Create a modules.tgz set and move kernel modules into it.
 1.2.48.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.3.12.1 02-Aug-2025  perseant Sync with HEAD
 1.20 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.19 20-Dec-2022  pgoyette branches: 1.19.2;
Missed the compat_netbsd32_100 stuff in previous commit
 1.18 10-May-2021  simonb Column alignment.
 1.17 01-Nov-2020  pgoyette branches: 1.17.4;
Update sets lists for new compat_netbsd32_coredump module
 1.16 27-Aug-2020  riastradh Sort and deduplicate set lists.
 1.15 12-Mar-2020  pgoyette Add new netbsd32 quota modules to sets lists
 1.14 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.13 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.12 03-Feb-2019  pgoyette Update sets lists for new compat_netbsd32_raid module
 1.11 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.10 15-Dec-2016  kre branches: 1.10.12; 1.10.14;

More sets list sorting (maybe this time they're really all done)
 1.9 19-Oct-2016  skrll PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel

Updated from the original patch in the PR by me.
 1.8 03-Dec-2015  pgoyette branches: 1.8.2;
Split out the SYSV IPC stuff into its own compat_netbsd32_sysvipc
module. Adjust dependencies as needed.
 1.7 01-Dec-2015  pgoyette Add new compat_netbsd32_mqueue module to sets lists.
 1.6 01-Dec-2015  pgoyette Finish up with the new compat_netbsd32_nfssrv module by adding it to
the sets lists.

This set of commits together should address PRs kern/50410 and kern/50486.

This is also the first of several new modules to be created in response to
PR kern/50489
 1.5 09-Jul-2015  matt Add nocompatmodules keyword to stop the expanding of a kmod to compatmodules.
Use for compat_netbsd32 on mips
 1.4 09-May-2015  matt Add compat_netbsd32.kmod if arch64
 1.3 10-Aug-2014  bad Build ubsec module only for i386 and amd64 and punt on the other arches.
 1.2 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.1 30-Apr-2013  matt branches: 1.1.4; 1.1.10;
Collapse all the ad.mips* set lists into a single ad.mips which works for
all variations of mips{,64}e{b,l}
 1.1.10.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.10.1 30-Apr-2013  yamt file ad.mips was added on branch yamt-pagecache on 2014-05-22 12:01:33 +0000
 1.1.4.2 23-Jun-2013  tls resync from head
 1.1.4.1 30-Apr-2013  tls file ad.mips was added on branch tls-maxphys on 2013-06-23 06:26:19 +0000
 1.8.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.8.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.10.14.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10.14.1 10-Jun-2019  christos Sync with HEAD
 1.10.12.9 27-Sep-2018  pgoyette Mark the module's parent directory appropriately, too
 1.10.12.8 27-Sep-2018  pgoyette Properly tag for mips64 so we don't look for (and not find it) on 32-bit
 1.10.12.7 23-Sep-2018  pgoyette Reenable the compat_netbsd32 module. It is _NOT_ an all-version monolithic
module (as was compat_netbsd).
 1.10.12.6 22-Sep-2018  pgoyette Mark the old compat_netbsd32 module as obsolete - it is replaced by the
new version-specific modules
 1.10.12.5 12-Sep-2018  pgoyette Split compat_netbsd32_sysvipc into version-specific modules
 1.10.12.4 12-Sep-2018  pgoyette Add new compat_netbsd32_16 module to sets
 1.10.12.3 11-Sep-2018  pgoyette More fixing of placement of version number in module name
 1.10.12.2 11-Sep-2018  pgoyette Fix module names - the version info comes prior to the .kmod suffix!
 1.10.12.1 10-Sep-2018  pgoyette Update for removal of monolithic compat modules, and for introduction
of version-specific compat_netbsd32_xx modules
 1.17.4.1 31-May-2021  cjep sync with head
 1.19.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 30-Apr-2013  matt Collapse all the ad.mips* set lists into a single ad.mips which works for
all variations of mips{,64}e{b,l}
 1.1 15-Dec-2009  mrg branches: 1.1.6; 1.1.12;
update mips64* sets for reality, and fix a couple of newly introduced
issues with sparc64 and amd64.
 1.1.12.1 23-Jun-2013  tls resync from head
 1.1.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 30-Apr-2013  matt Collapse all the ad.mips* set lists into a single ad.mips which works for
all variations of mips{,64}e{b,l}
 1.1 15-Dec-2009  mrg branches: 1.1.6; 1.1.12;
update mips64* sets for reality, and fix a couple of newly introduced
issues with sparc64 and amd64.
 1.1.12.1 23-Jun-2013  tls resync from head
 1.1.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 30-Apr-2013  matt Collapse all the ad.mips* set lists into a single ad.mips which works for
all variations of mips{,64}e{b,l}
 1.1 07-Sep-2009  jnemeth branches: 1.1.6; 1.1.12;
Create a modules.tgz set and move kernel modules into it.
 1.1.12.1 23-Jun-2013  tls resync from head
 1.1.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 30-Apr-2013  matt Collapse all the ad.mips* set lists into a single ad.mips which works for
all variations of mips{,64}e{b,l}
 1.1 07-Sep-2009  jnemeth branches: 1.1.6; 1.1.12;
Create a modules.tgz set and move kernel modules into it.
 1.1.12.1 23-Jun-2013  tls resync from head
 1.1.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.2 11-Feb-2020  uki branches: 1.2.12;
PR misc/46937: add modules package, from Lloyd Parkes.
 1.1 07-Sep-2009  jnemeth branches: 1.1.48;
Create a modules.tgz set and move kernel modules into it.
 1.1.48.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.12.1 02-Aug-2025  perseant Sync with HEAD
 1.2 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.1 07-May-2023  skrll branches: 1.1.2;
RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.1.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.1 07-May-2023  skrll branches: 1.1.2;
RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.1.2.1 02-Aug-2025  perseant Sync with HEAD
 1.3 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.2 11-Feb-2020  uki branches: 1.2.12;
PR misc/46937: add modules package, from Lloyd Parkes.
 1.1 07-Sep-2009  jnemeth branches: 1.1.48;
Create a modules.tgz set and move kernel modules into it.
 1.1.48.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.12.1 02-Aug-2025  perseant Sync with HEAD
 1.7 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.6 11-Feb-2020  uki branches: 1.6.12;
PR misc/46937: add modules package, from Lloyd Parkes.
 1.5 27-Sep-2016  pgoyette branches: 1.5.14;
For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
 1.4 27-Sep-2016  pgoyette Update sets lists for all the new modules (for l4(4) and its attachments)
 1.3 10-Aug-2014  bad branches: 1.3.6;
Build ubsec module only for i386 and amd64 and punt on the other arches.
 1.2 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.1 07-Sep-2009  jnemeth Create a modules.tgz set and move kernel modules into it.
 1.3.6.1 04-Nov-2016  pgoyette Sync with HEAD
 1.5.14.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.12.1 02-Aug-2025  perseant Sync with HEAD
 1.103 26-Aug-2024  riastradh acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.

TBD: Add to all ACPI-supporting GENERIC kernels.

PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
 1.102 21-Mar-2024  riastradh branches: 1.102.2;
acpihed(4): New driver for PNP0C33 to notify apei(4).

PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.

PR kern/58046
 1.101 20-Mar-2024  riastradh apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.

PR kern/58046
 1.100 09-Aug-2023  andvar viadrmums(4): build legacy VIA DRM UMS driver module for amd64.

This driver is not built-in by default, thus loadable module can help (un)lucky
owners of 64-bit capable VIA (Nano/Eden) systems or early AMD/Intel systems
with some VIA chipsets, which include VIA integrated graphics.
I also boldly added product IDs for few later models from VX8xx/VX9xx chipsets
without 3D support (DX9_0) to "expand" the driver support to more systems.
Tested successfully basic functionality on VX800, and partially successfully
on VX900 (on VX900 Xorg failed to initialize due to openchrome related issues,
viadrmums attaches and it is by used the driver).
Didn't test on VX855, I don't have one.

Pull up to netbsd-10 is needed.
 1.99 20-Dec-2022  pgoyette Missed the compat_netbsd32_100 stuff in previous commit
 1.98 07-Sep-2022  martin branches: 1.98.2;
Comment out emuxki here for now - I don't think they belong here and
something else(tm) is wrong with the setup anyway, so better fix the build
for now and leave cleanup to somebody else.
 1.97 07-Sep-2022  khorben emuxki(4): allow building as a module

Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870)

Note that this required setting outputs.master to the maximum value
allowed (255) to get sound out, and then cranking the volume pretty
high.

Additional sound cards sponsored by the NetBSD Foundation; thanks!
 1.96 05-Aug-2022  riastradh i915: Restore non-obsolete set list entries.
 1.95 28-Jul-2022  riastradh drm: Hook up the drmkms modules to the build.
 1.94 27-Jul-2022  maya Enable amdgpu module & firmware on x86

Make it easier to test this one out, add `load amdgpu` before boot netbsd.

XXX there should probably be a drm block in sys/modules/Makefile which
includes aarch64.
 1.93 25-Sep-2021  maya Disable drmkms module builds.

They haven't been functional (and won't be before fixing genfb abi).
In a new drm update, we haven't prioritized fixing the build either.
 1.92 25-Mar-2021  nia don't restrict pad module to i386 and amd64.

- module build tested on amiga, vax, i386, amd64, evbarm.
- build.sh release tested on i386.
- pad module functionality tested on aarch64.
 1.91 01-Nov-2020  pgoyette branches: 1.91.2;
Update sets lists for new compat_netbsd32_coredump module
 1.90 26-Sep-2020  jmcneill Add HAVE_NVMM and use it to control the build of NVMM related components.
Defined to "yes" on amd64, "no" everywhere else.
 1.89 08-Sep-2020  yamaguchi Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o
 1.88 27-Aug-2020  riastradh Sort and deduplicate set lists.
 1.87 04-Jul-2020  chs the x86 xen and non-xen modules are identical,
so remove the unneeded extra copies.
Xen kernels now use the same modules as native kernels.
 1.86 12-Mar-2020  pgoyette Add new netbsd32 quota modules to sets lists
 1.85 29-Feb-2020  skrll if_ixl is MD
 1.84 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.83 09-Feb-2020  jmcneill Retire azalia(4).
 1.82 04-Dec-2019  jmcneill Move dtrace_syscall_linux out of mi set list
 1.81 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.80 03-Feb-2019  pgoyette branches: 1.80.2;
Update sets lists for new compat_netbsd32_raid module
 1.79 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.78 07-Nov-2018  maxv Add NVMM - for NetBSD Virtual Machine Monitor -, a kernel driver that
provides support for hardware-accelerated virtualization on NetBSD.

It is made of an MI frontend, to which MD backends can be plugged. One
MD backend is implemented, x86-SVM, for x86 AMD CPUs.

We install

/usr/include/dev/nvmm/nvmm.h
/usr/include/dev/nvmm/nvmm_ioctl.h
/usr/include/dev/nvmm/{arch}/nvmm_{arch}.h

And the kernel module. For now, the only architecture where we do that
is amd64 (arch=x86).

NVMM is not enabled by default in amd64-GENERIC, but is instead easily
modloadable.

Sent to tech-kern@ a month ago. Validated with kASan, and optimized
with tprof.
 1.77 28-Aug-2018  martin Add drmkms_agp module
 1.76 24-Jul-2018  maxv Merge the tprof_pmi and tprof_amdpmi modules into a single tprof_x86
module.
 1.75 26-Feb-2018  pgoyette branches: 1.75.2; 1.75.4;
Update sets lists for new modular ichsmb(4)
 1.74 25-Feb-2018  pgoyette Update for newly added imcsmb driver modules.
 1.73 25-Jan-2018  pgoyette Update sets lists for new amdsmn(4) and amdzentemp(4) modules
 1.72 15-Dec-2016  kre branches: 1.72.6;

More sets list sorting (maybe this time they're really all done)
 1.71 15-Dec-2016  pgoyette Update for the new "universal" spkr module.

Note that entries in the md.i386 and md.amd64 lists are actually deleted
(rather than being marked "obsolete" as directed in the comments). This
is OK, since there is now a new module in the mi list to replace them.
 1.70 19-Oct-2016  skrll PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel

Updated from the original patch in the PR by me.
 1.69 27-Sep-2016  pgoyette For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
 1.68 27-Sep-2016  pgoyette Update sets lists for all the new modules (for l4(4) and its attachments)
 1.67 17-Sep-2016  pgoyette Fix sets lists for nvme module. Since it is being built only for the
i386 and amd64 platforms, the entries belong in the md.xxx lists, not
in the mi list.
 1.66 03-Dec-2015  pgoyette branches: 1.66.2;
Split out the SYSV IPC stuff into its own compat_netbsd32_sysvipc
module. Adjust dependencies as needed.
 1.65 01-Dec-2015  pgoyette Add new compat_netbsd32_mqueue module to sets lists.
 1.64 01-Dec-2015  pgoyette Finish up with the new compat_netbsd32_nfssrv module by adding it to
the sets lists.

This set of commits together should address PRs kern/50410 and kern/50486.

This is also the first of several new modules to be created in response to
PR kern/50489
 1.63 22-Jun-2015  matt Update some of the set lists to use the compatdir/compatfile
compattestsdir/compattestsfile as well the kmod auto-entry creation.
Remove entries that are now instantiated by the above.
 1.62 17-May-2015  pgoyette Add spkr(4) module to the sets lists.
 1.61 13-May-2015  pgoyette Update sets lists for new sysv_ipc module
 1.60 10-May-2015  pgoyette Update sets lists for new compat_sysv module.
 1.59 03-May-2015  pgoyette Include the new tco module on i386 and amd64 builds
 1.58 23-Apr-2015  pgoyette Update sets lists for new sysmon modules
 1.57 18-Apr-2015  pgoyette Update sets lists for new swwdog module
 1.56 28-Mar-2015  jmcneill Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.
 1.55 09-Mar-2015  riastradh Add missing entries for dtrace modules to set lists.
 1.54 08-Mar-2015  christos add dtrace syscall linux32
 1.53 08-Mar-2015  christos change dtrace_foo_syscall -> dtrace_syscall_foo
 1.52 07-Mar-2015  christos Add dtrace syscalls
 1.51 07-Mar-2015  jmcneill i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.50 11-Dec-2014  riastradh Fix some tags on set lists related to zfs, solaris, lvm, mdns, xen.
 1.49 16-Nov-2014  riastradh Tag the Xen iSCSI modules with `iscsi' in the md.x86 lists.
 1.48 12-Nov-2014  enami Add compatmodules keyword so that build.sh -V MKCOMPATMODULES=no won't fail.
 1.47 11-Nov-2014  nonaka fix drmkms module path for xen.
 1.46 10-Nov-2014  christos add the drmkms modules
 1.45 19-Sep-2014  christos Add hdaudioverbose
 1.44 18-Sep-2014  wiz Per the wiki roadmap, rename the three dtrace modules to have
a "dtrace_" prefix.
amd64 build tested, other set list changes done the same way.
 1.43 22-Aug-2014  apb sort
 1.42 14-Aug-2014  riastradh Add dtrace modules to amd64-xen module set list. Hi jnemeth!
 1.41 11-Aug-2014  jnemeth branches: 1.41.2;
remove debug cruft, the example module is not normally built
 1.40 11-Aug-2014  jnemeth Add the infrastructure for MODULAR support for Xen kernels. At
the moment, this can only load very simple modules due to missing
symbols. It is being add at this time to make pullups to the
netbsd-7 branch easier. It is not enabled by default in any kernels.
 1.39 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.38 17-Nov-2013  alnsn Build and install sljit.kmod and bpfjit.kmod iff ${MKSLJIT} != "no".
 1.37 11-Aug-2013  joerg Sort entries in strcmp order.
 1.36 27-Oct-2012  alnsn Add bpfjit and enable it for amd64.
 1.35 13-Oct-2012  alnsn Enable sljit in amd64 kernel and modules.
 1.34 06-Aug-2012  martin branches: 1.34.2;
The hdaudio and hdafg modules are not MI (they at least require PCI)
 1.33 30-Jun-2012  reinoud Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
 1.32 17-Jan-2012  jakllsch Add lm, lm_isa_common, lm_isa, lm_wbsio and wbsio modules to the x86 build.
 1.31 18-Oct-2011  jmcneill branches: 1.31.2;
add & enable vmt module
 1.30 29-Aug-2011  jruoho Add Zarlink ZL10353 DVB demodulator (or as it is now know, Intel CE623x).
 1.29 11-Aug-2011  mbalmer pwdog is not mi, but it only in the lists we build it for.
 1.28 09-Aug-2011  jruoho Build acpiwdrt(4) as a module on x86.
 1.27 09-Aug-2011  jmcneill include cx24227, lg3303, mt2131, nxt2k, tvpll, xc3028, coram, cxdtv, and emdtv
modules in x86 build
 1.26 09-Aug-2011  jruoho As wmieeepc(4) was added to amd64 GENERIC, build it also as a amd64 module.
 1.25 31-Jul-2011  jmcneill build and install finsio module on i386 and amd64
 1.24 29-Jul-2011  jmcneill build and install itesio module on i386 and amd64
 1.23 13-Jul-2011  jruoho A driver for HP 3D DriverGuard; a LIS3LV02DL-based accelerometer. Tested on
HP NC4400. Like aps(4), this is commented out in the GENERIC kernels.
 1.22 15-Jun-2011  jruoho Modularize hpet(4). Works nicely with the multiple bus locations.
 1.21 15-Jun-2011  jruoho Modularize amdtemp(4).
 1.20 14-Apr-2011  yamt branches: 1.20.2;
re-enable tprof_amdpmi
 1.19 04-Mar-2011  jruoho Add module build glue for odcm(4).
 1.18 24-Feb-2011  jruoho Add build glue for powernow(4).
 1.17 23-Feb-2011  jruoho Build glue for est(4).
 1.16 20-Feb-2011  jruoho Add build glue for coretemp(4).
 1.15 20-Feb-2011  jruoho Build fujbp(4), fujhk(4), and wmieeepc(4) as modules.
 1.14 05-Feb-2011  christos not there yet.
 1.13 05-Feb-2011  yamt build tprof_amdpmi
 1.12 16-Jan-2011  jmcneill branches: 1.12.2;
build and install aps module on i386 and amd64
 1.11 09-Jan-2011  jruoho Add a dummy-driver for ACPI fans.
 1.10 05-Jan-2011  jruoho Add build files for acpipmtr(4) module.
 1.9 29-Dec-2010  jmcneill some platforms don't have bus_dma, so only build these modules on x86
 1.8 26-Oct-2010  jruoho Build asus(x) and hpqlb(4) as modules on x86.
 1.7 25-Oct-2010  jruoho Update for new ACPI modules.
 1.6 25-Oct-2010  jruoho Build acpiacad(4), acpibat(4), acpibut(4), acpicpu(4), acpilid(4), and
thinkpad(4) as modules on x86. More to come later.
 1.5 24-Oct-2010  jmcneill build acpiwmi as a module on x86
 1.4 24-Oct-2010  jmcneill build wmi drivers as modules on x86
 1.3 31-May-2010  pgoyette Extract ACPIVERBOSE into a kernel module. The module can be builtin
by defining 'options ACPIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.

ACPIVERBOSE also includes code to dump acpi/wmi data.
 1.2 09-Apr-2010  ahoka Connect the pad(4) kernel module to the build on i386 and amd64.
 1.1 07-Sep-2009  jnemeth Create a modules.tgz set and move kernel modules into it.
 1.12.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.12.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.20.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.31.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.31.2.2 30-Oct-2012  yamt sync with head
 1.31.2.1 17-Apr-2012  yamt sync with head
 1.34.2.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.34.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.41.2.4 31-Oct-2019  martin Fix set lists for ticket #1710
 1.41.2.3 21-Mar-2015  snj branches: 1.41.2.3.2; 1.41.2.3.6;
Pull up following revision(s) (requested by jmcneill in ticket #634):
distrib/sets/lists/modules/md.amd64: revision 1.51
distrib/sets/lists/modules/md.evbppc.powerpc: revision 1.5
distrib/sets/lists/modules/md.i386: revision 1.55
distrib/sets/lists/modules/mi: revision 1.71
sys/dev/i2c/au8522.c: revision 1.7
sys/dev/i2c/cx24227.c: revision 1.7
sys/dev/i2c/dbcool.c: revision 1.42
sys/dev/i2c/hytp14.c: revision 1.3
sys/dev/i2c/i2c_exec.c: revision 1.10
sys/dev/i2c/lg3303.c: revision 1.9
sys/dev/i2c/mt2131.c: revision 1.5
sys/dev/i2c/nxt2k.c: revision 1.4
sys/dev/i2c/sdtemp.c: revision 1.24
sys/dev/i2c/spdmem_i2c.c: revision 1.10
sys/dev/i2c/tvpll.c: revision 1.6
sys/dev/i2c/xc3028.c: revision 1.7
sys/dev/i2c/xc5k.c: revision 1.6
sys/dev/i2c/zl10353.c: revision 1.4
sys/modules/Makefile: revision 1.143
sys/modules/i2cexec/Makefile: revision 1.1
i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.
A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.41.2.2 11-Jan-2015  snj Pull up following revision(s) (requested by chs in ticket #401):
distrib/sets/lists/modules/md.amd64: revisions 1.46, 1.47 via patch
distrib/sets/lists/modules/md.i386: revisions 1.49, 1.50
sys/dev/ic/pcdisplayvar.h: revision 1.20
sys/dev/ic/vgavar.h: revision 1.32
sys/external/bsd/drm/dist/bsd-core/drm_drv.c: revision 1.26
sys/external/bsd/drm2/dist/drm/drm_agpsupport.c: revisions 1.5, 1.6
sys/external/bsd/drm2/dist/drm/drm_pci.c: revisions 1.4, 1.5
sys/external/bsd/drm2/dist/drm/drm_stub.c: revisions 1.6-1.8
sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: revision 1.11
sys/external/bsd/drm2/dist/drm/radeon/cik.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/ni.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/si.c: revision 1.3
sys/external/bsd/drm2/dist/include/drm/drmP.h: revisions 1.8, 1.9
sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h: revisions 1.3, 1.4
sys/external/bsd/drm2/drm/drm_drv.c: revision 1.11
sys/external/bsd/drm2/drm/drm_module.c: revision 1.9
sys/external/bsd/drm2/drm/drm_sysctl.c: revisions 1.1-1.4
sys/external/bsd/drm2/drm/drm_vm.c: revision 1.7
sys/external/bsd/drm2/drm/files.drmkms: revisions 1.8, 1.9
sys/external/bsd/drm2/i915drm/files.i915drmkms: revision 1.9
sys/external/bsd/drm2/i915drm/i915_module.c: revisions 1.4, 1.5
sys/external/bsd/drm2/include/drm/drm_sysctl.h: revisions 1.1, 1.2
sys/external/bsd/drm2/include/linux/hdmi.h: revisions 1.3-1.5
sys/external/bsd/drm2/include/linux/module.h: revision 1.5
sys/external/bsd/drm2/include/linux/moduleparam.h: revisions 1.3, 1.4
sys/external/bsd/drm2/include/linux/pci.h: revision 1.11
sys/external/bsd/drm2/linux/linux_module.c: revision 1.5
sys/external/bsd/drm2/nouveau/files.nouveau: revision 1.4
sys/external/bsd/drm2/nouveau/nouveau_module.c: revision 1.3
sys/external/bsd/drm2/pci/drm_pci.c: revision 1.8
sys/external/bsd/drm2/pci/drm_pci_module.c: revision 1.3
sys/external/bsd/drm2/radeon/radeon_module.c: revision 1.3
sys/external/bsd/drm2/ttm/files.ttm: revision 1.1
sys/modules/drm2pci/Makefile: file removal
sys/modules/drmkms/Makefile: revisions 1.4-1.7
sys/modules/drmkms_linux/Makefile: revision 1.5
sys/modules/drmkms_pci/Makefile: revisions 1.3, 1.4
sys/modules/i915drmkms/Makefile: revisions 1.5-1.7
Split drm ttm config into a separate file.
--
Fix module build of drmkms_linux.
--
Remove vestigial drm2pci module, replaced by drmkms_pci.
--
fix the module class.
--
add the drmkms modules
--
make a drm_agp_destroy() function to resolve the circular dependency between
drmkms and drmkms_pci
--
finalize the idr code.
--
add drm_agp_destroy
--
fix drmkms module path for xen.
--
fix build failure.
/tmp/bracket/build/2014.11.10.22.43.46-i386/src/sys/external/bsd/drm2/include/linux/pci.h:36:20: fatal error: acpica.h: No such file or directory
--
make this work: add agpsupport and sysctl code
--
move agpsupport to drmkms to avoid circular dependencies.
--
turn on dynamic ldscript creation to handle link set symbol definitions
used in the automatic sysctl creation.
--
Add __link_set based code to automatically convert the linux module parameters
into sysctls.
--
this module needs MKLDSCRIPT too now
--
more _KERNEL_OPT
--
prettify and add to all the modules that have it.
--
fix description setting.
--
Adjust flags to allow building with clang.
--
Fix build with clang.
--
Drop casts in favour of expressions that actually give the right
pointer.
--
Move all PCI/AGP code back to drmkms_pci module where it belongs.
--
Use correct length for hdmi_infoframe_header_pack in <linux/hdmi.h>.
Fixes PR kern/49411.
--
Back out previous, fix PR kern/49411 correctly.
frame->header.length is not initialized in the vendor packet case.
Instead, make hdmi_infoframe_header_pack take the packet length and
subtract the size of the header when packing the header.
(Could make it take the payload length instead, but for callers it is
more convenient to have a name for the whole packet length.)
--
Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411).
--
Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to
avoid -Werror.
OK christos@ and riastradh@
--
fix debugging compilation (ALL kernel)
--
nouveau_nv50_fence.c needs -Wno-shadow.
--
fix a confusion between dev_t and devmajor_t, and include the primary
minor when calling makedev().
 1.41.2.1 15-Aug-2014  martin Pull up following revision(s) (requested by riastradh in ticket #21):
distrib/sets/lists/modules/md.amd64: revision 1.42
Add dtrace modules to amd64-xen module set list. Hi jnemeth!
 1.41.2.3.6.1 31-Oct-2019  martin Fix set lists for ticket #1710
 1.41.2.3.2.1 31-Oct-2019  martin Fix set lists for ticket #1710
 1.66.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.66.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.72.6.1 05-Feb-2018  martin Pull up following revision(s) (requested by pgoyette in ticket #524):

distrib/sets/lists/man/mi 1.1574
distrib/sets/lists/modules/md.amd64 1.73
distrib/sets/lists/modules/md.i386 1.76
share/man/man4/amdtemp.4 1.11
share/man/man4/man4.x86/Makefile 1.17
share/man/man4/man4.x86/amdsmn.4 1.1-1.3
share/man/man4/man4.x86/amdzentemp.4 1.1-1.6
sys/arch/amd64/conf/ALL 1.79,1.80
sys/arch/amd64/conf/GENERIC 1.482,1.484
sys/arch/amd64/conf/XEN3_DOM0 1.146,1.147
sys/arch/x86/pci/amdsmn.c 1.1-1.2
sys/arch/x86/pci/amdsmn.h 1.1
sys/arch/x86/pci/amdzentemp.c 1.1-1.7
sys/arch/x86/pci/files.pci 1.22,1.23
sys/modules/amdzentemp/amdzentemp.ioconf 1.2


Add amdzentemp from FreeBSD via Ian Clark.

man pages for amdsmn and amdzentemp.

Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS
section to document the fact that we don't yet handle the required temp
offset, nor do we expose the available thermal-trip value.

Add missing article 'a'

KNF: Put back the blank line following the empty variable declarations
Put back the variable declaration, too, and mark it __diagused
Otherwise a DIAGNOSTIC kernel will complain about the variable being
undeclared.

Correct placement of __diagused attribute.

Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4),
Create amdsmn(4) amd amdzentemp(4) modules for X86.
 1.75.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.75.4.1 10-Jun-2019  christos Sync with HEAD
 1.75.2.11 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.75.2.10 23-Sep-2018  pgoyette Reenable the compat_netbsd32 module. It is _NOT_ an all-version monolithic
module (as was compat_netbsd).
 1.75.2.9 23-Sep-2018  pgoyette Mark the correct module obsolete!
 1.75.2.8 22-Sep-2018  pgoyette Mark the old compat_netbsd32 module as obsolete - it is replaced by the
new version-specific modules
 1.75.2.7 12-Sep-2018  pgoyette Split compat_netbsd32_sysvipc into version-specific modules
 1.75.2.6 12-Sep-2018  pgoyette Add new compat_netbsd32_16 module to sets
 1.75.2.5 11-Sep-2018  pgoyette More fixing of placement of version number in module name
 1.75.2.4 11-Sep-2018  pgoyette Fix module names - the version info comes prior to the .kmod suffix!
 1.75.2.3 10-Sep-2018  pgoyette Update for removal of monolithic compat modules, and for introduction
of version-specific compat_netbsd32_xx modules
 1.75.2.2 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.75.2.1 28-Jul-2018  pgoyette Sync with HEAD
 1.80.2.1 09-Dec-2019  martin Pull up following revision(s) (requested by jmcneill in ticket #525):

external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
distrib/sets/lists/modules/md.i386: revision 1.83
share/mk/bsd.own.mk: revision 1.1168
usr.bin/mkubootimage/mkubootimage.c: revision 1.25
sys/modules/dtrace/Makefile: revision 1.7
usr.bin/mkubootimage/mkubootimage.c: revision 1.26
sys/modules/dtrace/Makefile: revision 1.8
external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
distrib/sets/lists/modules/mi: revision 1.128
sys/arch/aarch64/include/frame.h: revision 1.3
sys/arch/evbarm/conf/mk.generic64: revision 1.4
external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
sys/modules/cyclic/Makefile: revision 1.4
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
sys/arch/aarch64/aarch64/start.S: revision 1.3
sys/arch/aarch64/aarch64/trap.c: revision 1.22
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
distrib/sets/lists/modules/md.amd64: revision 1.82
usr.bin/mkubootimage/mkubootimage.1: revision 1.13
distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison
 1.91.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.98.2.3 09-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #939):

distrib/sets/lists/debug/module.md.amd64: revision 1.18
sys/modules/Makefile: revision 1.292
lib/libc/gen/arc4random.c: revision 1.34
lib/libc/gen/arc4random.c: revision 1.35
lib/libc/gen/arc4random.c: revision 1.36
lib/libc/gen/arc4random.c: revision 1.37
sys/kern/kern_entropy.c: revision 1.70
lib/libc/gen/arc4random.c: revision 1.38
sys/kern/kern_entropy.c: revision 1.71
lib/libc/gen/getentropy.3: revision 1.8
distrib/sets/lists/modules/md.amd64: revision 1.103
share/man/man4/rnd.4: revision 1.42
share/man/man4/rnd.4: revision 1.44
lib/libc/include/arc4random.h: revision 1.1
distrib/sets/lists/man/mi: revision 1.1786
sys/arch/i386/conf/GENERIC: revision 1.1258
sys/modules/acpivmgenid/acpivmgenid.ioconf: revision 1.1
sys/arch/amd64/conf/ALL: revision 1.190
distrib/sets/lists/debug/mi: revision 1.446
sys/arch/i386/conf/ALL: revision 1.521
lib/libc/gen/Makefile.inc: revision 1.219
distrib/sets/lists/debug/module.md.i386: revision 1.12
sys/dev/acpi/acpi_vmgenid.c: revision 1.1
sys/dev/acpi/acpi_vmgenid.c: revision 1.2
lib/libc/include/reentrant.h: revision 1.22
sys/arch/evbarm/conf/GENERIC64: revision 1.219
share/man/man4/Makefile: revision 1.735
distrib/sets/lists/modules/md.i386: revision 1.100
distrib/sets/lists/tests/mi: revision 1.1334
lib/libc/gen/arc4random.3: revision 1.22
sys/dev/acpi/files.acpi: revision 1.133
lib/libc/gen/arc4random.3: revision 1.23
tests/lib/libc/gen/t_arc4random.c: revision 1.1
sys/sys/entropy.h: revision 1.6
sys/arch/amd64/conf/GENERIC: revision 1.614
sys/modules/acpivmgenid/Makefile: revision 1.1
share/man/man4/acpivmgenid.4: revision 1.1
lib/libc/gen/Makefile.inc: revision 1.220
tests/lib/libc/gen/Makefile: revision 1.56
share/man/man4/acpivmgenid.4: revision 1.2
share/man/man4/acpivmgenid.4: revision 1.3

(all via patch)

Catch up with all the lint warnings since exit on warning was disabled.

Disable 'missing header declaration' and 'nested extern' warnings for now.
acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.
TBD: Add to all ACPI-supporting GENERIC kernels.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Factor out subroutines to reset and gather entropy.
`Reset' means we keep the data in the pool, but assume it had zero
entropy. `Gather' means we request samples from all on-demand
sources and wait for the synchronous ones to complete.

No functional change intended, other than to expose new symbols --
just preparation to expose these to acpivmgenid(4), so it can use
these when the VM host notifies us that we, the guest, have been
cloned.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Reset and gather entropy on VM clone notification.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Reseed if system entropy epoch changes.
This can happen, for example, if the system is a VM instance, and the
VM is cloned.

This incurs the cost of a system call on every arc4random call, which
is unfortunate, but
1. we don't currently have a (machine-independent) mechanism for
exposing a read-only page to userland shared by the kernel to
enable a cheaper access path to the entropy epoch; and
2. the algorithm here -- a simple application of ChaCha -- is likely
also a bottleneck and could be much cheaper by
(a) using sys/crypto/chacha for machine-dependent vectorized
ChaCha code, and
(b) filling a buffer (somewhere between a cipher block and a page)
in a batch at a time, instead of running ChaCha to generate
only 32 bytes at a time.
So although this might be a performance hit, the security benefit is
worthwhile and we have a clear path to do better than reversing the
performance hit later.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Nix BUGS that have been squashed.
Reference kern.entropy.epoch for the remaining bug (which is a
performance issue, not a security issue).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Allow unprivileged reads of sysctl kern.entropy.epoch.

Applications need this in order to know when to reseed. (We should
also expose it through a page shared read-only with userland for
cheaper access, but until we do, let's let applications get at it
through sysctl.)
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random.c: Fix test program.

This isn't wired up anywhere, but let's reduce the bitrot. It was
helpful in reminding me that kern.entropy.epoch was, for reasons I
can't remember, restricted to privileged access.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

amd64, evbarm, i386: Add acpivmgenid(4) to GENERIC.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

rnd(4): Document kern.entropy.epoch is unprivileged and elaborate.
Cross-reference acpivmgenid(4).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Note that arc4random respects kern.entropy.epoch.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
Add debug info for new acpivmgenid module

arc4random(3): Add automatic tests.

This verifies that:
- arc4random zeroes its state and reseeds itself on fork
- arc4random reseeds itself on entropy consolidation (e.g., VM clone)
- arc4random falls back to global state if it can't allocate local
state because address space limits cause mmap to fail

NOTE: This adds a new libc symbol __arc4random_global, but it's in
the reserved namespace and only used by t_arc4random, so no libc
minor bump.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

getentropy(3): Note intent to reseed on VM clone, and caveats.

Tidy markup and pacify some mandoc -Tlint complaints while here.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

Bump dates on man pages recently updated to mention VM clones.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Pacify some of lint's complaints.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random: suppress another lint warning
 1.98.2.2 09-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #936):

sys/dev/acpi/apei_einjvar.h: revision 1.1
sys/dev/acpi/apei_cper.h: revision 1.2
distrib/sets/lists/debug/module.md.i386: revision 1.9
sys/dev/acpi/apei_hest.c: revision 1.1
sys/modules/apei/Makefile: revision 1.1
sys/dev/acpi/apei_hest.c: revision 1.2
distrib/sets/lists/modules/md.amd64: revision 1.101
sys/dev/acpi/apei_hest.c: revision 1.3
distrib/sets/lists/modules/md.amd64: revision 1.102
sys/modules/apei/apei.ioconf: revision 1.1
sys/dev/acpi/apei_bert.c: revision 1.1
distrib/sets/lists/man/mi: revision 1.1785
sys/dev/acpi/apei_bertvar.h: revision 1.1
sys/dev/acpi/apei.c: revision 1.1
sys/dev/acpi/apei.c: revision 1.2
sys/dev/acpi/apei.c: revision 1.3
sys/modules/Makefile: revision 1.283
sys/modules/Makefile: revision 1.284
sys/dev/acpi/apei_reg.c: revision 1.1
sys/dev/acpi/apei_hestvar.h: revision 1.1
distrib/sets/lists/debug/module.md.i386: revision 1.10
sys/dev/acpi/apei_reg.c: revision 1.2
sys/dev/acpi/apei_reg.c: revision 1.3
sys/dev/acpi/apei_reg.h: revision 1.1
sys/dev/acpi/apei_reg.h: revision 1.2
sys/dev/acpi/apei_reg.h: revision 1.3
sys/dev/acpi/acpi_hed.c: revision 1.1
sys/dev/acpi/apei_einj.c: revision 1.1
sys/dev/acpi/apeivar.h: revision 1.1
sys/dev/acpi/apei_einj.c: revision 1.2
sys/dev/acpi/apei_einj.c: revision 1.3
sys/dev/acpi/apei_einj.c: revision 1.4
sys/dev/acpi/apei_einj.c: revision 1.5
share/man/man4/Makefile: revision 1.734
sys/dev/acpi/apei_einj.c: revision 1.6
sys/dev/acpi/apei_einj.c: revision 1.7
sys/dev/acpi/files.acpi: revision 1.131
sys/dev/acpi/files.acpi: revision 1.132
sys/dev/acpi/apei_interp.c: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.2
share/man/man4/acpihed.4: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.3
share/man/man4/acpihed.4: revision 1.2
distrib/sets/lists/modules/md.i386: revision 1.98
sys/dev/acpi/apei_mapreg.c: revision 1.2
sys/dev/acpi/apei_interp.h: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.4
distrib/sets/lists/modules/md.i386: revision 1.99
sys/modules/acpihed/Makefile: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.3
sys/dev/acpi/apei_interp.h: revision 1.2
sys/arch/amd64/conf/ALL: revision 1.185
sys/dev/acpi/apei_mapreg.h: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.4
sys/arch/amd64/conf/ALL: revision 1.186
sys/dev/acpi/apei_erstvar.h: revision 1.1
sys/dev/acpi/apei_erst.c: revision 1.1
sys/dev/acpi/apei_erst.c: revision 1.2
sys/dev/acpi/apei_erst.c: revision 1.3
sys/arch/i386/conf/ALL: revision 1.516
share/man/man4/apei.4: revision 1.1
sys/arch/i386/conf/ALL: revision 1.517
share/man/man4/apei.4: revision 1.2
distrib/sets/lists/debug/module.md.amd64: revision 1.15
sys/modules/acpihed/acpihed.ioconf: revision 1.1
sys/dev/acpi/apei_hed.h: revision 1.1
distrib/sets/lists/debug/module.md.amd64: revision 1.16
sys/dev/acpi/apei_cper.h: revision 1.1

(all via patch)

apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.
PR kern/58046

apei(4): Pacify -Wsign-compare.
Assert that the parsing made forward progress too while here.
PR kern/58046

apei(4): Tweak some comments about the APEI interpreter language.
No functional change intended.
PR kern/58046

apei(4): Fix parsing checks for TRIGGER_ERROR action table.
The TableSize is size of the header plus the body, not just the body.
PR kern/58046
apei(4): Note some TODOs for EINJ and HEST.
No functional change intended, comments only.
PR kern/58046

acpihed(4): New driver for PNP0C33 to notify apei(4).
PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.
PR kern/58046

acpihed(4): fix name in Dt, use Ql
apei(4): Plug memory leak on teardown of instruction interpreter.
PR kern/58046
apei(4): Fix indexing of multi-unit register access.
PR kern/58046

apei(4): Fix register chunk counting.
Now it will actually read and write the registers!
Have been updating and reloading the wrong module to test this, oops.
PR kern/58046

apei(4): Allow pre-mapping I/O registers too.
PR kern/58046

apei(4): Pre-map registers when compiling interpreter.
This way we don't have to worry about mapping them in nasty contexts
where access to uvm_km_alloc may not be allowed. Paves the way to
use ERST for saving dmesg on crash.
Exception: ACPI_ERST_MOVE_DATA still needs to do AcpiOsMapMemory.
We'll need to reserve a couple pages to avoid that.
PR kern/58046

apei(4): Simplify EINJ/ERST register access now that it's pre-mapped.
PR kern/58046
apei(4): Make sure to initialize *fatalp in apei_gesb_report.
PR kern/58046

apei: fix typos in comments

apei: fix typos in comments and snprintb bitfmt

apei(4): Fix uninitialized stack access in error branch.
PR kern/58046

apei(4), acpihed(4): Wire up man pages to build.
PR kern/58046: Missing APEI (ACPI Platform Error Interface) support
 1.98.2.1 17-Aug-2023  martin Pull up following revision(s) (requested by andvar in ticket #329):

distrib/sets/lists/modules/md.amd64: revision 1.100
sys/external/bsd/drm2/dist/include/drm/drm_pciids.h: revision 1.5
sys/arch/amd64/conf/GENERIC: revision 1.605
sys/modules/Makefile: revision 1.279
distrib/sets/lists/debug/module.md.amd64: revision 1.14

viadrmums(4): build legacy VIA DRM UMS driver module for amd64.

This driver is not built-in by default, thus loadable module can help (un)lucky
owners of 64-bit capable VIA (Nano/Eden) systems or early AMD/Intel systems
with some VIA chipsets, which include VIA integrated graphics.

I also boldly added product IDs for few later models from VX8xx/VX9xx chipsets
without 3D support (DX9_0) to "expand" the driver support to more systems.

Tested successfully basic functionality on VX800, and partially successfully
on VX900 (on VX900 Xorg failed to initialize due to openchrome related issues,
viadrmums attaches and it is by used the driver).

Didn't test on VX855, I don't have one.
 1.102.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 08-Sep-2020  yamaguchi Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o
 1.1 11-Mar-2020  skrll branches: 1.1.2;
Fixup the evbarm PCI modules
 1.1.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.2.1 11-Mar-2020  martin file md.evbarm was added on branch phil-wifi on 2020-04-08 14:03:54 +0000
 1.43 04-Mar-2014  martin Rename md.evbppc to md.evbppc-powerpc, to separate it from the evbppc64
one (which is nonexistant for now).
 1.42 25-Feb-2014  martin Fix obvious copy&pasto
 1.41 01-Jan-2014  pgoyette Re-sort, and update md.evbppc for new crypto modules
 1.40 30-Dec-2013  kiyohara Add ccd, cgd, dk_subr and zlib.
 1.39 17-Dec-2013  njoly Do not remove luacore entries, mark them as obsolete instead.
 1.38 16-Dec-2013  lneto renamed luacore to luasystm
 1.37 19-Nov-2013  kiyohara Add smsc to ibm4xx and booke.
 1.36 18-Nov-2013  bad ubsec is not a MI buildable module. disable it for now.
 1.35 17-Nov-2013  bad Make ubsec(4) loadable as kmod.
 1.34 29-Oct-2013  mbalmer add lua(4) related modules
 1.33 29-Oct-2013  riz Add the if_axen kmod to md.evbppc to unbreak the evbppc build.
 1.32 11-Aug-2013  joerg Sort entries in strcmp order.
 1.31 11-Mar-2013  christos more npf sets lossage.
 1.30 10-Mar-2013  christos add npflog module.
 1.29 10-Dec-2012  rmind Add NPF "rndblock" extension to randomly drop packets (using a random function
with a percentage or modulo operation). This is a demo module, although it can
be used for packet loss simulation. Example of a procedure in npf.conf:

procedure "somedrop" {
# Drop 1.9% of the traffic
rndblock: percentage 1.9
}
 1.28 21-Sep-2012  martin Fix npf module paths
 1.27 18-Sep-2012  martin npf extension modules for evbppc abi variants
 1.26 06-Aug-2012  martin branches: 1.26.2;
The hdaudio and hdafg modules are not MI (they at least require PCI)
 1.25 05-Aug-2012  riastradh Add hdaudio modules to the md.evbppc set list too.
 1.24 05-Aug-2012  riastradh Add uatp to the md.evbppc modules set list too.
 1.23 09-May-2012  martin Retry previous, but with proper path this time.
 1.22 08-May-2012  martin Add a few modules in booke/4xx compat lists - should fix the evbppc build.
 1.21 26-Apr-2012  he Add the sdtemp and dbcool modules for the non-default powerpc variants.
 1.20 26-Apr-2012  christos add vcoda module
 1.19 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.18 07-Dec-2011  he branches: 1.18.2;
Add the secmodel_extensions variants of the kernel modules.
 1.17 29-Nov-2011  he Add the chfs module for powerpc-4xx and powerpc-booke.
 1.16 16-Nov-2011  he Add the iscsi kernel module and directories for ibm4xx and booke variants.
Re-sort.
 1.15 06-Nov-2011  tron Add entries for "npf_alg_icmp" kernel module.
 1.14 06-Nov-2011  tron Add "npf" kernel module.
 1.13 29-Oct-2011  mrg branches: 1.13.2;
mark all these modules with "compatmodules" as evbppc64 doesn't want them.
 1.12 02-Oct-2011  mbalmer Build iic(4) and gpioiic(4) as modules.
 1.11 29-Sep-2011  sjg Add filemon to the modules we build.
 1.10 31-Aug-2011  mbalmer Link the gpioow(4) and onewire(4) modules to the build and add them to the
lists.
 1.9 12-Aug-2011  mbalmer gpio(4) and gpiosim(4) can now be built and used as modules. While here,
make some functions static.
 1.8 11-Aug-2011  mbalmer pwdog is not mi, but it only in the lists we build it for.
 1.7 11-Aug-2011  mbalmer Add the pwdog module to md.evbppc as well and take a note in mi that
module have to be added in md.evbppc as well (and why that is so).
 1.6 09-Aug-2011  jmcneill add dtv_math module
 1.5 03-Aug-2011  he Add the spdmem directory and kernel modules for booke and 4xx.
 1.4 20-Jul-2011  matt Add missing v7fs kmods for 4xx and booke
 1.3 19-Jul-2011  tron Add "v7fs" kernel module.
 1.2 15-Jul-2011  he Add the ibm4xx and booke modules for dtv.
 1.1 15-Jun-2011  mrg branches: 1.1.2;
build evbppc modules in 3 different flavours:

- oea (default)
- ibm4xx
- booke

this, together with earlier machine_module[] work, should allow evbppc
platforms to use modules.
 1.1.2.2 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.2.1 15-Jun-2011  cherry file md.evbppc was added on branch cherry-xenmp on 2011-06-23 14:18:23 +0000
 1.13.2.6 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.2.5 16-Jan-2013  yamt sync with (a bit old) head
 1.13.2.4 30-Oct-2012  yamt sync with head
 1.13.2.3 23-May-2012  yamt sync with head.
 1.13.2.2 17-Apr-2012  yamt sync with head
 1.13.2.1 10-Nov-2011  yamt sync with head
 1.18.2.2 15-Dec-2012  riz Pull up following revision(s) (requested by rmind in ticket #745):
distrib/sets/lists/comp/shl.mi: revision 1.241
distrib/sets/lists/modules/mi: revision 1.49
distrib/sets/lists/base/md.sparc64: revision 1.171
lib/npf/ext_rndblock/npfext_rndblock.c: revision 1.1
distrib/sets/lists/base/ad.mips64eb: revision 1.106
distrib/sets/lists/modules/md.evbppc: revision 1.29
sys/net/npf/npf_ext_rndblock.c: revision 1.1
lib/npf/Makefile: revision 1.2
sys/modules/npf_ext_rndblock/Makefile: revision 1.1
lib/npf/ext_rndblock/Makefile: revision 1.1
distrib/sets/lists/base/ad.mips64el: revision 1.106
lib/npf/ext_rndblock/shlib_version: revision 1.1
distrib/sets/lists/base/md.amd64: revision 1.182
distrib/sets/lists/base/shl.mi: revision 1.643
sys/net/npf/files.npf: revision 1.9
sys/modules/Makefile: revision 1.117
Add NPF &quot;rndblock&quot; extension to randomly drop packets (using a random function
with a percentage or modulo operation). This is a demo module, although it can
be used for packet loss simulation. Example of a procedure in npf.conf:
procedure &quot;somedrop&quot; {
# Drop 1.9% of the traffic
rndblock: percentage 1.9
}
 1.18.2.1 20-Nov-2012  riz Pull up following revision(s) (requested by rmind in ticket #678):
distrib/sets/lists/modules/md.evbppc: revision 1.27
distrib/sets/lists/modules/md.evbppc: revision 1.28

More fixes for ticket #678

npf extension modules for evbppc abi variants
Fix npf module paths
 1.26.2.4 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.26.2.3 23-Jun-2013  tls resync from head
 1.26.2.2 25-Feb-2013  tls resync with head
 1.26.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2 05-Mar-2014  martin It is md.${MACHINE}.${MACHINE_ARCH}
 1.1 04-Mar-2014  martin Rename md.evbppc to md.evbppc-powerpc, to separate it from the evbppc64
one (which is nonexistant for now).
 1.10 22-Jun-2015  matt No longer needed
 1.9 13-May-2015  pgoyette Update sets lists for new sysv_ipc module
 1.8 10-May-2015  pgoyette Update sets lists for new compat_sysv module.
 1.7 23-Apr-2015  pgoyette Update sets lists for new sysmon modules
 1.6 18-Apr-2015  pgoyette Update sets lists for new swwdog module
 1.5 07-Mar-2015  jmcneill i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.4 18-Sep-2014  wiz Per the wiki roadmap, rename the three dtrace modules to have
a "dtrace_" prefix.
amd64 build tested, other set list changes done the same way.
 1.3 18-May-2014  jakllsch branches: 1.3.2; 1.3.4; 1.3.6;
add hythygtemp module to set lists
 1.2 15-May-2014  apb sort
 1.1 05-Mar-2014  martin branches: 1.1.2;
It is md.${MACHINE}.${MACHINE_ARCH}
 1.1.2.1 10-Aug-2014  tls Rebase.
 1.3.6.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.6.1 18-May-2014  tls file md.evbppc.powerpc was added on branch tls-maxphys on 2014-08-19 23:45:44 +0000
 1.3.4.2 31-Oct-2019  martin Fix set lists for ticket #1710
 1.3.4.1 21-Mar-2015  snj branches: 1.3.4.1.2; 1.3.4.1.6;
Pull up following revision(s) (requested by jmcneill in ticket #634):
distrib/sets/lists/modules/md.amd64: revision 1.51
distrib/sets/lists/modules/md.evbppc.powerpc: revision 1.5
distrib/sets/lists/modules/md.i386: revision 1.55
distrib/sets/lists/modules/mi: revision 1.71
sys/dev/i2c/au8522.c: revision 1.7
sys/dev/i2c/cx24227.c: revision 1.7
sys/dev/i2c/dbcool.c: revision 1.42
sys/dev/i2c/hytp14.c: revision 1.3
sys/dev/i2c/i2c_exec.c: revision 1.10
sys/dev/i2c/lg3303.c: revision 1.9
sys/dev/i2c/mt2131.c: revision 1.5
sys/dev/i2c/nxt2k.c: revision 1.4
sys/dev/i2c/sdtemp.c: revision 1.24
sys/dev/i2c/spdmem_i2c.c: revision 1.10
sys/dev/i2c/tvpll.c: revision 1.6
sys/dev/i2c/xc3028.c: revision 1.7
sys/dev/i2c/xc5k.c: revision 1.6
sys/dev/i2c/zl10353.c: revision 1.4
sys/modules/Makefile: revision 1.143
sys/modules/i2cexec/Makefile: revision 1.1
i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.
A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.3.4.1.6.1 31-Oct-2019  martin Fix set lists for ticket #1710
 1.3.4.1.2.1 31-Oct-2019  martin Fix set lists for ticket #1710
 1.3.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.2.1 18-May-2014  yamt file md.evbppc.powerpc was added on branch yamt-pagecache on 2014-05-22 12:01:33 +0000
 1.9 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.8 04-Sep-2020  rillig branches: 1.8.10;
clean up file lists

- remove trailing whitespace
- remove empty line
- remove typo "htm\tl", that line is repeated
 1.7 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.6 15-Dec-2016  kre branches: 1.6.14;

More sets list sorting (maybe this time they're really all done)
 1.5 27-Sep-2016  pgoyette For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
 1.4 27-Sep-2016  pgoyette Update sets lists for all the new modules (for l4(4) and its attachments)
 1.3 10-Aug-2014  bad branches: 1.3.4; 1.3.8;
Build ubsec module only for i386 and amd64 and punt on the other arches.
 1.2 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.1 24-Feb-2014  skrll branches: 1.1.4;
Rename NetBSD/hp700 to NetBSD/hppa.

Unfortunately our VCS isn't very helpful here.
 1.1.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.1 24-Feb-2014  yamt file md.hppa was added on branch yamt-pagecache on 2014-05-22 12:01:33 +0000
 1.3.8.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.3.8.1 04-Nov-2016  pgoyette Sync with HEAD
 1.3.4.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.1 10-Aug-2014  tls file md.hppa was added on branch tls-maxphys on 2014-08-19 23:45:44 +0000
 1.6.14.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.8.10.1 02-Aug-2025  perseant Sync with HEAD
 1.100 26-Aug-2024  riastradh acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.

TBD: Add to all ACPI-supporting GENERIC kernels.

PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
 1.99 21-Mar-2024  riastradh branches: 1.99.2;
acpihed(4): New driver for PNP0C33 to notify apei(4).

PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.

PR kern/58046
 1.98 20-Mar-2024  riastradh apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.

PR kern/58046
 1.97 26-Dec-2023  pgoyette Unhook radeondrm module from the build; it doesn't work, and
it's just tempting someone to try it. Leave the files around
in case someone wants to pursue making this work.

Should address kern/57793

XXX Related modules from the same legacy era should probably be
XXX removed, too, but so far only radeondrm has been reported
XXX as an issue. Kep an eye out for sisdrm, savagedrm, tdfxdrm,
XXX and r128drm.
 1.96 07-Sep-2022  martin branches: 1.96.2;
Comment out emuxki here for now - I don't think they belong here and
something else(tm) is wrong with the setup anyway, so better fix the build
for now and leave cleanup to somebody else.
 1.95 07-Sep-2022  khorben emuxki(4): allow building as a module

Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870)

Note that this required setting outputs.master to the maximum value
allowed (255) to get sound out, and then cranking the volume pretty
high.

Additional sound cards sponsored by the NetBSD Foundation; thanks!
 1.94 05-Aug-2022  riastradh i915: Restore non-obsolete set list entries.
 1.93 28-Jul-2022  riastradh drm: Hook up the drmkms modules to the build.
 1.92 27-Jul-2022  maya Enable amdgpu module & firmware on x86

Make it easier to test this one out, add `load amdgpu` before boot netbsd.

XXX there should probably be a drm block in sys/modules/Makefile which
includes aarch64.
 1.91 25-Sep-2021  maya Disable drmkms module builds.

They haven't been functional (and won't be before fixing genfb abi).
In a new drm update, we haven't prioritized fixing the build either.
 1.90 25-Mar-2021  nia don't restrict pad module to i386 and amd64.

- module build tested on amiga, vax, i386, amd64, evbarm.
- build.sh release tested on i386.
- pad module functionality tested on aarch64.
 1.89 08-Sep-2020  yamaguchi branches: 1.89.2;
Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o
 1.88 27-Aug-2020  riastradh Sort and deduplicate set lists.
 1.87 04-Jul-2020  chs the x86 xen and non-xen modules are identical,
so remove the unneeded extra copies.
Xen kernels now use the same modules as native kernels.
 1.86 29-Feb-2020  skrll if_ixl is MD
 1.85 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.84 09-Feb-2020  jmcneill Retire azalia(4).
 1.83 04-Dec-2019  jmcneill Move dtrace_syscall_linux out of mi set list
 1.82 19-Sep-2018  maxv branches: 1.82.2;
Don't build the module sets for non-pae-32bit-pv. Noted by John D. Baker
on port-i386@, thanks.
 1.81 28-Aug-2018  martin Add drmkms_agp module
 1.80 24-Jul-2018  maxv Merge the tprof_pmi and tprof_amdpmi modules into a single tprof_x86
module.
 1.79 10-Jul-2018  maya Remove viadrm(4), superseded by viadrmums.

Aside from viadrm using older drm code, it's also dysfunctional right now.
See PR port-i386/53364.
 1.78 26-Feb-2018  pgoyette branches: 1.78.2; 1.78.4;
Update sets lists for new modular ichsmb(4)
 1.77 25-Feb-2018  pgoyette Update for newly added imcsmb driver modules.
 1.76 25-Jan-2018  pgoyette Update sets lists for new amdsmn(4) and amdzentemp(4) modules
 1.75 09-Aug-2017  maxv Remove compat_ibcs2 from i386. After a discussion on port-vax, it turns
out that compat_ibcs2 does not implement the iBCS2 standard - which is
x86-specific - but rather SVR3. Our real iBCS2 implementation was a
mixture of compat_ibcs2 and compat_svr4, and was only partial. Keeping
support for this in i386 is totally irrelevant today. I also asked on
port-i386 but didn't wait long.

The main issue is that compat_ibcs2 should have been called compat_svr3.
But CVS does not support renaming files, and moving things around is both
painful and tiring, even more so when no one seems to be interested in
doing this work or in the feature at all. For now compat_ibcs2 is available
on Vax and will stay, until someone (not me) cleans it up.
 1.74 01-Aug-2017  maya Mark the compat_svr4 module obsolete.

hopefully fixes the build, this is a blind commit.
 1.73 15-Dec-2016  kre branches: 1.73.6;

More sets list sorting (maybe this time they're really all done)
 1.72 15-Dec-2016  pgoyette Update for the new "universal" spkr module.

Note that entries in the md.i386 and md.amd64 lists are actually deleted
(rather than being marked "obsolete" as directed in the comments). This
is OK, since there is now a new module in the mi list to replace them.
 1.71 27-Sep-2016  pgoyette For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
 1.70 27-Sep-2016  pgoyette Update sets lists for all the new modules (for l4(4) and its attachments)
 1.69 17-Sep-2016  pgoyette Fix sets lists for nvme module. Since it is being built only for the
i386 and amd64 platforms, the entries belong in the md.xxx lists, not
in the mi list.
 1.68 23-Jun-2015  matt branches: 1.68.2;
Remove compatmodules lines since they are now autogenerated
 1.67 17-May-2015  pgoyette Add spkr(4) module to the sets lists.
 1.66 13-May-2015  pgoyette Update sets lists for new sysv_ipc module
 1.65 10-May-2015  pgoyette Update sets lists for new compat_sysv module.
 1.64 03-May-2015  pgoyette Put the '/' back, but put it in the correct location!
 1.63 03-May-2015  pgoyette Fix typo, fix the build-break. One '/' is enough in path names.
 1.62 03-May-2015  pgoyette Include the new tco module on i386 and amd64 builds
 1.61 29-Apr-2015  riastradh Forgot to commit set list update for viadrmums.
 1.60 23-Apr-2015  pgoyette Update sets lists for new sysmon modules
 1.59 18-Apr-2015  pgoyette Update sets lists for new swwdog module
 1.58 28-Mar-2015  jmcneill Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.
 1.57 08-Mar-2015  christos change dtrace_foo_syscall -> dtrace_syscall_foo
 1.56 07-Mar-2015  christos Add dtrace syscalls
 1.55 07-Mar-2015  jmcneill i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.54 21-Feb-2015  ozaki-r Add missing dtrace modules to md.i386 set list
 1.53 21-Feb-2015  ozaki-r Add missing tags (zfs, solaris and lvm) to md.i386
 1.52 16-Nov-2014  riastradh Tag the Xen iSCSI modules with `iscsi' in the md.x86 lists.
 1.51 12-Nov-2014  enami Add compatmodules keyword so that build.sh -V MKCOMPATMODULES=no won't fail.
 1.50 11-Nov-2014  nonaka fix drmkms module path for xen.
 1.49 10-Nov-2014  christos add the drmkms modules
 1.48 19-Sep-2014  christos missed an hdaudio change.
 1.47 19-Sep-2014  christos Add hdaudioverbose
 1.46 11-Aug-2014  jnemeth branches: 1.46.2;
remove debug cruft, the example module is not normally built
 1.45 11-Aug-2014  jnemeth Add the infrastructure for MODULAR support for Xen kernels. At
the moment, this can only load very simple modules due to missing
symbols. It is being add at this time to make pullups to the
netbsd-7 branch easier. It is not enabled by default in any kernels.
 1.44 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.43 17-Nov-2013  alnsn Build and install sljit.kmod and bpfjit.kmod iff ${MKSLJIT} != "no".
 1.42 11-Aug-2013  joerg Sort entries in strcmp order.
 1.41 28-Oct-2012  alnsn Build bpfjit on i386.
 1.40 06-Aug-2012  martin branches: 1.40.2;
The hdaudio and hdafg modules are not MI (they at least require PCI)
 1.39 30-Jun-2012  reinoud Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
 1.38 17-Jan-2012  jakllsch Add lm, lm_isa_common, lm_isa, lm_wbsio and wbsio modules to the x86 build.
 1.37 18-Oct-2011  jmcneill branches: 1.37.2;
add & enable vmt module
 1.36 29-Aug-2011  jruoho Add Zarlink ZL10353 DVB demodulator (or as it is now know, Intel CE623x).
 1.35 28-Aug-2011  jmcneill add mach64drm, mgadrm, r128drm, savagedrm, sisdrm, and tdfxdrm modules
 1.34 28-Aug-2011  jmcneill Split out ati_pcigart into a separate module so it can be shared with r128drm
 1.33 11-Aug-2011  mbalmer pwdog is not mi, but it only in the lists we build it for.
 1.32 09-Aug-2011  jruoho Build acpiwdrt(4) as a module on x86.
 1.31 09-Aug-2011  jmcneill include cx24227, lg3303, mt2131, nxt2k, tvpll, xc3028, coram, cxdtv, and emdtv
modules in x86 build
 1.30 31-Jul-2011  jmcneill build and install finsio module on i386 and amd64
 1.29 29-Jul-2011  jmcneill build and install itesio module on i386 and amd64
 1.28 15-Jul-2011  jmcneill add nsclpcsio module to i386 build
 1.27 13-Jul-2011  jruoho A driver for HP 3D DriverGuard; a LIS3LV02DL-based accelerometer. Tested on
HP NC4400. Like aps(4), this is commented out in the GENERIC kernels.
 1.26 15-Jun-2011  jruoho Modularize hpet(4). Works nicely with the multiple bus locations.
 1.25 15-Jun-2011  jruoho Modularize amdtemp(4).
 1.24 14-Apr-2011  yamt branches: 1.24.2;
re-enable tprof_amdpmi
 1.23 04-Mar-2011  jruoho Add module build glue for odcm(4).
 1.22 24-Feb-2011  jruoho Build glue for viac7temp(4).
 1.21 24-Feb-2011  jruoho Add build glue for powernow(4).
 1.20 23-Feb-2011  jruoho Build glue for est(4).
 1.19 20-Feb-2011  jruoho Add build glue for coretemp(4).
 1.18 20-Feb-2011  jruoho hpqlb(4) was accidentally removed in the previous commit. Put it back.
 1.17 20-Feb-2011  jruoho Build fujbp(4), fujhk(4), and wmieeepc(4) as modules.
 1.16 19-Feb-2011  jmcneill build padlock module on i386
 1.15 07-Feb-2011  pooka not here yet either (mirror amd64 commit)
 1.14 05-Feb-2011  yamt build tprof_amdpmi
 1.13 16-Jan-2011  jmcneill branches: 1.13.2;
build and install aps module on i386 and amd64
 1.12 09-Jan-2011  jruoho Add a dummy-driver for ACPI fans.
 1.11 05-Jan-2011  jruoho Add build files for acpipmtr(4) module.
 1.10 29-Dec-2010  jmcneill some platforms don't have bus_dma, so only build these modules on x86
 1.9 26-Oct-2010  jruoho Build asus(x) and hpqlb(4) as modules on x86.
 1.8 25-Oct-2010  jruoho Update for new ACPI modules.
 1.7 25-Oct-2010  jruoho Build acpiacad(4), acpibat(4), acpibut(4), acpicpu(4), acpilid(4), and
thinkpad(4) as modules on x86. More to come later.
 1.6 24-Oct-2010  jmcneill build acpiwmi as a module on x86
 1.5 24-Oct-2010  jmcneill build wmi drivers as modules on x86
 1.4 31-May-2010  pgoyette Extract ACPIVERBOSE into a kernel module. The module can be builtin
by defining 'options ACPIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.

ACPIVERBOSE also includes code to dump acpi/wmi data.
 1.3 09-Apr-2010  ahoka Connect the pad(4) kernel module to the build on i386 and amd64.
 1.2 27-Sep-2009  jmcneill enable viadrm kmod for i386
 1.1 07-Sep-2009  jnemeth Create a modules.tgz set and move kernel modules into it.
 1.13.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.13.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.24.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.37.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.37.2.2 30-Oct-2012  yamt sync with head
 1.37.2.1 17-Apr-2012  yamt sync with head
 1.40.2.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.40.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.46.2.3 31-Oct-2019  martin Fix set lists for ticket #1710
 1.46.2.2 21-Mar-2015  snj branches: 1.46.2.2.2; 1.46.2.2.6;
Pull up following revision(s) (requested by jmcneill in ticket #634):
distrib/sets/lists/modules/md.amd64: revision 1.51
distrib/sets/lists/modules/md.evbppc.powerpc: revision 1.5
distrib/sets/lists/modules/md.i386: revision 1.55
distrib/sets/lists/modules/mi: revision 1.71
sys/dev/i2c/au8522.c: revision 1.7
sys/dev/i2c/cx24227.c: revision 1.7
sys/dev/i2c/dbcool.c: revision 1.42
sys/dev/i2c/hytp14.c: revision 1.3
sys/dev/i2c/i2c_exec.c: revision 1.10
sys/dev/i2c/lg3303.c: revision 1.9
sys/dev/i2c/mt2131.c: revision 1.5
sys/dev/i2c/nxt2k.c: revision 1.4
sys/dev/i2c/sdtemp.c: revision 1.24
sys/dev/i2c/spdmem_i2c.c: revision 1.10
sys/dev/i2c/tvpll.c: revision 1.6
sys/dev/i2c/xc3028.c: revision 1.7
sys/dev/i2c/xc5k.c: revision 1.6
sys/dev/i2c/zl10353.c: revision 1.4
sys/modules/Makefile: revision 1.143
sys/modules/i2cexec/Makefile: revision 1.1
i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.
A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.46.2.1 11-Jan-2015  snj Pull up following revision(s) (requested by chs in ticket #401):
distrib/sets/lists/modules/md.amd64: revisions 1.46, 1.47 via patch
distrib/sets/lists/modules/md.i386: revisions 1.49, 1.50
sys/dev/ic/pcdisplayvar.h: revision 1.20
sys/dev/ic/vgavar.h: revision 1.32
sys/external/bsd/drm/dist/bsd-core/drm_drv.c: revision 1.26
sys/external/bsd/drm2/dist/drm/drm_agpsupport.c: revisions 1.5, 1.6
sys/external/bsd/drm2/dist/drm/drm_pci.c: revisions 1.4, 1.5
sys/external/bsd/drm2/dist/drm/drm_stub.c: revisions 1.6-1.8
sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: revision 1.11
sys/external/bsd/drm2/dist/drm/radeon/cik.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/ni.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/si.c: revision 1.3
sys/external/bsd/drm2/dist/include/drm/drmP.h: revisions 1.8, 1.9
sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h: revisions 1.3, 1.4
sys/external/bsd/drm2/drm/drm_drv.c: revision 1.11
sys/external/bsd/drm2/drm/drm_module.c: revision 1.9
sys/external/bsd/drm2/drm/drm_sysctl.c: revisions 1.1-1.4
sys/external/bsd/drm2/drm/drm_vm.c: revision 1.7
sys/external/bsd/drm2/drm/files.drmkms: revisions 1.8, 1.9
sys/external/bsd/drm2/i915drm/files.i915drmkms: revision 1.9
sys/external/bsd/drm2/i915drm/i915_module.c: revisions 1.4, 1.5
sys/external/bsd/drm2/include/drm/drm_sysctl.h: revisions 1.1, 1.2
sys/external/bsd/drm2/include/linux/hdmi.h: revisions 1.3-1.5
sys/external/bsd/drm2/include/linux/module.h: revision 1.5
sys/external/bsd/drm2/include/linux/moduleparam.h: revisions 1.3, 1.4
sys/external/bsd/drm2/include/linux/pci.h: revision 1.11
sys/external/bsd/drm2/linux/linux_module.c: revision 1.5
sys/external/bsd/drm2/nouveau/files.nouveau: revision 1.4
sys/external/bsd/drm2/nouveau/nouveau_module.c: revision 1.3
sys/external/bsd/drm2/pci/drm_pci.c: revision 1.8
sys/external/bsd/drm2/pci/drm_pci_module.c: revision 1.3
sys/external/bsd/drm2/radeon/radeon_module.c: revision 1.3
sys/external/bsd/drm2/ttm/files.ttm: revision 1.1
sys/modules/drm2pci/Makefile: file removal
sys/modules/drmkms/Makefile: revisions 1.4-1.7
sys/modules/drmkms_linux/Makefile: revision 1.5
sys/modules/drmkms_pci/Makefile: revisions 1.3, 1.4
sys/modules/i915drmkms/Makefile: revisions 1.5-1.7
Split drm ttm config into a separate file.
--
Fix module build of drmkms_linux.
--
Remove vestigial drm2pci module, replaced by drmkms_pci.
--
fix the module class.
--
add the drmkms modules
--
make a drm_agp_destroy() function to resolve the circular dependency between
drmkms and drmkms_pci
--
finalize the idr code.
--
add drm_agp_destroy
--
fix drmkms module path for xen.
--
fix build failure.
/tmp/bracket/build/2014.11.10.22.43.46-i386/src/sys/external/bsd/drm2/include/linux/pci.h:36:20: fatal error: acpica.h: No such file or directory
--
make this work: add agpsupport and sysctl code
--
move agpsupport to drmkms to avoid circular dependencies.
--
turn on dynamic ldscript creation to handle link set symbol definitions
used in the automatic sysctl creation.
--
Add __link_set based code to automatically convert the linux module parameters
into sysctls.
--
this module needs MKLDSCRIPT too now
--
more _KERNEL_OPT
--
prettify and add to all the modules that have it.
--
fix description setting.
--
Adjust flags to allow building with clang.
--
Fix build with clang.
--
Drop casts in favour of expressions that actually give the right
pointer.
--
Move all PCI/AGP code back to drmkms_pci module where it belongs.
--
Use correct length for hdmi_infoframe_header_pack in <linux/hdmi.h>.
Fixes PR kern/49411.
--
Back out previous, fix PR kern/49411 correctly.
frame->header.length is not initialized in the vendor packet case.
Instead, make hdmi_infoframe_header_pack take the packet length and
subtract the size of the header when packing the header.
(Could make it take the payload length instead, but for callers it is
more convenient to have a name for the whole packet length.)
--
Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411).
--
Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to
avoid -Werror.
OK christos@ and riastradh@
--
fix debugging compilation (ALL kernel)
--
nouveau_nv50_fence.c needs -Wno-shadow.
--
fix a confusion between dev_t and devmajor_t, and include the primary
minor when calling makedev().
 1.46.2.2.6.1 31-Oct-2019  martin Fix set lists for ticket #1710
 1.46.2.2.2.1 31-Oct-2019  martin Fix set lists for ticket #1710
 1.68.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.68.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.73.6.1 05-Feb-2018  martin Pull up following revision(s) (requested by pgoyette in ticket #524):

distrib/sets/lists/man/mi 1.1574
distrib/sets/lists/modules/md.amd64 1.73
distrib/sets/lists/modules/md.i386 1.76
share/man/man4/amdtemp.4 1.11
share/man/man4/man4.x86/Makefile 1.17
share/man/man4/man4.x86/amdsmn.4 1.1-1.3
share/man/man4/man4.x86/amdzentemp.4 1.1-1.6
sys/arch/amd64/conf/ALL 1.79,1.80
sys/arch/amd64/conf/GENERIC 1.482,1.484
sys/arch/amd64/conf/XEN3_DOM0 1.146,1.147
sys/arch/x86/pci/amdsmn.c 1.1-1.2
sys/arch/x86/pci/amdsmn.h 1.1
sys/arch/x86/pci/amdzentemp.c 1.1-1.7
sys/arch/x86/pci/files.pci 1.22,1.23
sys/modules/amdzentemp/amdzentemp.ioconf 1.2


Add amdzentemp from FreeBSD via Ian Clark.

man pages for amdsmn and amdzentemp.

Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS
section to document the fact that we don't yet handle the required temp
offset, nor do we expose the available thermal-trip value.

Add missing article 'a'

KNF: Put back the blank line following the empty variable declarations
Put back the variable declaration, too, and mark it __diagused
Otherwise a DIAGNOSTIC kernel will complain about the variable being
undeclared.

Correct placement of __diagused attribute.

Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4),
Create amdsmn(4) amd amdzentemp(4) modules for X86.
 1.78.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.78.4.1 10-Jun-2019  christos Sync with HEAD
 1.78.2.3 30-Sep-2018  pgoyette Ssync with HEAD
 1.78.2.2 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.78.2.1 28-Jul-2018  pgoyette Sync with HEAD
 1.82.2.1 09-Dec-2019  martin Pull up following revision(s) (requested by jmcneill in ticket #525):

external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
distrib/sets/lists/modules/md.i386: revision 1.83
share/mk/bsd.own.mk: revision 1.1168
usr.bin/mkubootimage/mkubootimage.c: revision 1.25
sys/modules/dtrace/Makefile: revision 1.7
usr.bin/mkubootimage/mkubootimage.c: revision 1.26
sys/modules/dtrace/Makefile: revision 1.8
external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
distrib/sets/lists/modules/mi: revision 1.128
sys/arch/aarch64/include/frame.h: revision 1.3
sys/arch/evbarm/conf/mk.generic64: revision 1.4
external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
sys/modules/cyclic/Makefile: revision 1.4
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
sys/arch/aarch64/aarch64/start.S: revision 1.3
sys/arch/aarch64/aarch64/trap.c: revision 1.22
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
distrib/sets/lists/modules/md.amd64: revision 1.82
usr.bin/mkubootimage/mkubootimage.1: revision 1.13
distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison
 1.89.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.96.2.3 09-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #939):

distrib/sets/lists/debug/module.md.amd64: revision 1.18
sys/modules/Makefile: revision 1.292
lib/libc/gen/arc4random.c: revision 1.34
lib/libc/gen/arc4random.c: revision 1.35
lib/libc/gen/arc4random.c: revision 1.36
lib/libc/gen/arc4random.c: revision 1.37
sys/kern/kern_entropy.c: revision 1.70
lib/libc/gen/arc4random.c: revision 1.38
sys/kern/kern_entropy.c: revision 1.71
lib/libc/gen/getentropy.3: revision 1.8
distrib/sets/lists/modules/md.amd64: revision 1.103
share/man/man4/rnd.4: revision 1.42
share/man/man4/rnd.4: revision 1.44
lib/libc/include/arc4random.h: revision 1.1
distrib/sets/lists/man/mi: revision 1.1786
sys/arch/i386/conf/GENERIC: revision 1.1258
sys/modules/acpivmgenid/acpivmgenid.ioconf: revision 1.1
sys/arch/amd64/conf/ALL: revision 1.190
distrib/sets/lists/debug/mi: revision 1.446
sys/arch/i386/conf/ALL: revision 1.521
lib/libc/gen/Makefile.inc: revision 1.219
distrib/sets/lists/debug/module.md.i386: revision 1.12
sys/dev/acpi/acpi_vmgenid.c: revision 1.1
sys/dev/acpi/acpi_vmgenid.c: revision 1.2
lib/libc/include/reentrant.h: revision 1.22
sys/arch/evbarm/conf/GENERIC64: revision 1.219
share/man/man4/Makefile: revision 1.735
distrib/sets/lists/modules/md.i386: revision 1.100
distrib/sets/lists/tests/mi: revision 1.1334
lib/libc/gen/arc4random.3: revision 1.22
sys/dev/acpi/files.acpi: revision 1.133
lib/libc/gen/arc4random.3: revision 1.23
tests/lib/libc/gen/t_arc4random.c: revision 1.1
sys/sys/entropy.h: revision 1.6
sys/arch/amd64/conf/GENERIC: revision 1.614
sys/modules/acpivmgenid/Makefile: revision 1.1
share/man/man4/acpivmgenid.4: revision 1.1
lib/libc/gen/Makefile.inc: revision 1.220
tests/lib/libc/gen/Makefile: revision 1.56
share/man/man4/acpivmgenid.4: revision 1.2
share/man/man4/acpivmgenid.4: revision 1.3

(all via patch)

Catch up with all the lint warnings since exit on warning was disabled.

Disable 'missing header declaration' and 'nested extern' warnings for now.
acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.
TBD: Add to all ACPI-supporting GENERIC kernels.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Factor out subroutines to reset and gather entropy.
`Reset' means we keep the data in the pool, but assume it had zero
entropy. `Gather' means we request samples from all on-demand
sources and wait for the synchronous ones to complete.

No functional change intended, other than to expose new symbols --
just preparation to expose these to acpivmgenid(4), so it can use
these when the VM host notifies us that we, the guest, have been
cloned.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Reset and gather entropy on VM clone notification.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Reseed if system entropy epoch changes.
This can happen, for example, if the system is a VM instance, and the
VM is cloned.

This incurs the cost of a system call on every arc4random call, which
is unfortunate, but
1. we don't currently have a (machine-independent) mechanism for
exposing a read-only page to userland shared by the kernel to
enable a cheaper access path to the entropy epoch; and
2. the algorithm here -- a simple application of ChaCha -- is likely
also a bottleneck and could be much cheaper by
(a) using sys/crypto/chacha for machine-dependent vectorized
ChaCha code, and
(b) filling a buffer (somewhere between a cipher block and a page)
in a batch at a time, instead of running ChaCha to generate
only 32 bytes at a time.
So although this might be a performance hit, the security benefit is
worthwhile and we have a clear path to do better than reversing the
performance hit later.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Nix BUGS that have been squashed.
Reference kern.entropy.epoch for the remaining bug (which is a
performance issue, not a security issue).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Allow unprivileged reads of sysctl kern.entropy.epoch.

Applications need this in order to know when to reseed. (We should
also expose it through a page shared read-only with userland for
cheaper access, but until we do, let's let applications get at it
through sysctl.)
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random.c: Fix test program.

This isn't wired up anywhere, but let's reduce the bitrot. It was
helpful in reminding me that kern.entropy.epoch was, for reasons I
can't remember, restricted to privileged access.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

amd64, evbarm, i386: Add acpivmgenid(4) to GENERIC.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

rnd(4): Document kern.entropy.epoch is unprivileged and elaborate.
Cross-reference acpivmgenid(4).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Note that arc4random respects kern.entropy.epoch.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
Add debug info for new acpivmgenid module

arc4random(3): Add automatic tests.

This verifies that:
- arc4random zeroes its state and reseeds itself on fork
- arc4random reseeds itself on entropy consolidation (e.g., VM clone)
- arc4random falls back to global state if it can't allocate local
state because address space limits cause mmap to fail

NOTE: This adds a new libc symbol __arc4random_global, but it's in
the reserved namespace and only used by t_arc4random, so no libc
minor bump.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

getentropy(3): Note intent to reseed on VM clone, and caveats.

Tidy markup and pacify some mandoc -Tlint complaints while here.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

Bump dates on man pages recently updated to mention VM clones.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Pacify some of lint's complaints.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random: suppress another lint warning
 1.96.2.2 09-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #936):

sys/dev/acpi/apei_einjvar.h: revision 1.1
sys/dev/acpi/apei_cper.h: revision 1.2
distrib/sets/lists/debug/module.md.i386: revision 1.9
sys/dev/acpi/apei_hest.c: revision 1.1
sys/modules/apei/Makefile: revision 1.1
sys/dev/acpi/apei_hest.c: revision 1.2
distrib/sets/lists/modules/md.amd64: revision 1.101
sys/dev/acpi/apei_hest.c: revision 1.3
distrib/sets/lists/modules/md.amd64: revision 1.102
sys/modules/apei/apei.ioconf: revision 1.1
sys/dev/acpi/apei_bert.c: revision 1.1
distrib/sets/lists/man/mi: revision 1.1785
sys/dev/acpi/apei_bertvar.h: revision 1.1
sys/dev/acpi/apei.c: revision 1.1
sys/dev/acpi/apei.c: revision 1.2
sys/dev/acpi/apei.c: revision 1.3
sys/modules/Makefile: revision 1.283
sys/modules/Makefile: revision 1.284
sys/dev/acpi/apei_reg.c: revision 1.1
sys/dev/acpi/apei_hestvar.h: revision 1.1
distrib/sets/lists/debug/module.md.i386: revision 1.10
sys/dev/acpi/apei_reg.c: revision 1.2
sys/dev/acpi/apei_reg.c: revision 1.3
sys/dev/acpi/apei_reg.h: revision 1.1
sys/dev/acpi/apei_reg.h: revision 1.2
sys/dev/acpi/apei_reg.h: revision 1.3
sys/dev/acpi/acpi_hed.c: revision 1.1
sys/dev/acpi/apei_einj.c: revision 1.1
sys/dev/acpi/apeivar.h: revision 1.1
sys/dev/acpi/apei_einj.c: revision 1.2
sys/dev/acpi/apei_einj.c: revision 1.3
sys/dev/acpi/apei_einj.c: revision 1.4
sys/dev/acpi/apei_einj.c: revision 1.5
share/man/man4/Makefile: revision 1.734
sys/dev/acpi/apei_einj.c: revision 1.6
sys/dev/acpi/apei_einj.c: revision 1.7
sys/dev/acpi/files.acpi: revision 1.131
sys/dev/acpi/files.acpi: revision 1.132
sys/dev/acpi/apei_interp.c: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.2
share/man/man4/acpihed.4: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.3
share/man/man4/acpihed.4: revision 1.2
distrib/sets/lists/modules/md.i386: revision 1.98
sys/dev/acpi/apei_mapreg.c: revision 1.2
sys/dev/acpi/apei_interp.h: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.4
distrib/sets/lists/modules/md.i386: revision 1.99
sys/modules/acpihed/Makefile: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.3
sys/dev/acpi/apei_interp.h: revision 1.2
sys/arch/amd64/conf/ALL: revision 1.185
sys/dev/acpi/apei_mapreg.h: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.4
sys/arch/amd64/conf/ALL: revision 1.186
sys/dev/acpi/apei_erstvar.h: revision 1.1
sys/dev/acpi/apei_erst.c: revision 1.1
sys/dev/acpi/apei_erst.c: revision 1.2
sys/dev/acpi/apei_erst.c: revision 1.3
sys/arch/i386/conf/ALL: revision 1.516
share/man/man4/apei.4: revision 1.1
sys/arch/i386/conf/ALL: revision 1.517
share/man/man4/apei.4: revision 1.2
distrib/sets/lists/debug/module.md.amd64: revision 1.15
sys/modules/acpihed/acpihed.ioconf: revision 1.1
sys/dev/acpi/apei_hed.h: revision 1.1
distrib/sets/lists/debug/module.md.amd64: revision 1.16
sys/dev/acpi/apei_cper.h: revision 1.1

(all via patch)

apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.
PR kern/58046

apei(4): Pacify -Wsign-compare.
Assert that the parsing made forward progress too while here.
PR kern/58046

apei(4): Tweak some comments about the APEI interpreter language.
No functional change intended.
PR kern/58046

apei(4): Fix parsing checks for TRIGGER_ERROR action table.
The TableSize is size of the header plus the body, not just the body.
PR kern/58046
apei(4): Note some TODOs for EINJ and HEST.
No functional change intended, comments only.
PR kern/58046

acpihed(4): New driver for PNP0C33 to notify apei(4).
PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.
PR kern/58046

acpihed(4): fix name in Dt, use Ql
apei(4): Plug memory leak on teardown of instruction interpreter.
PR kern/58046
apei(4): Fix indexing of multi-unit register access.
PR kern/58046

apei(4): Fix register chunk counting.
Now it will actually read and write the registers!
Have been updating and reloading the wrong module to test this, oops.
PR kern/58046

apei(4): Allow pre-mapping I/O registers too.
PR kern/58046

apei(4): Pre-map registers when compiling interpreter.
This way we don't have to worry about mapping them in nasty contexts
where access to uvm_km_alloc may not be allowed. Paves the way to
use ERST for saving dmesg on crash.
Exception: ACPI_ERST_MOVE_DATA still needs to do AcpiOsMapMemory.
We'll need to reserve a couple pages to avoid that.
PR kern/58046

apei(4): Simplify EINJ/ERST register access now that it's pre-mapped.
PR kern/58046
apei(4): Make sure to initialize *fatalp in apei_gesb_report.
PR kern/58046

apei: fix typos in comments

apei: fix typos in comments and snprintb bitfmt

apei(4): Fix uninitialized stack access in error branch.
PR kern/58046

apei(4), acpihed(4): Wire up man pages to build.
PR kern/58046: Missing APEI (ACPI Platform Error Interface) support
 1.96.2.1 30-Dec-2023  martin Pull up following revision(s) (requested by pgoyette in ticket #521):

distrib/sets/lists/debug/module.md.i386: revision 1.8
sys/modules/Makefile: revision 1.281
distrib/sets/lists/modules/md.i386: revision 1.97

Unhook radeondrm module from the build; it doesn't work, and
it's just tempting someone to try it. Leave the files around
in case someone wants to pursue making this work.

Should address kern/57793

XXX Related modules from the same legacy era should probably be
XXX removed, too, but so far only radeondrm has been reported
XXX as an issue. Kep an eye out for sisdrm, savagedrm, tdfxdrm,
XXX and r128drm.
 1.99.2.1 02-Aug-2025  perseant Sync with HEAD
 1.7 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.6 11-Feb-2020  uki branches: 1.6.12;
PR misc/46937: add modules package, from Lloyd Parkes.
 1.5 15-Dec-2016  kre branches: 1.5.14;

More sets list sorting (maybe this time they're really all done)
 1.4 05-Aug-2016  scole PR port-ia64/51261

Changes for ia64
 1.3 10-Aug-2014  bad branches: 1.3.6;
Build ubsec module only for i386 and amd64 and punt on the other arches.
 1.2 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.1 31-May-2010  pgoyette Extract ACPIVERBOSE into a kernel module. The module can be builtin
by defining 'options ACPIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.

ACPIVERBOSE also includes code to dump acpi/wmi data.
 1.3.6.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.3.6.1 06-Aug-2016  pgoyette Sync with HEAD
 1.5.14.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.12.1 02-Aug-2025  perseant Sync with HEAD
 1.3 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.2 27-Sep-2016  pgoyette branches: 1.2.2; 1.2.30;
For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
 1.1 27-Sep-2016  pgoyette Update sets lists for all the new modules (for l4(4) and its attachments)
 1.2.30.1 02-Aug-2025  perseant Sync with HEAD
 1.2.2.2 04-Nov-2016  pgoyette Sync with HEAD
 1.2.2.1 27-Sep-2016  pgoyette file md.prep was added on branch pgoyette-localcount on 2016-11-04 14:42:39 +0000
 1.3 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.2 27-Sep-2016  pgoyette branches: 1.2.2; 1.2.30;
For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
 1.1 27-Sep-2016  pgoyette Update sets lists for all the new modules (for l4(4) and its attachments)
 1.2.30.1 02-Aug-2025  perseant Sync with HEAD
 1.2.2.2 04-Nov-2016  pgoyette Sync with HEAD
 1.2.2.1 27-Sep-2016  pgoyette file md.sgimips was added on branch pgoyette-localcount on 2016-11-04 14:42:39 +0000
 1.7 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.6 11-Feb-2020  uki branches: 1.6.12;
PR misc/46937: add modules package, from Lloyd Parkes.
 1.5 10-Aug-2014  bad branches: 1.5.24;
Build ubsec module only for i386 and amd64 and punt on the other arches.
 1.4 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.3 17-Nov-2013  alnsn Build and install sljit.kmod and bpfjit.kmod iff ${MKSLJIT} != "no".
 1.2 06-Nov-2012  alnsn Enable bpfjit on sparc.
 1.1 07-Sep-2009  jnemeth branches: 1.1.6; 1.1.12;
Create a modules.tgz set and move kernel modules into it.
 1.1.12.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.1 16-Jan-2013  yamt sync with (a bit old) head
 1.5.24.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.12.1 02-Aug-2025  perseant Sync with HEAD
 1.14 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.13 20-Dec-2022  pgoyette branches: 1.13.2;
Missed the compat_netbsd32_100 stuff in previous commit
 1.12 01-Nov-2020  pgoyette Update sets lists for new compat_netbsd32_coredump module
 1.11 27-Aug-2020  riastradh Sort and deduplicate set lists.
 1.10 12-Mar-2020  pgoyette Add new netbsd32 quota modules to sets lists
 1.9 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.8 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.7 03-Feb-2019  pgoyette Update sets lists for new compat_netbsd32_raid module
 1.6 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.5 27-Nov-2018  pgoyette Include the compat_netbsd32* modules for sparc64

Their absence was noticed by martin@ when the recent libnv-related
build failure on amd64 did not affect sparc64!
 1.4 10-Aug-2014  bad branches: 1.4.22; 1.4.24;
Build ubsec module only for i386 and amd64 and punt on the other arches.
 1.3 09-Aug-2014  bad Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
 1.2 11-Aug-2011  mbalmer pwdog is not mi, but it only in the lists we build it for.
 1.1 07-Sep-2009  jnemeth Create a modules.tgz set and move kernel modules into it.
 1.4.24.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4.24.1 10-Jun-2019  christos Sync with HEAD
 1.4.22.1 26-Nov-2018  pgoyette Add compat_netbsd32* modules for sparc64
 1.13.2.1 02-Aug-2025  perseant Sync with HEAD
 1.3 11-Jul-2024  riastradh distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
 1.2 11-Feb-2020  uki branches: 1.2.12;
PR misc/46937: add modules package, from Lloyd Parkes.
 1.1 07-Sep-2009  jnemeth branches: 1.1.48;
Create a modules.tgz set and move kernel modules into it.
 1.1.48.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.12.1 02-Aug-2025  perseant Sync with HEAD
 1.164 11-Mar-2025  brad A driver and userland utility for a couple of families of the
Microchip Technology / SMSC fan controller chips.

The driver and utility supports the:

o EMC2101 and EMC2101-R
o EMC2103-1, EMC2102-2 and EMC2103-4
o EMC2104
o EMC2106
o EMC2301
o EMC2302
o EMC2303
o EMC2305

The EMC210X family supports 1 or 2 fans with tachometer. Depending on
the chip, it may support 2 additional fans without tach and might
support a high side attachment (i.e. a fan, usually 5v, driven
directly from the chip and not PWM or DAC). All versions of EMC210X
support internal temperature measurements, and depending on the chip,
may support up to 5 additional temperature zones. The tachometers and
temperature measurements are provided to the system via the envsys(4)
framework. Some chip types support GPIO pins and support is provided
via the gpio(4) framework.

The EMC230X family supports 1, 2, 3 or 5 fans with the same number of
tachometers. No temperature zone or GPIO support. The tachometers
are provided to the system via the envsys(4) framework. The fan
support can be provided by PWM signaling or DAC.

The two chip families mostly do PWM signaling for the fan speed, but a
number of them support DAC output, a 0 to 3v or so voltage. When the
chip supports external temperature zones, this is done usually by a
bipolar NPN or PNP transister configured as a diode, but some of the
chip varients support thermistors.

The emcfan(4) kernel driver provides a simple read / write / seek
device in /dev/ to the register set in the chip. The heavy lifting is
done in the userland utility emcfanctl(8) which provides the ability
to read and write to any valid register and provides some basic higher
level commands to control fan behavior. The output is simple text
lines, or JSON.

The kernel driver does not reset or other mess with the chip, aside
from reading registers. It is entirely possible that something else
in any particular system is the major manager of the fan controller
and it would not do for the kernel driver to mess too much with the
attached device. All interactions are intentional via the userland
utility.

It is known that a EMC2301 is present on the Raspberry PI 4 Compute IO
module (not to be confused with the Raspberry PI 4 Compute module
itself) and there is a breakout board from Adafruit with a EMC2101 on
it. The chips themselves are pretty inexpensive from Mouser or
Digi-key and can be soldered using the simpler SMD soldering
techniques. A number of the variants are QFN packages, but the pads
are exposed to the side of the chip. No other external components are
required to use these fan controllers.
 1.163 23-Jan-2025  brad A driver for the DS28E17 1-Wire to I2C bridge chip.

This chip acts like a 1-Wire slave device and provides a iic(4) master
at the end of the 1-Wire bus. More or less it is the polar opposite
of the DS2482 [ds2482ow(4)] chip.

This device couples well with ds2482ow(4) and can be used to provide a
I2C bus at very great lengths from the controlling computer.

All features of the chip are supported, except for 1-Wire overdrive
support, which requires more work from the onewire(4) infrastructure.

The chip does not support Read without Stop. Attempts to do this will
get turned into a Read with Stop and one will have to hope for the
best. The chip also does not support zero length I2C reads or zero
length I2C writes. This has the side effect of making the default
mode, a zero length I2C write, for i2scan(8) return false positives.
The alternative mode that i2cscan(8) can use, the single byte read,
should work as expected.

The chip has automatic support for end devices that do I2C clock
stretching.

It was noticed that this chip does not work with the gpioow(4) driver.
That might be an interesting thing to debug if one has a good logic
analyzer on hand. While the presence pulse is detected, the gpioow(4)
driver is not able to complete the initial ROM enumeration. The
DS28E17 works flawlessly when driven by a DS2482 [ds2482ow(4)] driver
chip. Poke me if you want any more details.

The chip is pretty inexpensive and only requires a single cap to get
it hooked up. However, the package it comes in is only a 16-QFN
package, so it could provide to be hard to solider onto a board for
some. There are side tabs, so it was possible with a very small iron
and lots of flux. There is a slightly expensive breakout board sold
by Mikroe that probably works well -> https://www.mikroe.com/1-wire-i2c-click
 1.162 20-Jan-2025  maya Add ncm(4) a driver for USB Network Control Model

Seen on my Google Pixel 8, which implements ncm instead of urndis.
 1.161 04-Nov-2024  brad Add a driver for the Maxim DS2482-100 and DS2482-800 I2C to 1-Wire
bridge.

This chip provides a I2C device that then has 1 or 8 1-Wire busses on
the other side. The 1-Wire buses show up as onewire(4) buses in the
NetBSD.

The chip can be used in situations where:

* You have a I2C bus extended a long distance, say with a LTC4311
active terminator / extender or one of the differential I2C
extenders and you would like to have a 1-Wire device on the far end
and it isn't possible to add wiring to get to the far end.

* You are either out of GPIO pins or the GPIO pins are not reliable
enough to use gpioow(4), but you do have working I2C.

The DS2482 does all of the 1-Wire signals in hardware and provides for
a couple of pullup options for the 1-Wire devices.

All of the functions of the DS2482-100 and -800 are supported except
for overdrive speed support. To do this will likely require some API
changes to onewire(4).

Breakout boards exist for the DS2482 for both variants, but they
appear to be more expensive than expected. The chip itself is quiet
cheap and wasn't all that hard to SMD solder to a board. No other
components are really needed.

There are other members in the same family, the DS2482-101, DS2484 and
DS2485. The DS2482-101 has a sleep pin, but from the datasheet
appears to program the same as the -100 variant. The DS2484 has a
slightly different way to set configuration information and probably
won't quite work with the driver, but isn't far off. The DS2485 is
very different and would require a new driver to function.
 1.160 18-Jul-2024  rin modules: Build `ipl` module only if MKIPFILTER is enabled
 1.159 27-Aug-2023  kardel branches: 1.159.2;
make owtemp a module
 1.158 20-Dec-2022  jakllsch add compat_100 module setlist entries
 1.157 03-Dec-2022  brad branches: 1.157.2;


Split the BMP280 / BME280 driver into common code and create I2C and
SPI attachments.
 1.156 21-Nov-2022  brad A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor. This is an inexpensive to moderately
expensive chip available from a large number of places. The driver
supports all aspects of the two chips, except for the repeating read
mode which would allow for sub-second queries, such as fall detection
or perhaps even as an altimeter. This driver also only supports the
I2C interface and not the SPI interface.

The BME280, the one with humidity, is not fully tested at this point,
awaiting upon a breakout board and may not show proper humidity.
 1.155 17-Nov-2022  brad A driver for the Aosong AHT20 temperature and humidity sensor. While
slow for an I2C sensor it is inexpensive and should work well enough
in most indoor conditions. All features of the chip are supported.
 1.154 04-Jun-2022  pgoyette Add sets-lists entries for the new combined midi_seq module
 1.153 14-Apr-2022  pgoyette Add the new scsi_subr module to sets lists.
 1.152 01-Apr-2022  pgoyette Create a loaable adiantum module, and make cgd require it.

This enablees use of a loadable cgd module, rather thtan requiring
it to be built-in.

Partially resolves kern/56772
 1.151 01-Apr-2022  pgoyette Split i2c_subr.c into a separate module rather than including it in
the iic module. There are valid configurations where i2c_subr code
can be both built-in and part of a loaded module (eg, piixpm is in
the kernel, but the iic module is loaded later). This causes the
in-kernel linker to detect a duplicate symbol.
 1.150 07-Dec-2021  brad A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

https://www.sparkfun.com/products/13911

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip. The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus. One can interface with the SCMD using tty uart commands, SPI or
I2C. The driver in this commit adds a kernel driver for the I2C and
SPI interfaces. The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.
 1.149 06-Nov-2021  brad Driver for the Sensirion SHT30/SHT31/SHT35 temperature and humidity
sensor such as:

https://www.adafruit.com/product/2857

This is a higher priced sensor with a lot of features, including the
ability to do sub-second periodic updates. The driver supports
everything about the sensor except for the alert pin.
 1.148 14-Oct-2021  brad A driver for the Sensirion SGP40 MOx gas sensor. An example of this
chip from Adafruit is:

https://www.adafruit.com/product/4829

This is a moderately priced gas sensor that can detect volatile
organic compounds in the air. The driver uses the 3-clause BSD
licensed VOC algorithm provided by Sensirion to turn the raw sensor
metric into a VOC index which can indicate the quality of the air in a
particular indoor environment. All published functions of the chip
are supported and one unpublished feature.
 1.147 03-Oct-2021  brad A driver for the Sensirion SHT40/SHT41/SHT45 temperature and humidity
sensor. An example of this chip is:

https://www.adafruit.com/product/4885

This is a lower cost chip that provides higher then usual precision
according to the data sheet. This driver supports all of the published
functions that the chip has.
 1.146 11-Sep-2021  pgoyette Build and install the if_run module. run(4) is not necessarily included
in all GENERIC kernels (as reported on libera IRC).
 1.145 17-Aug-2021  christos modules for if_wg, blake2s, libsodium
 1.144 17-May-2021  yamaguchi Add a new link-aggregation pseudo interface named lagg(4)

- FreeBSD's lagg(4) based implementation
- MP-safe and MP-scalable
 1.143 25-Mar-2021  nia branches: 1.143.2;
don't restrict pad module to i386 and amd64.

- module build tested on amiga, vax, i386, amd64, evbarm.
- build.sh release tested on i386.
- pad module functionality tested on aarch64.
 1.142 26-Sep-2020  jmcneill branches: 1.142.2;
Add HAVE_NVMM and use it to control the build of NVMM related components.
Defined to "yes" on amd64, "no" everywhere else.
 1.141 08-Sep-2020  martin Remove if_iavf
 1.140 08-Sep-2020  martin Add if_iavf
 1.139 27-Aug-2020  riastradh Sort and deduplicate set lists.
 1.138 27-Jun-2020  rin Remove stale comments.
 1.137 23-Apr-2020  uki Add -unknown- to "./netbsd" in modules/mi to fix "build.sh syspkgs" failure
 1.136 04-Apr-2020  christos Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules. This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.
 1.135 04-Apr-2020  jdolecek remove SMBFS and nsmb/netsmb - userland part
 1.134 29-Feb-2020  skrll if_ixl is MD
 1.133 27-Feb-2020  yamaguchi Make ixl(4) be able to build as a module
 1.132 11-Feb-2020  uki PR misc/46937: add modules package, from Lloyd Parkes.
 1.131 21-Jan-2020  pgoyette Split the compat_50 module into two, separating the QUOTA-related
stuff from the rest of the module. This allows loading of the
(main) compat_50 module on kernels that don't include ``options
QUOTA''.

Welcome to 9.99.40 !

Addresses PR kern/54875
 1.130 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.129 10-Dec-2019  yamaguchi Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara
 1.128 04-Dec-2019  jmcneill Move dtrace_syscall_linux out of mi set list
 1.127 28-Oct-2019  maya Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.
 1.126 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.125 17-Sep-2019  mrg enable building modules for if_aue(4), if_cdce(4), if_cue(4),
if_kue(4), if_upl(4), if_url(4), and if_urndis(4)
 1.124 08-Aug-2019  skrll Build an if_udav module (untested)
 1.123 31-Jul-2019  mrg introduce a library of common code / backends to share code between
USB ethernet drivers.

usbnet.h introduces a new set of APIs to provide common solutions
for these driver features:
- USB endpoint pipe handling
- rx and tx chain handling
- generic handlers or support for several struct ifnet callbacks
- MII bus locking
- interrupt handling
- partial autoconf handling: much of attach, and detach/activate
can use common versions directly.

currently, only axen(4) and cdce(4) are converted. the reductions
in these drivers are quite significant: if_cdce.c is reduced from
1000 lines to 320 lines, and if_axen is reduced from 1902 lines
to 1021 lines.

add a "usbnet" module and make the if_axen module depend upon it.
 1.122 20-Jun-2019  pgoyette branches: 1.122.2;
Update sets lists for new ufs module
 1.121 26-Mar-2019  pgoyette Now that the if_srt module has a chance of working (ie, it now
actually attaches/detaches the cdevsw!), add the required srt
module to allow module autoload triggered by opening /dev/srtN

XXX As noted in the recent commit to if_srt.c, someone(tm) needs
XXX to create the /dev/srt* device nodes with major 179. :)
 1.120 24-Mar-2019  pgoyette Add a loadable module for tap(4).

The code was already modularized, we simply didn't build the loadable
module.

Note also that since the tap(4) device can be reasonably accessed by
either creating a device instance (using ifconfig(8)) or by opening
/dev/tap, we need to create both if_tap.kmod and tap.kmod (similar to
what is done with tun(4)).
 1.119 06-Feb-2019  rin Add ure(4): RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device.
Ported from OpenBSD. Support for RX/TX checksum offload added by myself.
 1.118 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.117 25-Aug-2018  rin Add mue(4), driver for Microchip LAN75xx/LAN78xx known as internal NIC of
Raspberry Pi 3 B+, from OpenBSD.

Tested on Raspberry Pi 3 B+ (LAN7800) and Z-TEK ZE582 (LAN7500).

* BUGS/TODO

- If the media type is set to something other than 1000baseT-FDX, data
transmission becomes quite unstable. Also, ukphy(4) recognize 1000baseT as
a supported media type, but it is not in fact.

- Catch up with changes made to usmsc(4) in nick-nhusb branch, i.e.,
make the driver MP-safe.

- Support RX/VLAN/TX chekcsum offloading.
 1.116 20-May-2018  thorpej branches: 1.116.2;
Add a 1PPS-over-GPIO driver, originally by Brad Spencer, with changes by
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.

PR kern/51676
 1.115 19-May-2018  thorpej Add an example "gpioirq" driver that demonstrates interrupts on GPIO
pins. Will be enhanced in the future to support sending events to
user space on edge-triggered interrupt events.

Based on initial work by Brad Spencer.
PR kern/51676
 1.114 09-Jan-2018  christos branches: 1.114.2;
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.113 29-Dec-2017  christos add new drivers, sort.
 1.112 09-Dec-2017  pgoyette Split ip_ecn code into its own module, so it can be shared between
gif(4), stf(4), and ipsec(4). Without this, loading the if_gif
module can result in redefined global symbols if either ipsec(4) or
stf(4) but not gif(4) is built into the kernel.

Fixes PR kern/52795 (as reported by martin@ via irc).

XXX pullup to netbsd-8
 1.111 11-Jun-2017  pgoyette Add new wsbell(4) module to the sets list.
 1.110 01-Jun-2017  pgoyette branches: 1.110.2;
Update sets lists for new modules
 1.109 19-Apr-2017  riastradh Modularize ualea(4).

Unclear why we have a separate xyz.ioconf for module and XYZ.ioconf
for rump component, but at least xyz_modcmd obviates the need for
xyz_component.c (though evidently the latter could have been replaced
anyway by RUMP_COMPONENT=ioconf in the rump component Makefile).
 1.108 16-Feb-2017  knakahara add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.
 1.107 04-Jan-2017  christos branches: 1.107.2;
PR/51773: Yorick Hardy: drvctl module is not part of lvm
 1.106 15-Dec-2016  kre More sets list sorting (maybe this time they're really all done)
 1.105 15-Dec-2016  pgoyette Restore the obsolete entries for spkr_synth, and mark the new spkr
module as not-obsolete.
 1.104 15-Dec-2016  pgoyette Update for the new "universal" spkr module.

Note that entries in the md.i386 and md.amd64 lists are actually deleted
(rather than being marked "obsolete" as directed in the comments). This
is OK, since there is now a new module in the mi list to replace them.
 1.103 15-Dec-2016  christos delete spkr_synth
 1.102 10-Dec-2016  pgoyette Create a new module for the synthesized speaker(4).

XXX Device module autoload (invoked when the /dev/speaker is opened, and
XXX no driver exists) will not find this module. On i386 and amd64, the
XXX autoload will find the spkr module (spkr0 at pcppi0) and that module
XXX will be autoloaded. For other architectures, either include the
XXX "spkr0 at audio0" in your config file, or manually load this new
XXX spkr_synth module using modload(8).
 1.101 16-Nov-2016  pgoyette Update sets lists for new bufq_* modules
 1.100 02-Nov-2016  pgoyette Update sets lists for new ptrace{,_common} modules
 1.99 27-Sep-2016  pgoyette Missed the mlx_pci module in previous commit (to disable)
 1.98 27-Sep-2016  pgoyette For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
 1.97 27-Sep-2016  pgoyette Update sets lists for all the new modules (for l4(4) and its attachments)
 1.96 17-Sep-2016  pgoyette Fix sets lists for nvme module. Since it is being built only for the
i386 and amd64 platforms, the entries belong in the md.xxx lists, not
in the mi list.
 1.95 16-Sep-2016  pgoyette Add the new nvme module to the sets lists.
 1.94 10-Sep-2016  pgoyette Update sets for new dummy "tun" module.
 1.93 07-Aug-2016  christos Sets for new modules
 1.92 06-Aug-2016  pgoyette Modularize the pppoe driver
 1.91 06-Aug-2016  pgoyette Modularize the sppp_subr stuff so it can be shared by pppoe and lmc
drivers as they get modularized.
 1.90 06-Aug-2016  christos sets for slip and strip
 1.89 06-Aug-2016  christos rename the ppp module so that it autoloads.
 1.88 06-Aug-2016  pgoyette Modularize the ppp driver, and adjust dependencies of the compressor
modules.

For now, this is still included as a built-in module in GENERIC kernels.
 1.87 04-Aug-2016  pgoyette Update sets lists for new slcompress module
 1.86 09-Jun-2016  pgoyette branches: 1.86.2;
Update sets lists for new ipl (aka ipfilter) module.
 1.85 08-Jun-2016  pgoyette Re-sort
 1.84 07-Jun-2016  pgoyette Update sets for new i2c_bitbang and bpf_filter modules.
 1.83 26-Dec-2015  pgoyette Descend into new raid module, and update sets lists.
 1.82 07-Dec-2015  pgoyette Modularize drvctl(4)
 1.81 07-Dec-2015  pgoyette Modularize the clockctl pseudo-device and link to the build.
 1.80 03-Dec-2015  pgoyette Update sets list for merge of compat_sysv --> sysv_ipc
 1.79 15-Nov-2015  pgoyette Add the newly-created wapbl module to the sets list.
 1.78 13-May-2015  pgoyette Update sets lists for new sysv_ipc module
 1.77 11-May-2015  pgoyette Additional commentary for where other duplicate entries might need to
be made (amd64-xen, i386-xen, and i386-xen-pae).
 1.76 10-May-2015  pgoyette Update sets lists for new compat_sysv module.
 1.75 23-Apr-2015  pgoyette Update sets lists for new sysmon modules
 1.74 18-Apr-2015  pgoyette Update sets lists for new swwdog module
 1.73 09-Mar-2015  riastradh Add missing entries for dtrace modules to set lists.
 1.72 08-Mar-2015  christos add dtrace_lockstat
 1.71 07-Mar-2015  jmcneill i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.70 18-Sep-2014  wiz Per the wiki roadmap, rename the three dtrace modules to have
a "dtrace_" prefix.
amd64 build tested, other set list changes done the same way.
 1.69 18-May-2014  jakllsch branches: 1.69.2;
add hythygtemp module to set lists
 1.68 15-May-2014  apb sort
 1.67 01-Jan-2014  pgoyette branches: 1.67.2;
Re-sort, and update md.evbppc for new crypto modules
 1.66 01-Jan-2014  pgoyette Add new modules for opencrypto
 1.65 01-Jan-2014  pgoyette Add new crypto algorithm modules to sets list
 1.64 29-Dec-2013  pgoyette Add new zlib module
 1.63 28-Dec-2013  pgoyette Add entries for new ccd module
 1.62 28-Dec-2013  pgoyette Update sets lists for new modules.
 1.61 17-Dec-2013  njoly Do not remove luacore entries, mark them as obsolete instead.
 1.60 16-Dec-2013  lneto renamed luacore to luasystm
 1.59 18-Nov-2013  bad ubsec is not a MI buildable module. disable it for now.
 1.58 17-Nov-2013  bad Make ubsec(4) loadable as kmod.
 1.57 16-Nov-2013  skrll Build a module for usmsc(4).
 1.56 28-Oct-2013  mbalmer linke pmf(9l) to the build
 1.55 28-Oct-2013  mbalmer link core(9l) (docs pending) to the build
 1.54 28-Oct-2013  mbalmer link the lua(4) module to the build
 1.53 26-Oct-2013  nonaka Add driver for ASIX AX88178a and AX88179 Ethernet interface.
Ported from OpenBSD.
 1.52 11-Aug-2013  joerg Sort entries in strcmp order.
 1.51 11-Mar-2013  christos more npf sets lossage.
 1.50 18-Dec-2012  tron Add entries for "cylic" and "profile" modules which are part of DTrace.
 1.49 10-Dec-2012  rmind Add NPF "rndblock" extension to randomly drop packets (using a random function
with a percentage or modulo operation). This is a demo module, although it can
be used for packet loss simulation. Example of a procedure in npf.conf:

procedure "somedrop" {
# Drop 1.9% of the traffic
rndblock: percentage 1.9
}
 1.48 16-Sep-2012  rmind Implement dynamic NPF extensions interface. An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module. Move normalisation and logging functionality into their own
extensions. More improvements to come.
 1.47 06-Aug-2012  martin branches: 1.47.2;
The hdaudio and hdafg modules are not MI (they at least require PCI)
 1.46 05-Aug-2012  riastradh Build hdaudio and hdafg modules.
 1.45 04-Aug-2012  pgoyette Add distrib entries for new uatp module.

Hello, riastradh!
 1.44 26-Apr-2012  christos add vcoda module
 1.43 25-Apr-2012  pgoyette Actually create the if_axe module - driver was modularized a while ago.
 1.42 25-Apr-2012  pgoyette Actually create the dbcool(4) module. Driver was modularized a while ago.
 1.41 25-Apr-2012  pgoyette Create the module for sdtemp (driver itself was modularized some time ago)
 1.40 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.39 05-Dec-2011  jym branches: 1.39.2;
Set list fix...
 1.38 24-Nov-2011  ahoka add chfs.kmod
 1.37 15-Nov-2011  riz Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.
 1.36 06-Nov-2011  tron Add entries for "npf_alg_icmp" kernel module.
 1.35 06-Nov-2011  tron Add "npf" kernel module.
 1.34 02-Oct-2011  mbalmer branches: 1.34.2;
Build iic(4) and gpioiic(4) as modules.
 1.33 29-Sep-2011  sjg Add filemon to the modules we build.
 1.32 31-Aug-2011  mbalmer Link the gpioow(4) and onewire(4) modules to the build and add them to the
lists.
 1.31 12-Aug-2011  mbalmer gpio(4) and gpiosim(4) can now be built and used as modules. While here,
make some functions static.
 1.30 11-Aug-2011  mbalmer pwdog is not mi, but it only in the lists we build it for.
 1.29 11-Aug-2011  mbalmer Fix a typo.
 1.28 11-Aug-2011  mbalmer Add the pwdog module to md.evbppc as well and take a note in mi that
module have to be added in md.evbppc as well (and why that is so).
 1.27 11-Aug-2011  mbalmer pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.
 1.26 09-Aug-2011  jmcneill add dtv_math module
 1.25 01-Aug-2011  pgoyette Ooopppsss - there were some other modules here that should not have been
committed. Remove them.
 1.24 01-Aug-2011  pgoyette Add new spdmem(4) module
 1.23 19-Jul-2011  tron Add "v7fs" kernel module.
 1.22 09-Jul-2011  jmcneill build dtv module
 1.21 26-Feb-2011  ahoka Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
- Flash layer, which gives a common API to access flash devices
- NAND controller subsystem for the flash layer
- An example OMAP driver which is used on BeagleBoard or alike ARM boards
 1.20 29-Dec-2010  jmcneill branches: 1.20.2;
some platforms don't have bus_dma, so only build these modules on x86
 1.19 27-Dec-2010  jmcneill hook xc5k, au8522, and auvitek into build
 1.18 19-Oct-2010  pgoyette Build the new swsensor(4) device and add to set lists
 1.17 30-May-2010  pgoyette Extract MIIVERBOSE into a kernel module. The module can be builtin
by defining 'options MIIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.
 1.16 30-May-2010  pgoyette Extract SCSIVERBOSE into a kernel module. The module can be builtin
by defining 'options SCSIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.

The module is built for all architectures, whether or not SCSI or
atapi support exists.
 1.15 29-May-2010  pgoyette Extract USBVERBOSE into a kernel module. The module can be builtin
by defining 'options USBVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.

The module is built for all architectures, whether or not USB support
exists.
 1.14 24-May-2010  pgoyette Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.
 1.13 12-Apr-2010  ahoka Add pf to the module set list.
 1.12 12-Mar-2010  darran DTrace: Add the Function Boundary Trace (FBT) provider moduile. This
module instruments every function in the kernel with entry and exit
probes. These probes are true zero-effect probes in that they don't
exist in the code until they are enabled. The probes are enabled by
directly patching the function entry and exit points to make jumps into
the dtrace framework.
This gives us over 29,000 trace points in the kernel.
 1.11 03-Mar-2010  tron "dtrace,zfs" means "MKDTRACE=yes" *and* "MKZFS=yes" which is not what
we want. Invent a flag "solaris" which is the or of those two flags.
 1.10 03-Mar-2010  tron The directory "modules/solaris" depends on ZFS as well.
 1.9 03-Mar-2010  tron The "solaris" kernel module also gets build if ZFS is enabled.
 1.8 01-Mar-2010  darran DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider. Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.
 1.7 21-Feb-2010  darran Add DTrace to sets.
 1.6 25-Jan-2010  pooka add bpf kmod
 1.5 05-Dec-2009  pooka Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.4 05-Oct-2009  haad Add zfs sets and needed veriables to hook zfs into the build. ZFS on i386
need still one fix othervise it should be ready for testing.
 1.3 02-Oct-2009  elad First part of secmodel cleanup and other misc. changes:

- Separate the suser part of the bsd44 secmodel into its own secmodel
and directory, pending even more cleanups. For revision history
purposes, the original location of the files was

src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
src/sys/secmodel/bsd44/suser.h

- Add a man-page for secmodel_suser(9) and update the one for
secmodel_bsd44(9).

- Add a "secmodel" module class and use it. Userland program and
documentation updated.

- Manage secmodel count (nsecmodels) through the module framework.
This eliminates the need for secmodel_{,de}register() calls in
secmodel code.

- Prepare for secmodel modularization by adding relevant module bits.
The secmodels don't allow auto unload. The bsd44 secmodel depends
on the suser and securelevel secmodels. The overlay secmodel depends
on the bsd44 secmodel. As the module class is only cosmetic, and to
prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
"secmodel_".

- Adapt the overlay secmodel to recent changes (mainly vnode scope).

- Stop using link-sets for the sysctl node(s) creation.

- Keep sysctl variables under nodes of their relevant secmodels. In
other words, don't create duplicates for the suser/securelevel
secmodels under the bsd44 secmodel, as the latter is merely used
for "grouping".

- For the suser and securelevel secmodels, "advertise presence" in
relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).

- Get rid of the LKM preprocessor stuff.

- As secmodels are now modules, there's no need for an explicit call
to secmodel_start(); it's handled by the module framework. That
said, the module framework was adjusted to properly load secmodels
early during system startup.

- Adapt rump to changes: Instead of using empty stubs for securelevel,
simply use the suser secmodel. Also replace secmodel_start() with a
call to secmodel_suser_start().

- 5.99.20.

Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).

Mailing list reference:

http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
 1.2 11-Sep-2009  mrg add ./etc/mtree/set.modules so that modules.tgz is created with
actual files in it, rather than a 20 byte .gz file (ie, empty file.)


HI JNEMETH!
 1.1 07-Sep-2009  jnemeth Create a modules.tgz set and move kernel modules into it.
 1.20.2.1 05-Mar-2011  bouyer Sync with HEAD
 1.34.2.7 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.34.2.6 23-Jan-2013  yamt sync with head
 1.34.2.5 16-Jan-2013  yamt sync with (a bit old) head
 1.34.2.4 30-Oct-2012  yamt sync with head
 1.34.2.3 23-May-2012  yamt sync with head.
 1.34.2.2 17-Apr-2012  yamt sync with head
 1.34.2.1 10-Nov-2011  yamt sync with head
 1.39.2.2 15-Dec-2012  riz Pull up following revision(s) (requested by rmind in ticket #745):
distrib/sets/lists/comp/shl.mi: revision 1.241
distrib/sets/lists/modules/mi: revision 1.49
distrib/sets/lists/base/md.sparc64: revision 1.171
lib/npf/ext_rndblock/npfext_rndblock.c: revision 1.1
distrib/sets/lists/base/ad.mips64eb: revision 1.106
distrib/sets/lists/modules/md.evbppc: revision 1.29
sys/net/npf/npf_ext_rndblock.c: revision 1.1
lib/npf/Makefile: revision 1.2
sys/modules/npf_ext_rndblock/Makefile: revision 1.1
lib/npf/ext_rndblock/Makefile: revision 1.1
distrib/sets/lists/base/ad.mips64el: revision 1.106
lib/npf/ext_rndblock/shlib_version: revision 1.1
distrib/sets/lists/base/md.amd64: revision 1.182
distrib/sets/lists/base/shl.mi: revision 1.643
sys/net/npf/files.npf: revision 1.9
sys/modules/Makefile: revision 1.117
Add NPF &quot;rndblock&quot; extension to randomly drop packets (using a random function
with a percentage or modulo operation). This is a demo module, although it can
be used for packet loss simulation. Example of a procedure in npf.conf:
procedure &quot;somedrop&quot; {
# Drop 1.9% of the traffic
rndblock: percentage 1.9
}
 1.39.2.1 18-Nov-2012  riz Pull up following revision(s) (requested by rmind in ticket #693):
lib/npf/ext_normalise/shlib_version: revision 1.1
lib/libnpf/npf.c: revision 1.13
distrib/sets/lists/modules/mi: revision 1.48
sys/net/npf/npf_rproc.c: revision 1.3
sys/net/npf/npf_rproc.c: revision 1.4
sys/modules/npf/Makefile: revision 1.11
usr.sbin/npf/npfctl/npfctl.h: revision 1.20
lib/npf/ext_log/npfext_log.c: revision 1.1
lib/libnpf/npf.h: revision 1.11
sys/net/npf/npf_inet.c: revision 1.17
sys/net/npf/npf_log.c: file removal
sys/net/npf/npf_handler.c: revision 1.22
distrib/sets/lists/base/shl.mi: revision 1.636
sys/net/npf/npf_impl.h: revision 1.23
usr.sbin/npf/npfctl/Makefile: revision 1.8
lib/npf/Makefile: revision 1.1
lib/npf/ext_log/shlib_version: revision 1.1
lib/Makefile: revision 1.189
distrib/sets/lists/comp/shl.mi: revision 1.236
usr.sbin/npf/npfctl/npf_build.c: revision 1.14
distrib/sets/lists/base/mi: revision 1.1007
usr.sbin/npf/npfctl/npf_scan.l: revision 1.6
distrib/sets/lists/base/mi: revision 1.1009
sys/net/npf/npf.h: revision 1.21
lib/npf/ext_normalise/npfext_normalise.c: revision 1.1
etc/mtree/NetBSD.dist.base: revision 1.105
lib/libnpf/Makefile: revision 1.3
etc/mtree/NetBSD.dist.base: revision 1.106
usr.sbin/npf/npfctl/npf_extmod.c: revision 1.1
sys/net/npf/npf_ctl.c: revision 1.18
lib/npf/ext_log/Makefile: revision 1.1
distrib/sets/lists/comp/mi: revision 1.1781
usr.sbin/npf/npfctl/npf_var.h: revision 1.4
sys/net/npf/npf.c: revision 1.13
sys/modules/Makefile: revision 1.111
sys/net/npf/npf_ext_log.c: revision 1.1
lib/npf/Makefile.inc: revision 1.1
sys/net/npf/npf_ext_normalise.c: revision 1.1
sys/net/npf/files.npf: revision 1.8
sys/rump/net/lib/libnpf/Makefile: revision 1.2
sys/modules/npf_ext_log/Makefile: revision 1.1
lib/npf/ext_normalise/Makefile: revision 1.1
usr.sbin/npf/npfctl/npfctl.c: revision 1.20
usr.sbin/npf/npfctl/npf_parse.y: revision 1.13
sys/modules/npf_ext_normalise/Makefile: revision 1.1
Implement dynamic NPF extensions interface. An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module. Move normalisation and logging functionality into their own
extensions. More improvements to come.
Add /usr/lib/npf.
Add ./usr/libdata/debug/usr/lib/npf for rmind
Fix MKDEBUG set lists
ext_ops does not change during the life cycle and can be fetched without
the mutex held. This avoids confusion in the compiler about an uninitialized
variable ext_ops.
ok rmind@
 1.47.2.4 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.47.2.3 23-Jun-2013  tls resync from head
 1.47.2.2 25-Feb-2013  tls resync with head
 1.47.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.67.2.1 10-Aug-2014  tls Rebase.
 1.69.2.2 28-Oct-2019  martin Pull up following revision(s) (requested by maya in ticket #1710):

distrib/sets/lists/modules/mi: revision 1.127
sys/modules/Makefile: revision 1.230
sys/modules/filemon/Makefile: revision 1.4 (manually adjusted)
sys/modules/Makefile: revision 1.229

Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.

-

Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.

XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
 1.69.2.1 21-Mar-2015  snj branches: 1.69.2.1.2; 1.69.2.1.6;
Pull up following revision(s) (requested by jmcneill in ticket #634):
distrib/sets/lists/modules/md.amd64: revision 1.51
distrib/sets/lists/modules/md.evbppc.powerpc: revision 1.5
distrib/sets/lists/modules/md.i386: revision 1.55
distrib/sets/lists/modules/mi: revision 1.71
sys/dev/i2c/au8522.c: revision 1.7
sys/dev/i2c/cx24227.c: revision 1.7
sys/dev/i2c/dbcool.c: revision 1.42
sys/dev/i2c/hytp14.c: revision 1.3
sys/dev/i2c/i2c_exec.c: revision 1.10
sys/dev/i2c/lg3303.c: revision 1.9
sys/dev/i2c/mt2131.c: revision 1.5
sys/dev/i2c/nxt2k.c: revision 1.4
sys/dev/i2c/sdtemp.c: revision 1.24
sys/dev/i2c/spdmem_i2c.c: revision 1.10
sys/dev/i2c/tvpll.c: revision 1.6
sys/dev/i2c/xc3028.c: revision 1.7
sys/dev/i2c/xc5k.c: revision 1.6
sys/dev/i2c/zl10353.c: revision 1.4
sys/modules/Makefile: revision 1.143
sys/modules/i2cexec/Makefile: revision 1.1
i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.
A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
 1.69.2.1.6.1 28-Oct-2019  martin Pull up following revision(s) (requested by maya in ticket #1710):

distrib/sets/lists/modules/mi: revision 1.127
sys/modules/Makefile: revision 1.230
sys/modules/filemon/Makefile: revision 1.4 (manually adjusted)
sys/modules/Makefile: revision 1.229

Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.

-

Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.

XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
 1.69.2.1.2.1 28-Oct-2019  martin Pull up following revision(s) (requested by maya in ticket #1710):

distrib/sets/lists/modules/mi: revision 1.127
sys/modules/Makefile: revision 1.230
sys/modules/filemon/Makefile: revision 1.4 (manually adjusted)
sys/modules/Makefile: revision 1.229

Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.

-

Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.

XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
 1.86.2.5 26-Apr-2017  pgoyette Sync with HEAD
 1.86.2.4 20-Mar-2017  pgoyette Sync with HEAD
 1.86.2.3 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.86.2.2 04-Nov-2016  pgoyette Sync with HEAD
 1.86.2.1 06-Aug-2016  pgoyette Sync with HEAD
 1.107.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.110.2.2 28-Oct-2019  martin Pull up following revision(s) (requested by maya in ticket #1418):

distrib/sets/lists/modules/mi: revision 1.127
sys/modules/Makefile: revision 1.230
sys/modules/filemon/Makefile: revision 1.4 (manually adjusted)
sys/modules/Makefile: revision 1.229

Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.

-

Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.

XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
 1.110.2.1 21-Dec-2017  snj Pull up following revision(s) (requested by pgoyette in ticket #436):
distrib/sets/lists/modules/mi: revision 1.112
sys/modules/Makefile: revision 1.196
sys/modules/ip_ecn/Makefile: revision 1.1
sys/modules/if_gif/Makefile: revision 1.3
sys/net/if_gif.c: revision 1.136
sys/netinet/ip_ecn.c: revision 1.17
Split ip_ecn code into its own module, so it can be shared between
gif(4), stf(4), and ipsec(4). Without this, loading the if_gif
module can result in redefined global symbols if either ipsec(4) or
stf(4) but not gif(4) is built into the kernel.
Fixes PR kern/52795 (as reported by martin@ via irc).
 1.114.2.24 23-Sep-2018  pgoyette Use the correct module name
 1.114.2.23 23-Sep-2018  pgoyette Split the compat_crypto_50 from the rest of the crypto module

Cleanup some stuff left over from similar changes to raid modules.
 1.114.2.22 22-Sep-2018  pgoyette Split the raidframe compatability code out into separate modules, since
the driver is already a module. This avoids having to pass a bunch of
function pointers as arguments to raidframe's compat_ioctl().
 1.114.2.21 10-Sep-2018  pgoyette Update for removal of monolithic compat modules, and for introduction
of version-specific compat_netbsd32_xx modules
 1.114.2.20 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.114.2.19 21-May-2018  pgoyette Sync with HEAD
 1.114.2.18 22-Apr-2018  pgoyette Update sets lists for new compat_sysv_xx version-specific modules
 1.114.2.17 17-Apr-2018  pgoyette Actually create the new compat_sysctl_09_43 module
 1.114.2.16 17-Apr-2018  pgoyette Finish separating the compat_09 and compat_43 stuff
 1.114.2.15 17-Apr-2018  pgoyette First pass at compat modules for 4.3BSD, NetBSD-0.9, and NetBSD-1.0

XXX Still need to deal with the sysctl stuff and other code shared
XXX between 09 and 43
 1.114.2.14 31-Mar-2018  pgoyette create the compat_12 module
 1.114.2.13 30-Mar-2018  pgoyette Create the compat_util module for use by version-specific compat code.
(It's automatically included in the monolithic compat module, as well
as in kernels with built-in compat code.)
 1.114.2.12 30-Mar-2018  pgoyette Add compat_13 module
 1.114.2.11 30-Mar-2018  pgoyette Extract compat_14 stuff into its own module
 1.114.2.10 30-Mar-2018  pgoyette Create and build a compat_16 module
 1.114.2.9 30-Mar-2018  pgoyette Add compat_20 module to sets lists
 1.114.2.8 28-Mar-2018  pgoyette Initial pass at a compat_30 module.

Still needs some work for dev/vnd and various dev/usb/*
 1.114.2.7 27-Mar-2018  pgoyette Create a compat_40 module
 1.114.2.6 24-Mar-2018  pgoyette Separate the compat_50 and compat_80 dispatching code from the main
body of raidframe, and place into the appropriate compat modules.

Enable building of the compat_80 module.
 1.114.2.5 19-Mar-2018  pgoyette Update sets lists for new COMPAT_50 module
 1.114.2.4 18-Mar-2018  pgoyette Move closer to a complete compat_60 module. All that remains is some
tty stuff and some ccd ioctl()s.
 1.114.2.3 15-Mar-2018  pgoyette Create a separate module for COMPAT_70 code only, and untangle the
70 compat code from the current.
 1.114.2.2 09-Mar-2018  pgoyette Reuse the previous module name rather than craeting a new and longer one
 1.114.2.1 09-Mar-2018  pgoyette Add new compat_sysv_ipc module to sets lists.
 1.116.2.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.116.2.1 10-Jun-2019  christos Sync with HEAD
 1.122.2.3 09-Dec-2019  martin Pull up following revision(s) (requested by jmcneill in ticket #525):

external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
distrib/sets/lists/modules/md.i386: revision 1.83
share/mk/bsd.own.mk: revision 1.1168
usr.bin/mkubootimage/mkubootimage.c: revision 1.25
sys/modules/dtrace/Makefile: revision 1.7
usr.bin/mkubootimage/mkubootimage.c: revision 1.26
sys/modules/dtrace/Makefile: revision 1.8
external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
distrib/sets/lists/modules/mi: revision 1.128
sys/arch/aarch64/include/frame.h: revision 1.3
sys/arch/evbarm/conf/mk.generic64: revision 1.4
external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
sys/modules/cyclic/Makefile: revision 1.4
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
sys/arch/aarch64/aarch64/start.S: revision 1.3
sys/arch/aarch64/aarch64/trap.c: revision 1.22
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
distrib/sets/lists/modules/md.amd64: revision 1.82
usr.bin/mkubootimage/mkubootimage.1: revision 1.13
distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison
 1.122.2.2 28-Oct-2019  martin Pull up following revision(s) (requested by maya in ticket #385):

distrib/sets/lists/modules/mi: revision 1.127
sys/modules/Makefile: revision 1.230
sys/modules/filemon/Makefile: revision 1.4 (manually adjusted)
sys/modules/Makefile: revision 1.229

Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.

-

Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.

XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
 1.122.2.1 01-Sep-2019  martin Pull up following revision(s) (requested by mrg in ticket #135):

distrib/sets/lists/comp/mi 1.2279
distrib/sets/lists/modules/mi 1.123
share/man/man9/Makefile 1.438
share/man/man9/usbnet.9 1.1-1.9
sys/dev/ic/rndisreg.h 1.3
sys/dev/usb/TODO 1.47-1.52
sys/dev/usb/TODO.usbmp 1.15,1.16
sys/dev/usb/files.usb 1.157-1.167
sys/dev/usb/if_aue.c 1.155-1.161
sys/dev/usb/if_auereg.h 1.30-1.32
sys/dev/usb/if_axe.c 1.103-1.119
sys/dev/usb/if_axen.c 1.51-1.53,1.55-1.67
sys/dev/usb/if_axenreg.h 1.15
sys/dev/usb/if_cdce.c 1.54-1.67
sys/dev/usb/if_cue.c 1.85,1.86
sys/dev/usb/if_cuereg.h 1.23
sys/dev/usb/if_kue.c 1.97-1.100
sys/dev/usb/if_kuereg.h 1.23,1.24
sys/dev/usb/if_mue.c 1.51-1.55
sys/dev/usb/if_muereg.h 1.6
sys/dev/usb/if_muevar.h 1.9
sys/dev/usb/if_smsc.c 1.46-1.61
sys/dev/usb/if_smscreg.h 1.6
sys/dev/usb/if_smscvar.h delete
sys/dev/usb/if_udav.c 1.60-1.71
sys/dev/usb/if_udavreg.h 1.14,1.15
sys/dev/usb/if_upl.c 1.65,1.66
sys/dev/usb/if_ure.c 1.15-1.31
sys/dev/usb/if_urevar.h 1.4,1.5
sys/dev/usb/if_url.c 1.67-1.70
sys/dev/usb/if_urlreg.h 1.14
sys/dev/usb/if_urndis.c 1.22-1.33
sys/dev/usb/if_urtwn.c 1.72
sys/dev/usb/ohci.c 1.290
sys/dev/usb/uhub.c 1.143
sys/dev/usb/usb.c 1.180
sys/dev/usb/usb.h 1.118
sys/dev/usb/usb_mem.c 1.71
sys/dev/usb/usb_subr.c 1.238,1.239
sys/dev/usb/usbdevs 1.772
sys/dev/usb/usbdi.c 1.183,1.186
sys/dev/usb/usbdi.h 1.97
sys/dev/usb/usbdi_util.c 1.75
sys/dev/usb/usbhist.h 1.5,1.6
sys/dev/usb/usbnet.c 1.1-1.24
sys/dev/usb/usbnet.h 1.1-1.14
sys/dev/usb/usbroothub.c 1.9
sys/dev/usb/xhci.c 1.109,1.110
sys/modules/Makefile 1.223
sys/modules/usbnet/Makefile 1.1

usbnet(9): Add common framework for USB network devices.
This bring various safety fixes to all updated drivers,
and includes locking clean up, detach safety when being
used or not, separate rx/tx locks to improve performance,
porting to NET_MPSAFE, many edge/error case bugs in
drivers fixed, as well as resovling PRs 54303 and 54308.
These drivers are converted: axe(4), axen(4), aue(4),
cdce(4), cue(4), kue(4), mue(4), smsc(4), udav(4),
upl(4), ure(4), url(4), and urndis(4).
 1.142.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.143.2.1 31-May-2021  cjep sync with head
 1.157.2.1 20-Jul-2024  martin Pull up following revision(s) (requested by rin in ticket #765):

sys/modules/Makefile: revision 1.291
distrib/sets/lists/modules/mi: revision 1.160
distrib/sets/lists/debug/module.mi: revision 1.27

modules: Build `ipl` module only if MKIPFILTER is enabled
 1.159.2.1 02-Aug-2025  perseant Sync with HEAD

RSS XML Feed