Home | History | Annotate | Download | only in etc.i386
History log of /src/etc/etc.i386/MAKEDEV.conf
RevisionDateAuthorComments
 1.37  28-Mar-2025  riastradh MAKEDEV: New `virtio' target for all virtio-related devices.

We can use this to add more as they come up so we don't have to keep
tweaking every etc.${MACHINE}/MAKEDEV.conf every time. Currently
this makes nodes for viocon(4) and vio9p(4).

(Not all GENERIC kernels enable vio9p(4) but I suspect the ones that
don't really should; for those that are disabled because PAGE_SIZE !=
4096, I expect it's just a matter of some additional indexing to make
vio9p(4) work with other page sizes.)

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs
 1.36  02-Apr-2024  riastradh MAKEDEV: Tidy some entries on x86 and Arm.

While here, reduce some diffs arising from ordering and formatting
between these architectures.

Only difference between evbarm and aarch64 now is /dev/vchiq. Not
sure offhand if it makes sense on aarch64 or only 32-bit Arm.

PR port-amd64/58093: /dev/efi missing on x86
PR port-arm/58100: /dev/ttyVI* missing on aarch64
PR port-arm/58101: /dev/nvme* missing on aarch64
PR port-arm/58102: /dev/raid* missing on aarch64
 1.35  12-Aug-2022  riastradh branches: 1.35.2;
viocon(4): New virtio tty driver imported from OpenBSD.

viocon* at virtio?

/dev/ttyVI??

Tested under qemu with:

qemu-system-aarch64 ... \
-device virtio-serial \
-chardev socket,path=/tmp/ttyVI00,server=on,wait=off,id=ttyVI00 \
-device virtconsole,chardev=ttyVI00,name=org.NetBSD.dev.ttyVI00 \
...

I updated MAKEDEV.conf to create /dev/ttyVI?? on all ports where it
looks likely to work based on:
(a) having pci or a non-pci virtio attachment,
(b) `qemu-system-$ARCH -M ?' mentioned something resembling the port,
and
(c) `qemu-system-$ARCH -device virtio-serial' launched without
complaining about the virtio-serial device.

(Criterion (c) excluded sparc and sparc64.)
 1.34  24-Jul-2021  jmcneill smbios: Add character device for accessing SMBIOS tables

The /dev/smbios character device gives an aperture into physical memory
that allows read-only access to the SMBIOS header and tables.
 1.33  06-Dec-2020  jmcneill acpi: add character device for accessing ACPI tables

The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.
 1.32  03-Aug-2020  nia Create 8 /dev/ldX by default, as with other disk drivers and ports
 1.31  05-Apr-2020  jdolecek remove nsmb from MD list of devices to create for 'all'
 1.30  21-Jul-2019  maya branches: 1.30.2;
Create up to pci19.

We probably don't need more than one pci file, but the code needs to be
changed for it, which might introduce problems, and we're just before a
branch.

Not needed for evbarm because it uses devpubd by default.

Stopgap fix for PR xsrc/54388.
 1.29  27-Jan-2019  maxv Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.
 1.28  27-Nov-2018  msaitoh Add tprof
 1.27  23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.26  05-Jan-2018  msaitoh branches: 1.26.2; 1.26.4;
Add NVMe devices.
 1.25  23-Sep-2012  chs branches: 1.25.24;
add more sd and pci devices.
remove duplicate ch0.
 1.24  19-Sep-2012  bouyer Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
 1.23  16-Aug-2012  abs branches: 1.23.2;
Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
 1.22  07-Apr-2012  christos give wedges to everyone
 1.21  26-Feb-2011  ahoka branches: 1.21.4; 1.21.6;
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  04-Nov-2008  joerg branches: 1.20.4;
Now that the installation floppies are including tmpfs as well, stop
distinguishing MAKEDEV init and MAKEDEV all for x86.
 1.19  31-Oct-2008  joerg Create 8 dk instances by default.
 1.18  31-Oct-2008  joerg Can't type. xkbd -> xbd.
 1.17  31-Oct-2008  joerg Create 4 Xen disks by default and all three Xen devices to make it
usable out-of-the-box.
 1.16  13-Sep-2008  tsutsui branches: 1.16.2;
Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf. Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.
 1.15  16-May-2007  martti branches: 1.15.12; 1.15.16;
Create /dev/bio
 1.14  09-Feb-2007  tron Increase the number of raid(4) device node sets to four and the number
of wd(4) device node sets to eight. This fixes another problem
reported in PR port-amd64/35532
 1.13  06-Feb-2007  dyoung Create /dev/cmos.
 1.12  15-Jan-2007  hubertf Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@
 1.11  29-Dec-2006  ad Enable /dev/io for COMPAT_FREEBSD.
 1.10  26-Jul-2006  tron branches: 1.10.4;
Bluetooth fixes by Iain Hibbert:
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
 1.9  23-Jul-2006  bouyer Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.
 1.8  04-Jul-2006  bouyer Add new xen device xsd_kva (for Xen3 dom0 operations)
 1.7  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.6  06-Apr-2005  bouyer Add xencons to the default list of devices. Fix port-xen/29887 by Juan RP.
 1.5  15-Mar-2005  xtraeme branches: 1.5.2;
Create the xbd1* devices as well as xbd0*, this is useful to install
domUs via CDROM or unmounted FS in the sysinst menu.
 1.4  11-Mar-2005  bouyer Integrate Xen to the i386 build process:
- Add xen devices to MAKEDEV
- Add Xen kernels to list of kernel to build
- Add INSTALL_XENU to the install kernels
- introduce the xbd disk devices to sysinst.

This will add 3 kernels to the i386 release:
XEN0 for use as a Xen domain0 kernel
XENU for use on a non-privileged domain
INSTALL_XENU to install NetBSD on a non-privileged domain virtual disk.
 1.3  02-Dec-2004  christos Only make bpf, not bpfN
 1.2  19-Oct-2003  jdolecek determine the platform number of disk partitions by looking
at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't
need to be specified separately in MAKEDEV.conf

change platform MAKEDEV.conf to contain only MD targets and nothing else;
simplify the parsing in MAKEDEV.awk accordingly
 1.1  15-Oct-2003  jdolecek MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
 1.5.2.2  30-Jul-2006  tron Apply patch (requested by bouyer in ticket #1431):
- Add a /dev/amr* control file for amr(4) devices, which allows sending
raw commands to the controller.
- Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and
individual drives).
 1.5.2.1  07-Apr-2005  tron Pull up revision 1.6 (requested by bouyer in ticket #121):
Add xencons to the default list of devices. Fix port-xen/29887 by Juan RP.
 1.10.4.3  23-May-2007  pavel Pull up following revision(s) (requested by martti in ticket #657):
etc/MAKEDEV.tmpl: revision 1.86
etc/etc.amd64/MAKEDEV.conf: revision 1.10
etc/etc.i386/MAKEDEV.conf: patch
Create /dev/bio
 1.10.4.2  18-Feb-2007  tron branches: 1.10.4.2.2;
Pull up following revision(s) (requested by hubertf in ticket #429):
etc/etc.bebox/MAKEDEV.conf: revision 1.5
etc/etc.x68k/MAKEDEV.conf: revision 1.8
etc/etc.next68k/MAKEDEV.conf: revision 1.3
etc/etc.ofppc/MAKEDEV.conf: revision 1.5
etc/etc.hpcmips/MAKEDEV.conf: revision 1.4
etc/etc.amd64/MAKEDEV.conf: revision 1.8
etc/etc.algor/MAKEDEV.conf: revision 1.4
etc/etc.sparc64/MAKEDEV.conf: revision 1.12
etc/etc.hp300/MAKEDEV.conf: revision 1.11
etc/etc.sgimips/MAKEDEV.conf: revision 1.8
etc/etc.pc532/MAKEDEV.conf: revision 1.5
etc/etc.mvmeppc/MAKEDEV.conf: revision 1.6
etc/etc.mvme68k/MAKEDEV.conf: revision 1.6
etc/etc.pmppc/MAKEDEV.conf: revision 1.6
etc/etc.cobalt/MAKEDEV.conf: revision 1.4
etc/etc.evbmips/MAKEDEV.conf: revision 1.4
etc/etc.sparc/MAKEDEV.conf: revision 1.11
etc/etc.hpcarm/MAKEDEV.conf: revision 1.7
etc/etc.i386/MAKEDEV.conf: revision 1.12
etc/etc.acorn32/MAKEDEV.conf: revision 1.8
etc/etc.evbppc/MAKEDEV.conf: revision 1.5
etc/etc.amiga/MAKEDEV.conf: revision 1.10
etc/etc.prep/MAKEDEV.conf: revision 1.4
etc/etc.sandpoint/MAKEDEV.conf: revision 1.4
etc/MAKEDEV.tmpl: revision 1.71
etc/etc.alpha/MAKEDEV.conf: revision 1.7
etc/etc.ibmnws/MAKEDEV.conf: revision 1.6
etc/etc.macppc/MAKEDEV.conf: revision 1.7
etc/etc.mmeye/MAKEDEV.conf: revision 1.5
etc/etc.mac68k/MAKEDEV.conf: revision 1.7
etc/etc.vax/MAKEDEV.conf: revision 1.10
etc/etc.arc/MAKEDEV.conf: revision 1.6
etc/etc.hp700/MAKEDEV.conf: revision 1.4
etc/etc.mipsco/MAKEDEV.conf: revision 1.3
etc/etc.atari/MAKEDEV.conf: revision 1.7
Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.
See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html
Fixes PR 26511 properly.
OK'd by wrstuden@
 1.10.4.1  10-Feb-2007  bouyer Pull up following revision(s) (requested by tron in ticket #425):
etc/etc.amd64/MAKEDEV.conf: revision 1.9
etc/etc.i386/MAKEDEV.conf: revision 1.14
Increase the number of raid(4) device node sets to four and the number
of wd(4) device node sets to eight. This fixes another problem
reported in PR port-amd64/35532
 1.10.4.2.2.1  04-Jun-2007  wrstuden Update to today's netbsd-4.
 1.15.16.1  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.15.12.2  17-Jan-2009  mjf Sync with HEAD.
 1.15.12.1  05-Oct-2008  mjf Sync with HEAD.
 1.16.2.4  06-Nov-2008  snj Pull up following revision(s) (requested by joerg in ticket #18):
etc/etc.amd64/MAKEDEV.conf: revision 1.16
etc/etc.i386/MAKEDEV.conf: revision 1.20
Now that the installation floppies are including tmpfs as well, stop
distinguishing MAKEDEV init and MAKEDEV all for x86.
 1.16.2.3  02-Nov-2008  snj Pull up following revision(s) (requested by joerg in ticket #3):
etc/etc.amd64/MAKEDEV.conf: revision 1.15
etc/etc.i386/MAKEDEV.conf: revision 1.19
Create 8 dk instances by default.
 1.16.2.2  02-Nov-2008  snj Pull up following revision(s) (requested by joerg in ticket #3):
etc/etc.amd64/MAKEDEV.conf: revision 1.14
etc/etc.i386/MAKEDEV.conf: revision 1.18
Can't type. xkbd -> xbd.
 1.16.2.1  02-Nov-2008  snj Pull up following revision(s) (requested by joerg in ticket #3):
etc/etc.amd64/MAKEDEV.conf: revision 1.13
etc/etc.i386/MAKEDEV.conf: revision 1.17
Create 4 Xen disks by default and all three Xen devices to make it
usable out-of-the-box.
 1.20.4.1  05-Mar-2011  bouyer Sync with HEAD
 1.21.6.1  24-Oct-2012  riz Pull up following revision(s) (requested by bouyer in ticket #629):
sys/compat/linux/common/linux_ioctl.c: revision 1.57
sys/dev/ic/mfi.c: revision 1.47
sys/conf/majors: revision 1.62
etc/etc.i386/MAKEDEV.conf: revision 1.24
sys/dev/ic/mfivar.h: revision 1.20
etc/MAKEDEV.tmpl: revision 1.159
sys/dev/ic/mfiio.h: revision 1.1
etc/etc.amd64/MAKEDEV.conf: revision 1.19
sys/dev/ic/mfireg.h: revision 1.8
Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
 1.21.4.2  30-Oct-2012  yamt sync with head
 1.21.4.1  17-Apr-2012  yamt sync with head
 1.23.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.25.24.1  09-Jan-2018  snj Pull up following revision(s) (requested by msaitoh in ticket #483):
etc/etc.i386/MAKEDEV.conf: revision 1.26
Add NVMe devices.
 1.26.4.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.26.4.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.26.4.1  10-Jun-2019  christos Sync with HEAD
 1.26.2.2  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.26.2.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.30.2.1  13-Aug-2020  martin Pull up following revision(s) (requested by nia in ticket #1046):

etc/etc.i386/MAKEDEV.conf: revision 1.32
etc/etc.amd64/MAKEDEV.conf: revision 1.31

Create 8 /dev/ldX by default, as with other disk drivers and ports
 1.35.2.1  22-Jun-2024  martin Pull up following revision(s) (requested by skrll in ticket #719):

etc/etc.amd64/MAKEDEV.conf: revision 1.36
etc/etc.aarch64/MAKEDEV.conf: revision 1.10
etc/etc.i386/MAKEDEV.conf: revision 1.36

MAKEDEV: Tidy some entries on x86 and Arm.

While here, reduce some diffs arising from ordering and formatting
between these architectures.

Only difference between evbarm and aarch64 now is /dev/vchiq. Not
sure offhand if it makes sense on aarch64 or only 32-bit Arm.

PR port-amd64/58093: /dev/efi missing on x86

PR port-arm/58100: /dev/ttyVI* missing on aarch64

PR port-arm/58101: /dev/nvme* missing on aarch64

PR port-arm/58102: /dev/raid* missing on aarch64

RSS XML Feed