History log of /netbsd-current/distrib/sets/lists/modules/mi
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.160 18-Jul-2024 rin

modules: Build `ipl` module only if MKIPFILTER is enabled


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.159 27-Aug-2023 kardel

make owtemp a module


# 1.158 20-Dec-2022 jakllsch

add compat_100 module setlist entries


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.157 03-Dec-2022 brad

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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.159 27-Aug-2023 kardel

make owtemp a module


# 1.158 20-Dec-2022 jakllsch

add compat_100 module setlist entries


Revision tags: netbsd-10-base
# 1.157 03-Dec-2022 brad

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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.158 20-Dec-2022 jakllsch

add compat_100 module setlist entries


Revision tags: netbsd-10-base
# 1.157 03-Dec-2022 brad

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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.157 03-Dec-2022 brad

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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.145 17-Aug-2021 christos

modules for if_wg, blake2s, libsodium


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: cjep_staticlib_x-base thorpej-futex-base
# 1.143 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.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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.143 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.


Revision tags: thorpej-futex-base
# 1.142 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.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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.142 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.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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.137 23-Apr-2020 uki

Add -unknown- to "./netbsd" in modules/mi to fix "build.sh syspkgs" failure


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 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


Revision tags: is-mlppp-base
# 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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.128 04-Dec-2019 jmcneill

Move dtrace_syscall_linux out of mi set list


Revision tags: phil-wifi-20191119
# 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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

branches: 1.122.2;
Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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.


Revision tags: netbsd-9-base
# 1.122 20-Jun-2019 pgoyette

Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.122 20-Jun-2019 pgoyette

Update sets lists for new ufs module


Revision tags: phil-wifi-20190609
# 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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.116 20-May-2018 thorpej

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


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.114 09-Jan-2018 christos

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


Revision tags: perseant-stdc-iso10646-base
# 1.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: matt-nb8-mediatek-base netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

branches: 1.110.2;
Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.111 11-Jun-2017 pgoyette

Add new wsbell(4) module to the sets list.


Revision tags: netbsd-8-base
# 1.110 01-Jun-2017 pgoyette

Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.110 01-Jun-2017 pgoyette

Update sets lists for new modules


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 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).


Revision tags: pgoyette-localcount-20170320
# 1.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.108 16-Feb-2017 knakahara

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 1.107 04-Jan-2017 christos

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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.


Revision tags: pgoyette-localcount-20170107
# 1.107 04-Jan-2017 christos

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


Revision tags: pgoyette-localcount-20161104
# 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.


Revision tags: localcount-20160914
# 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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 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
}


Revision tags: yamt-pagecache-base6
# 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!


Revision tags: yamt-pagecache-base5
# 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)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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


Revision tags: matt-premerge-20091211
# 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.106 14-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 14-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 14-Dec-2016 christos

delete spkr_synth


# 1.102 09-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 15-Nov-2016 pgoyette

Update sets lists for new bufq_* modules


Revision tags: pgoyette-localcount-20161104
# 1.100 01-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 26-Sep-2016 pgoyette

Update sets lists for all the new modules (for l4(4) and its attachments)


# 1.96 16-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.


Revision tags: localcount-20160914
# 1.94 09-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 05-Aug-2016 christos

sets for slip and strip


# 1.89 06-Aug-2016 christos

rename the ppp module so that it autoloads.


# 1.88 05-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.


Revision tags: pgoyette-localcount-20160806
# 1.87 04-Aug-2016 pgoyette

Update sets lists for new slcompress module


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.86 08-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 06-Jun-2016 pgoyette

Update sets for new i2c_bitbang and bpf_filter modules.


# 1.83 25-Dec-2015 pgoyette

Descend into new raid module, and update sets lists.


# 1.82 07-Dec-2015 pgoyette

Modularize drvctl(4)


# 1.81 06-Dec-2015 pgoyette

Modularize the clockctl pseudo-device and link to the build.


# 1.80 02-Dec-2015 pgoyette

Update sets list for merge of compat_sysv --> sysv_ipc


# 1.79 14-Nov-2015 pgoyette

Add the newly-created wapbl module to the sets list.


# 1.78 12-May-2015 pgoyette

Update sets lists for new sysv_ipc module


# 1.77 10-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 08-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.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.69 18-May-2014 jakllsch

branches: 1.69.2;
add hythygtemp module to set lists


# 1.68 15-May-2014 apb

sort


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.51 11-Mar-2013 christos

more npf sets lossage.


Revision tags: yamt-pagecache-base8
# 1.50 18-Dec-2012 tron

Add entries for "cylic" and "profile" modules which are part of DTrace.


Revision tags: yamt-pagecache-base7
# 1.49 09-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
}


Revision tags: yamt-pagecache-base6
# 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 04-Aug-2012 riastradh

Build hdaudio and hdafg modules.


# 1.45 03-Aug-2012 pgoyette

Add distrib entries for new uatp module.

Hello, riastradh!


Revision tags: yamt-pagecache-base5
# 1.44 25-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 24-Apr-2012 pgoyette

Actually create the dbcool(4) module. Driver was modularized a while ago.


# 1.41 24-Apr-2012 pgoyette

Create the module for sdtemp (driver itself was modularized some time ago)


Revision tags: yamt-pagecache-base4
# 1.40 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 1.39 04-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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2
# 1.36 06-Nov-2011 tron

Add entries for "npf_alg_icmp" kernel module.


# 1.35 06-Nov-2011 tron

Add "npf" kernel module.


Revision tags: yamt-pagecache-base
# 1.34 01-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 10-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 08-Aug-2011 jmcneill

add dtv_math module


# 1.25 31-Jul-2011 pgoyette

Ooopppsss - there were some other modules here that should not have been
committed. Remove them.


# 1.24 31-Jul-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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
# 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 29-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 28-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 20-Feb-2010 darran

Add DTrace to sets.


# 1.6 25-Jan-2010 pooka

add bpf kmod


Revision tags: matt-premerge-20091211
# 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 06-Sep-2009 jnemeth

Create a modules.tgz set and move kernel modules into it.


# 1.78 12-May-2015 pgoyette

Update sets lists for new sysv_ipc module


# 1.77 10-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 14-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 16-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 09-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 04-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 25-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 24-Apr-2012 pgoyette

Actually create the dbcool(4) module. Driver was modularized a while ago.


# 1.41 24-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 04-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 08-Aug-2011 jmcneill

add dtv_math module


# 1.25 31-Jul-2011 pgoyette

Ooopppsss - there were some other modules here that should not have been
committed. Remove them.


# 1.24 31-Jul-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 29-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 28-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 20-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 06-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 22-Jan-2013 yamt

sync with head


# 1.34.2.5 15-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 16-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 24-Feb-2013 tls

resync with head


# 1.47.2.1 19-Nov-2012 tls

Resync to 2012-11-19 00:00:00 UTC


# 1.67.2.1 10-Aug-2014 tls

Rebase.


# 1.69.2.1 21-Mar-2015 snj

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.