Home | History | Annotate | Download | only in etc.amd64
History log of /src/etc/etc.amd64/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 branches: 1.36.2;
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  11-Dec-2022  kre branches: 1.35.2;

Don't forget pci17
 1.34  12-Aug-2022  riastradh 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.33  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.32  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.31  03-Aug-2020  nia Create 8 /dev/ldX by default, as with other disk drivers and ports
 1.30  26-Jul-2020  jdolecek add support for wwanc(4) device nodes (xmm[0-9])
 1.29  05-Apr-2020  jdolecek remove nsmb from MD list of devices to create for 'all'
 1.28  21-Jul-2019  maya branches: 1.28.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.27  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.26  23-Dec-2018  maxv Add /dev/nvmm.
 1.25  27-Nov-2018  msaitoh Add tprof
 1.24  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.23  08-Sep-2016  nonaka branches: 1.23.12; 1.23.14;
fix incorrect nvme controller number.
 1.22  04-Jun-2016  nonaka Add NVMe command passthrough support.
 1.21  22-Feb-2015  christos don't make ipty. postinstall removes them.
 1.20  23-Sep-2012  chs add more sd and pci devices.
remove duplicate ch0.
 1.19  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.18  07-Apr-2012  christos branches: 1.18.2;
give wedges to everyone
 1.17  26-Feb-2011  ahoka branches: 1.17.4; 1.17.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.16  04-Nov-2008  joerg branches: 1.16.4;
Now that the installation floppies are including tmpfs as well, stop
distinguishing MAKEDEV init and MAKEDEV all for x86.
 1.15  31-Oct-2008  joerg Create 8 dk instances by default.
 1.14  31-Oct-2008  joerg Can't type. xkbd -> xbd.
 1.13  31-Oct-2008  joerg Create 4 Xen disks by default and all three Xen devices to make it
usable out-of-the-box.
 1.12  13-Sep-2008  tsutsui branches: 1.12.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.11  22-Nov-2007  bouyer branches: 1.11.4; 1.11.8; 1.11.12;
Add Xen devices
 1.10  16-May-2007  martti branches: 1.10.4;
Create /dev/bio
 1.9  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.8  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.7  23-Jul-2006  bouyer branches: 1.7.4;
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.6  02-Dec-2004  christos branches: 1.6.2;
Only make bpf, not bpfN
 1.5  22-Oct-2003  jdolecek no dmoverio either
 1.4  22-Oct-2003  jdolecek no apm
 1.3  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.2  17-Oct-2003  jdolecek g/c ed0/ed1 nodes, the hardware is not present on amd64
 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.6.2.1  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.7.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.7.4.2  18-Feb-2007  tron branches: 1.7.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.7.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.7.4.2.2.1  04-Jun-2007  wrstuden Update to today's netbsd-4.
 1.10.4.1  09-Jan-2008  matt sync with HEAD
 1.11.12.1  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.11.8.2  17-Jan-2009  mjf Sync with HEAD.
 1.11.8.1  05-Oct-2008  mjf Sync with HEAD.
 1.11.4.2  22-Nov-2007  bouyer Add Xen devices
 1.11.4.1  22-Nov-2007  bouyer file MAKEDEV.conf was added on branch mjf-devfs on 2007-11-22 16:25:05 +0000
 1.12.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.12.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.12.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.12.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.16.4.1  05-Mar-2011  bouyer Sync with HEAD
 1.17.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.17.4.2  30-Oct-2012  yamt sync with head
 1.17.4.1  17-Apr-2012  yamt sync with head
 1.18.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.23.14.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.23.14.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.23.14.1  10-Jun-2019  christos Sync with HEAD
 1.23.12.2  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.23.12.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.28.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
 1.36.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed