Home | History | Annotate | Download | only in dev
History log of /src/sys/dev/Makefile
RevisionDateAuthorComments
 1.48  20-Aug-2022  riastradh sys/dev/Makefile: Split INCS onto separate lines for ease of sorting.

Also sort.
 1.47  27-Sep-2020  jmcneill Use HAVE_NVMM for nvmm headers
 1.46  14-Sep-2020  rin Revert previous to make iscsi kernel headers optional again, as
required by kamil.

Now, sanitizer in GCC9 has been fixed differently for MKISCSI=no.
 1.45  10-Sep-2020  rin Unconditionally install kernel headers for iSCSI as required by
sanitizer shipped with GCC9.

Fix build release with HAVE_GCC=9 for sun2, where MKISCSI=no by default.
 1.44  19-Jan-2020  riastradh Remove filemon(4).

Discussed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html

This was never (intentionally) enabled by default, and the design has
some shortcomings. You can get mostly the same results with ktrace,
as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead
of filemon for make's meta mode.

If applications require higher performance than ktrace, or nesting
that ktrace doesn't support, we might consider adding something back
into the vfs system calls themselves, without hijacking the syscall
table. (Might want a more reliable output format too, e.g. one that
can handle newlines in file names.)
 1.43  23-Dec-2019  maxv branches: 1.43.2;
Revert the removal of filemon.
 1.42  18-Dec-2019  maxv Retire filemon, discussed on tech-kern@.
 1.41  24-Feb-2019  rin Hook spi.
 1.40  07-Nov-2018  maxv Add NVMM - for NetBSD Virtual Machine Monitor -, a kernel driver that
provides support for hardware-accelerated virtualization on NetBSD.

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

We install

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

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

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

Sent to tech-kern@ a month ago. Validated with kASan, and optimized
with tprof.
 1.39  10-Dec-2017  bouyer branches: 1.39.2; 1.39.4;
Fix fallout from hid factorisation:
- need to install sys/dev/hid/hid.h for userland
- include it where needed - most of the time in place if usb/usbhid.h
 1.38  09-Dec-2016  christos move spkrio.h out of isa
 1.37  02-Aug-2015  jmcneill branches: 1.37.2;
Install hdmicecio.h
 1.36  28-Mar-2015  jmcneill Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.
 1.35  20-Jun-2012  sjg branches: 1.35.2; 1.35.16;
Install filemon.h
 1.34  17-Nov-2011  he Make the test for MKISCSI actually work by including bsd.own.mk and
testing the expanded variable, not just the variable name(!) Fixes the
build for sun2.
 1.33  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.32  02-Oct-2011  jmcneill branches: 1.32.2;
Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver.
Obsolete the I2C_SCAN option as this can now be done from userland.
 1.31  09-Jul-2011  jmcneill install dtvio.h, dtvio_demux.h, dtvio_frontend.h
 1.30  05-Dec-2009  haad Install netbsd-dm.h file to include/dev/dm so it can be used by public.
 1.29  15-Aug-2009  uwe Add keylock.h to INCS so that it's actually installed (hi, marc!)
 1.28  06-Nov-2008  cegger wrap lines. no functional change.
 1.27  20-Nov-2007  pooka branches: 1.27.14; 1.27.18; 1.27.24; 1.27.26;
pud (userspace char/block drivers) build goo
 1.26  12-Nov-2007  pooka * split the putter header into a kernel version and a userland version
+ install latter to /usr/include/dev/putter
* remove last dependencies to puffs from putter, it's completely
independent now
 1.25  01-May-2007  bouyer branches: 1.25.6; 1.25.8; 1.25.12; 1.25.14;
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
 1.24  07-Sep-2006  ad branches: 1.24.6; 1.24.8; 1.24.12; 1.24.14;
Add the 'lockstat' driver, which collects basic information about lock events.
 1.23  19-Jun-2006  gdamore Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
 1.22  08-Jun-2006  rpaulo branches: 1.22.2;
Descend into microcode.
 1.21  25-Feb-2006  christos branches: 1.21.2; 1.21.8;
As core requested, remove vinum
 1.20  11-Dec-2005  christos branches: 1.20.2; 1.20.4; 1.20.6;
merge ktrace-lwp.
 1.19  13-Mar-2004  bjh21 branches: 1.19.14; 1.19.16;
Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
 1.18  10-Dec-2003  hannken The file system snapshot pseudo driver.

Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
 1.17  10-Oct-2003  grog Include Vinum.
 1.16  13-Jan-2003  briggs branches: 1.16.2;
Add dmover to the list of SUBDIRs.
 1.15  04-Dec-2002  haya New Feature: add pseudo device for IEEE 1394 isochronous stream and
isochronous reception routine for IEEE 1394 OHCI (fwohci). The
transmission part is under construction.

The minimum configuration options for this feature are:

