Home | History | Annotate | Download | only in modules
History log of /src/distrib/sets/lists/modules/mi
RevisionDateAuthorComments
 1.164  11-Mar-2025  brad A driver and userland utility for a couple of families of the
Microchip Technology / SMSC fan controller chips.

The driver and utility supports the:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The chip can be used in situations where:

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Welcome to 9.99.40 !

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

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

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

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

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

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

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

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

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

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

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

* BUGS/TODO

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

- Get rid of the LKM preprocessor stuff.

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

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

- 5.99.20.

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

Mailing list reference:

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


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

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

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

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

Disable filemon.

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

Thanks Ilja van Sprundel for the heads up.

-

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

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

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

Disable filemon.

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

Thanks Ilja van Sprundel for the heads up.

-

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

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

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

Disable filemon.

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

Thanks Ilja van Sprundel for the heads up.

-

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

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

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

Disable filemon.

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

Thanks Ilja van Sprundel for the heads up.

-

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

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

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

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

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

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

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

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

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

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

Add -u flag for updating headers in place.

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

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

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

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

Disable filemon.

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

Thanks Ilja van Sprundel for the heads up.

-

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

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

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

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

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

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

RSS XML Feed