# IEEE 1394 (i.LINK)
fwohci* at pci? dev ? function ?
pseudo-device fwiso 1
 1.14  26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.13  14-Oct-2002  takemura Moved MI APM definitions into dev/apm.
 1.12  04-Oct-2002  elric Add cgdvar.h to the list of files installed.
 1.11  28-Jun-2002  thorpej This is the "kttcp" network throughput testing pseudo-device. From
the block comment at the top of the file:

This module provides kernel support for testing network
throughput from the perspective of the kernel. It is
similar in spirit to the classic ttcp network benchmark
program, the main difference being that with kttcp, the
kernel is the source and sink of the data.

Testing like this is useful for a few reasons:

1. This allows us to know what kind of performance we can
expect from network applications that run in the kernel
space, such as the NFS server or the NFS client. These
applications don't have to move the data to/from userspace,
and so benchmark programs which run in userspace don't
give us an accurate model.

2. Since data received is just thrown away, the receiver
is very fast. This can provide better exercise for the
sender at the other end.

3. Since the NetBSD kernel currently uses a run-to-completion
scheduling model, kttcp provides a benchmark model where
preemption of the benchmark program is not an issue.

There is a companion "kttcp" user program which uses the kttcp
pseudo-device.

Largely written by Frank van der Linden, with some modifications
from me.
 1.10  04-Dec-2001  augustss branches: 1.10.8;
Add ir/ to SUBDIR.
 1.9  04-Oct-2001  oster Need to recurse into the raidframe subdir too.
 1.8  11-Apr-2001  jdolecek branches: 1.8.2; 1.8.4;
Put back all header files defining ioctls
 1.7  11-Apr-2001  jdolecek Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.

I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
 1.6  23-Feb-2001  uch branches: 1.6.2;
I forgot to move Makefile.
 1.5  08-Nov-2000  ad Recurse into i2o/.
 1.4  16-Jun-2000  matt branches: 1.4.2;
No real change. Alphabetize the list of directories.
 1.3  28-Jul-1998  pk branches: 1.3.14; 1.3.22;
Add `sbus' to SUBDIRS.
 1.2  12-Jul-1998  augustss Add USB.
 1.1  12-Jun-1998  cgd Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
 1.3.22.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.3.14.4  21-Apr-2001  bouyer Sync with HEAD
 1.3.14.3  12-Mar-2001  bouyer Sync with HEAD.
 1.3.14.2  22-Nov-2000  bouyer Sync with HEAD.
 1.3.14.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.2.1  25-Oct-2001  he Apply patch (requested by ad):
Add Mylex DACC960, CAC-EISA, and I2O block/SCSI drivers.
 1.6.2.7  15-Jan-2003  thorpej Sync with HEAD.
 1.6.2.6  11-Dec-2002  thorpej Sync with HEAD.
 1.6.2.5  18-Oct-2002  nathanw Catch up to -current.
 1.6.2.4  01-Aug-2002  nathanw Catch up to -current.
 1.6.2.3  08-Jan-2002  nathanw Catch up to -current.
 1.6.2.2  22-Oct-2001  nathanw Catch up to -current.
 1.6.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.8.4.1  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.8.2.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.8.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.8.1  15-Jul-2002  gehenna catch up with -current.
 1.16.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.16.2.1  03-Aug-2004  skrll Sync with HEAD
 1.19.16.5  07-Dec-2007  yamt sync with head
 1.19.16.4  15-Nov-2007  yamt sync with head.
 1.19.16.3  03-Sep-2007  yamt sync with head.
 1.19.16.2  30-Dec-2006  yamt sync with head.
 1.19.16.1  21-Jun-2006  yamt sync with head.
 1.19.14.1  15-Oct-2007  riz Pull up following revisions via patch (requested by bouyer in ticket #1838):
distrib/sets/lists/man/mi: revision 1.997
sbin/bioctl/strtonum.c: revision 1.1
sys/dev/Makefile: revision 1.25
sys/arch/amd64/conf/GENERIC: revision 1.139
sbin/bioctl/strtonum.h: revision 1.1
sys/dev/bio.c: revision 1.1
sbin/bioctl/bioctl.c: revision 1.1
share/man/man4/bio.4: revision 1.1
sbin/bioctl/bioctl.8: revision 1.1
sys/sys/envsys.h: revision 1.11
sbin/bioctl/bioctl.8: revision 1.3
sbin/bioctl/bioctl.8: revision 1.4
sys/arch/i386/conf/XEN2_DOM0: revision 1.25
distrib/sets/lists/base/mi: revision 1.704
sys/conf/majors: revision 1.34
share/man/man4/Makefile: revision 1.426
etc/MAKEDEV.tmpl: revision 1.86
sys/arch/i386/conf/GENERIC: revision 1.825
distrib/sets/lists/comp/mi: revision 1.1022
sys/conf/files: revision 1.839
usr.sbin/envstat/envstat.c: revision 1.24
sbin/Makefile: revision 1.105
sys/dev/ic/mfi.c: revision 1.4
sys/dev/biovar.h: revision 1.1
sys/dev/ic/mfivar.h: revision 1.4
sbin/bioctl/Makefile: revision 1.1
Fix typo.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Fix Dd argument (use full month names).
Use more markup.
Comment out references to safte(4) and softraid(4), which don't exist in
NetBSD.
Remove trailing whitespace.
Use macros instead of characters for HTML output (replace ">", "<"
with \*[Gt], \*[Lt]).
Sort sections.
Create /dev/bio
 1.20.6.1  22-Apr-2006  simonb Sync with head.
 1.20.4.1  09-Sep-2006  rpaulo sync with head
 1.20.2.1  01-Mar-2006  yamt sync with head.
 1.21.8.2  22-Jun-2006  chap Complete a sync sys/ with head.
 1.21.8.1  19-Jun-2006  chap Sync with head.
 1.21.2.2  14-Sep-2006  yamt sync with head.
 1.21.2.1  26-Jun-2006  yamt sync with head.
 1.22.2.1  13-Jul-2006  gdamore Merge from HEAD.
 1.24.14.1  11-Jul-2007  mjf Sync with head.
 1.24.12.1  27-May-2007  ad Sync with head.
 1.24.8.1  07-May-2007  yamt sync with head.
 1.24.6.1  08-May-2007  pavel Pull up following revision(s) (requested by bouyer in ticket #603):
distrib/sets/lists/base/mi: revision 1.704
distrib/sets/lists/comp/mi: revision 1.1022
distrib/sets/lists/man/mi: revision 1.997
doc/CHANGES: revision 1.839
sbin/Makefile: patch
sbin/bioctl/Makefile: revision 1.1
sbin/bioctl/bioctl.8: revision 1.1
sbin/bioctl/bioctl.c: revision 1.1
sbin/bioctl/strtonum.c: revision 1.1
sbin/bioctl/strtonum.h: revision 1.1
share/man/man4/Makefile: revision 1.426
share/man/man4/bio.4: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.139
sys/arch/i386/conf/GENERIC: revision 1.825
sys/arch/i386/conf/XEN2_DOM0: revision 1.25
sys/conf/files: revision 1.839
sys/conf/majors: patch
sys/dev/Makefile: revision 1.25
sys/dev/bio.c: patch
sys/dev/biovar.h: patch
sys/dev/ic/mfi.c: revision 1.4-1.5
sys/dev/ic/mfivar.h: revision 1.4
sys/sys/envsys.h: revision 1.11
usr.sbin/envstat/envstat.c: revision 1.24
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

note bio(4), envsys(4) DRIVE, and mfi(4) support for both.

tred->sensor is a u_int.
 1.25.14.3  18-Feb-2008  mjf Add some devfs code that's been sitting in my local tree for a while.

devfsd(8) is now the first daemon to be started after init(8). It tracks
device insertion (will eventually track removal) and devfs mounts.

Currently, we can mount multiple device file systems and have device
special files pushed into the mounts automatically, though, the device
special files aren't created with the correct major/minor number pairs
yet.

More work to come soon.
 1.25.14.2  08-Dec-2007  mjf Sync with HEAD.
 1.25.14.1  19-Nov-2007  mjf Sync with HEAD.
 1.25.12.2  21-Nov-2007  bouyer Sync with HEAD
 1.25.12.1  13-Nov-2007  bouyer Sync with HEAD
 1.25.8.1  09-Jan-2008  matt sync with HEAD
 1.25.6.2  21-Nov-2007  joerg Sync with HEAD.
 1.25.6.1  14-Nov-2007  joerg Sync with HEAD.
 1.27.26.1  19-Jan-2009  skrll Sync with HEAD.
 1.27.24.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.27.24.1  07-Jul-2008  haad Import of device-mapper driver. This driver is BSD rewrite of linux dm driver.
For now only error, linear and zero targets are supported. This driver uses NetBSD
specific ioctl protocola based on proplib.

I was able to create logical volume (with lvm2tools lvcreate utility) with this
version of driver, newfs it and mount it.
 1.27.18.3  11-Mar-2010  yamt sync with head
 1.27.18.2  19-Aug-2009  yamt sync with head.
 1.27.18.1  04-May-2009  yamt sync with head.
 1.27.14.2  03-Apr-2008  mjf Rename the dctl psuedo-device to devfsctl after discussion on tech-kern.

If you are running a devfs-enabled kernel, please update your config to
use devfsctl instead of dctl.
 1.27.14.1  21-Feb-2008  mjf Start where the mjf-devfs branch left off.
 1.32.2.2  30-Oct-2012  yamt sync with head
 1.32.2.1  17-Apr-2012  yamt sync with head
 1.35.16.3  05-Feb-2017  skrll Sync with HEAD
 1.35.16.2  22-Sep-2015  skrll Sync with HEAD
 1.35.16.1  06-Apr-2015  skrll Sync with HEAD
 1.35.2.1  03-Dec-2017  jdolecek update from HEAD
 1.37.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.39.4.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.39.4.1  10-Jun-2019  christos Sync with HEAD
 1.39.2.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.43.2.1  25-Jan-2020  ad Sync with head.

RSS XML Feed