The NetBSD Project

CVS log for src/etc/MAKEDEV.tmpl

[BACK] Up to [cvs.NetBSD.org] / src / etc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.232.2.2 / (download) - annotate - [select for diffs], Sun Nov 26 11:45:16 2023 UTC (3 months, 3 weeks ago) by bouyer
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Changes since 1.232.2.1: +12 -2 lines
Diff to previous 1.232.2.1 (colored) to branchpoint 1.232 (colored) next main 1.233 (colored)

Pull up following revision(s) (requested by brad in ticket #461):
	sys/dev/gpio/gpiovar.h: revision 1.19
	share/man/man4/gpioirq.4: revision 1.4 via patch
	sys/dev/gpio/gpio.c: revision 1.73
	etc/MAKEDEV.tmpl: revision 1.234
	sys/conf/majors: revision 1.103
	sys/dev/gpio/gpioirq.c: revision 1.2
gpioirq(4) version 2
This update makes this driver more than just an example and allows for:
o More than one pin to be attached to a gpioirq instance.  That is,
  the mask parameter can be greater than 0x01 now.
o A /dev/gpioirqN device that allows GPIO pin interrupts to be
  transported into userland.  This is a device that can be opened for
  reading with a simple fixed output indicating the device unit, pin
  number and current pin state.
This update was used as part of a physical intrusion detection system
where multiple switches (i.e. window magnetic reed switches and etc.)
are tied to a bunch of GPIO inputs with userland software that reacts
to the pins changing state.

Revision 1.234 / (download) - annotate - [select for diffs], Mon Nov 6 00:35:05 2023 UTC (4 months, 1 week ago) by brad
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.233: +12 -2 lines
Diff to previous 1.233 (colored)



gpioirq(4) version 2

This update makes this driver more than just an example and allows for:

o More than one pin to be attached to a gpioirq instance.  That is,
  the mask parameter can be greater than 0x01 now.

o A /dev/gpioirqN device that allows GPIO pin interrupts to be
  transported into userland.  This is a device that can be opened for
  reading with a simple fixed output indicating the device unit, pin
  number and current pin state.


This update was used as part of a physical intrusion detection system
where multiple switches (i.e. window magnetic reed switches and etc.)
are tied to a bunch of GPIO inputs with userland software that reacts
to the pins changing state.

Revision 1.232.2.1 / (download) - annotate - [select for diffs], Fri Jan 13 19:08:30 2023 UTC (14 months ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC1
Changes since 1.232: +2 -2 lines
Diff to previous 1.232 (colored)

Pull up following revision(s) (requested by jakllsch in ticket #47):

	etc/MAKEDEV.tmpl: revision 1.233

fix hexprint function

Revision 1.233 / (download) - annotate - [select for diffs], Wed Dec 28 19:23:02 2022 UTC (14 months, 2 weeks ago) by jakllsch
Branch: MAIN
Changes since 1.232: +2 -2 lines
Diff to previous 1.232 (colored)

fix hexprint function

Revision 1.232 / (download) - annotate - [select for diffs], Wed Sep 21 18:55:21 2022 UTC (17 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.231: +2 -2 lines
Diff to previous 1.231 (colored)

MAKEDEV: make nvmm node group-writable (was readable only; group nvmm)

Needed by qemu

Revision 1.231 / (download) - annotate - [select for diffs], Fri Aug 12 11:15:40 2022 UTC (19 months ago) by riastradh
Branch: MAIN
Changes since 1.230: +13 -1 lines
Diff to previous 1.230 (colored)

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.)

Revision 1.230 / (download) - annotate - [select for diffs], Tue May 17 11:41:41 2022 UTC (22 months ago) by uwe
Branch: MAIN
Changes since 1.229: +2 -2 lines
Diff to previous 1.229 (colored)

MAKEDEV.tmpl: make /dev/wsfont world-readable

Now that we have WSDISPLAYIO_LISTFONTS we want users to be able to use it.

NB: older kernels didn't check that WSDISPLAYIO_LDFONT was performed
on wsfont(4) device opened for writing and relied on its restrictive
root-only permissions to restrict who can load fonts.

Revision 1.229 / (download) - annotate - [select for diffs], Fri Apr 8 10:17:52 2022 UTC (23 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.228: +2 -2 lines
Diff to previous 1.228 (colored)

fix various typos, mainly in comments, but also log messages, docs, game text.

Revision 1.228 / (download) - annotate - [select for diffs], Tue Dec 7 17:39:53 2021 UTC (2 years, 3 months ago) by brad
Branch: MAIN
Changes since 1.227: +12 -1 lines
Diff to previous 1.227 (colored)



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.

Revision 1.227 / (download) - annotate - [select for diffs], Sat Nov 6 13:34:40 2021 UTC (2 years, 4 months ago) by brad
Branch: MAIN
Changes since 1.226: +12 -1 lines
Diff to previous 1.226 (colored)



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.

Revision 1.226 / (download) - annotate - [select for diffs], Tue Oct 12 17:19:20 2021 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.225: +3 -1 lines
Diff to previous 1.225 (colored)

PR/56452: RVP: MAKEDEV should also create /dev/dri/renderD* devices

Revision 1.225 / (download) - annotate - [select for diffs], Sun Oct 10 13:03:08 2021 UTC (2 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.224: +5 -1 lines
Diff to previous 1.224 (colored)

efi: Add /dev/efi character device

Introduce a /dev/efi character device that provides a means for accessing
UEFI RT variable services from userland. Compatible with the FreeBSD ioctl
interface for ease of porting their libefivar and associated tools.

The ioctl interface is defined in sys/efiio.h.

To enable support for this on an arch, the kernel needs `pseudo-device efi`
and the MD EFI implementation needs to register its backend by calling
efi_ops_register(). This commit includes an implementation for Arm.

Revision 1.224 / (download) - annotate - [select for diffs], Sat Jul 24 11:39:18 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.223: +5 -1 lines
Diff to previous 1.223 (colored)

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.

Revision 1.223 / (download) - annotate - [select for diffs], Tue Jun 29 10:22:33 2021 UTC (2 years, 8 months ago) by nia
Branch: MAIN
Changes since 1.222: +1 -8 lines
Diff to previous 1.222 (colored)

Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.

Revision 1.222 / (download) - annotate - [select for diffs], Sun Dec 6 02:57:29 2020 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.221: +5 -1 lines
Diff to previous 1.221 (colored)

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.

Revision 1.221 / (download) - annotate - [select for diffs], Sun Jul 26 15:47:27 2020 UTC (3 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.220: +9 -1 lines
Diff to previous 1.220 (colored)

add support for wwanc(4) device nodes (xmm[0-9])

Revision 1.220 / (download) - annotate - [select for diffs], Sun Jun 7 09:45:19 2020 UTC (3 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.219: +5 -1 lines
Diff to previous 1.219 (colored)

Add fault(4).

Revision 1.219 / (download) - annotate - [select for diffs], Fri Jun 5 17:20:56 2020 UTC (3 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.218: +4 -3 lines
Diff to previous 1.218 (colored)

Register eight vHCI buses, and use separate KCOV mailboxes for them.

Revision 1.190.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 07:45:38 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.190.2.2: +14 -1 lines
Diff to previous 1.190.2.2 (colored) to branchpoint 1.190 (colored) next main 1.191 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.190.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:03:55 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.190.2.1: +5 -24 lines
Diff to previous 1.190.2.1 (colored) to branchpoint 1.190 (colored)

Merge changes from current as of 20200406

Revision 1.218 / (download) - annotate - [select for diffs], Sat Apr 4 16:04:36 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Changes since 1.217: +1 -11 lines
Diff to previous 1.217 (colored)

remove nsmb(4)

Revision 1.217 / (download) - annotate - [select for diffs], Wed Apr 1 15:32:21 2020 UTC (3 years, 11 months ago) by gson
Branch: MAIN
Changes since 1.216: +3 -1 lines
Diff to previous 1.216 (colored)

Create the qemufwcfg device as part of "all".  Discussed with jmcneill.
Also, include it in the list of special purpose devices.

Revision 1.205.2.3 / (download) - annotate - [select for diffs], Thu Mar 19 19:08:31 2020 UTC (4 years ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.205.2.2: +2 -1 lines
Diff to previous 1.205.2.2 (colored) to branchpoint 1.205 (colored) next main 1.206 (colored)

Pull up following revision(s) (requested by riastradh in ticket #783):

	etc/MAKEDEV.tmpl: revision 1.216

Create /dev/ipmi0 in `MAKEDEV all'.

Works on my machine with sysutils/ipmitool if the latter is built
with CONFIGURE_ARGS+= --enable-intf-open.

Revision 1.216 / (download) - annotate - [select for diffs], Mon Mar 2 15:49:30 2020 UTC (4 years ago) by riastradh
Branch: MAIN
Changes since 1.215: +2 -1 lines
Diff to previous 1.215 (colored)

Create /dev/ipmi0 in `MAKEDEV all'.

Works on my machine with sysutils/ipmitool if the latter is built
with CONFIGURE_ARGS+= --enable-intf-open.

Revision 1.215 / (download) - annotate - [select for diffs], Thu Feb 27 16:59:23 2020 UTC (4 years ago) by riastradh
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp
Changes since 1.214: +2 -2 lines
Diff to previous 1.214 (colored)

Create some more cgd device nodes.

Revision 1.214 / (download) - annotate - [select for diffs], Wed Jan 29 18:39:05 2020 UTC (4 years, 1 month ago) by maya
Branch: MAIN
Changes since 1.213: +1 -8 lines
Diff to previous 1.213 (colored)

remove urio(4), a driver for the Rio500 MP3 player.

At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.

Revision 1.213 / (download) - annotate - [select for diffs], Sun Jan 19 20:41:18 2020 UTC (4 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.212: +1 -6 lines
Diff to previous 1.212 (colored)

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.)

Revision 1.212 / (download) - annotate - [select for diffs], Mon Dec 23 06:45:37 2019 UTC (4 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.211: +6 -1 lines
Diff to previous 1.211 (colored)

Revert the removal of filemon.

Revision 1.211 / (download) - annotate - [select for diffs], Wed Dec 18 07:37:17 2019 UTC (4 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.210: +1 -6 lines
Diff to previous 1.210 (colored)

Retire filemon, discussed on tech-kern@.

Revision 1.205.2.2 / (download) - annotate - [select for diffs], Sun Nov 10 12:58:31 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.205.2.1: +3 -2 lines
Diff to previous 1.205.2.1 (colored) to branchpoint 1.205 (colored)

Pull up following revision(s) (requested by maxv in ticket #405):

	usr.sbin/nvmmctl/nvmmctl.8: revision 1.2
	lib/libnvmm/libnvmm.3: revision 1.24
	sys/dev/nvmm/nvmm.h: revision 1.11
	lib/libnvmm/libnvmm.3: revision 1.25
	sys/dev/nvmm/x86/nvmm_x86.h: revision 1.16
	sys/dev/nvmm/nvmm.h: revision 1.12
	sys/dev/nvmm/x86/nvmm_x86.h: revision 1.17
	tests/lib/libnvmm/h_mem_assist.c: revision 1.12
	sys/dev/nvmm/x86/nvmm_x86.h: revision 1.18
	share/mk/bsd.hostprog.mk: revision 1.82
	lib/libnvmm/libnvmm.c: revision 1.15
	distrib/sets/lists/base/md.amd64: revision 1.281
	tests/lib/libnvmm/h_mem_assist.c: revision 1.13
	lib/libnvmm/libnvmm.c: revision 1.16
	tests/lib/libnvmm/h_mem_assist.c: revision 1.14
	lib/libnvmm/libnvmm_x86.c: revision 1.32
	lib/libnvmm/libnvmm.c: revision 1.17
	tests/lib/libnvmm/h_mem_assist.c: revision 1.15
	lib/libnvmm/libnvmm_x86.c: revision 1.33
	lib/libnvmm/libnvmm.c: revision 1.18
	usr.sbin/nvmmctl/Makefile: revision 1.1
	tests/lib/libnvmm/h_mem_assist_asm.S: revision 1.7
	tests/lib/libnvmm/h_mem_assist.c: revision 1.16
	lib/libnvmm/libnvmm_x86.c: revision 1.34
	usr.sbin/nvmmctl/Makefile: revision 1.2
	tests/lib/libnvmm/h_mem_assist_asm.S: revision 1.8
	tests/lib/libnvmm/h_mem_assist.c: revision 1.17
	sys/dev/nvmm/nvmm_internal.h: revision 1.13
	lib/libnvmm/libnvmm_x86.c: revision 1.35
	lib/libnvmm/libnvmm_x86.c: revision 1.36
	usr.sbin/postinstall/postinstall.in: revision 1.8
	lib/libnvmm/libnvmm_x86.c: revision 1.37
	lib/libnvmm/libnvmm_x86.c: revision 1.38
	lib/libnvmm/libnvmm_x86.c: revision 1.39
	usr.sbin/Makefile: revision 1.282
	lib/libnvmm/nvmm.h: revision 1.13
	lib/libnvmm/nvmm.h: revision 1.14
	lib/libnvmm/nvmm.h: revision 1.15
	sys/dev/nvmm/nvmm.c: revision 1.23
	lib/libnvmm/nvmm.h: revision 1.16
	sys/dev/nvmm/nvmm.c: revision 1.24
	lib/libnvmm/nvmm.h: revision 1.17
	sys/dev/nvmm/nvmm.c: revision 1.25
	tests/lib/libnvmm/h_io_assist.c: revision 1.9
	etc/MAKEDEV.tmpl: revision 1.209
	tests/lib/libnvmm/h_io_assist.c: revision 1.10
	tests/lib/libnvmm/h_io_assist.c: revision 1.11
	etc/group: revision 1.35
	distrib/sets/lists/man/mi: revision 1.1660
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.40
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.41
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.42
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.43
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.44
	sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.51
	sys/dev/nvmm/nvmm_ioctl.h: revision 1.8
	sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.52
	sys/dev/nvmm/nvmm_ioctl.h: revision 1.9
	sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.53
	usr.sbin/nvmmctl/nvmmctl.c: revision 1.1
	lib/libnvmm/libnvmm.3: revision 1.20
	distrib/sets/lists/debug/md.amd64: revision 1.106
	lib/libnvmm/libnvmm.3: revision 1.21
	lib/libnvmm/libnvmm.3: revision 1.22
	usr.sbin/nvmmctl/nvmmctl.8: revision 1.1
	lib/libnvmm/libnvmm.3: revision 1.23

Fix incorrect parsing: the R/M field uses a special GPR map when the
address size is 16 bits, regardless of the actual operating mode. With
this special map there can be two registers referenced at once, and
also disp16-only.
Implement this special behavior, and add associated tests. While here
simplify a few things.
With this in place, the Windows 95 installer initializes correctly.
Part of PR/54611.
add missing initializer
Implement XCHG, add associated tests, and add comments to explain. With
this in place the Windows 95 installer completes successfuly.
Part of PR/54611.
Improve nvmm_vcpu_dump().
Put back 'default', because llvm apparently doesn't realize that all cases
are covered in the switch.
Miscellaneous changes in NVMM, to address several inconsistencies and
issues in the libnvmm API.
 - Rename NVMM_CAPABILITY_VERSION to NVMM_KERN_VERSION, and check it in
   libnvmm. Introduce NVMM_USER_VERSION, for future use.
 - In libnvmm, open "/dev/nvmm" as read-only and with O_CLOEXEC. This is to
   avoid sharing the VMs with the children if the process forks. In the
   NVMM driver, force O_CLOEXEC on open().
 - Rename the following things for consistency:
       nvmm_exit*              -> nvmm_vcpu_exit*
       nvmm_event*             -> nvmm_vcpu_event*
       NVMM_EXIT_*             -> NVMM_VCPU_EXIT_*
       NVMM_EVENT_INTERRUPT_HW -> NVMM_VCPU_EVENT_INTR
       NVMM_EVENT_EXCEPTION    -> NVMM_VCPU_EVENT_EXCP
   Delete NVMM_EVENT_INTERRUPT_SW, unused already.
 - Slightly reorganize the MI/MD definitions, for internal clarity.
 - Split NVMM_VCPU_EXIT_MSR in two: NVMM_VCPU_EXIT_{RD,WR}MSR. Also provide
   separate u.rdmsr and u.wrmsr fields. This is more consistent with the
   other exit reasons.
 - Change the types of several variables:
       event.type                  enum -> u_int
       event.vector                uint64_t -> uint8_t
       exit.u.*msr.msr:            uint64_t -> uint32_t
       exit.u.io.type:             enum -> bool
       exit.u.io.seg:              int -> int8_t
       cap.arch.mxcsr_mask:        uint64_t -> uint32_t
       cap.arch.conf_cpuid_maxops: uint64_t -> uint32_t
 - Delete NVMM_VCPU_EXIT_MWAIT_COND, it is AMD-only and confusing, and we
   already intercept 'monitor' so it is never armed.
 - Introduce vmx_exit_insn() for NVMM-Intel, similar to svm_exit_insn().
   The 'npc' field wasn't getting filled properly during certain VMEXITs.
 - Introduce nvmm_vcpu_configure(). Similar to nvmm_machine_configure(),
   but as its name indicates, the configuration is per-VCPU and not per-VM.
   Migrate and rename NVMM_MACH_CONF_X86_CPUID to NVMM_VCPU_CONF_CPUID.
   This becomes per-VCPU, which makes more sense than per-VM.
 - Extend the NVMM_VCPU_CONF_CPUID conf to allow triggering VMEXITs on
   specific leaves. Until now we could only mask the leaves. An uint32_t
   is added in the structure:
        uint32_t mask:1;
        uint32_t exit:1;
        uint32_t rsvd:30;
   The two first bits select the desired behavior on the leaf. Specifying
   zero on both resets the leaf to the default behavior. The new
   NVMM_VCPU_EXIT_CPUID exit reason is added.
Three changes in libnvmm:
 - Add 'mach' and 'vcpu' backpointers in the nvmm_io and nvmm_mem
   structures.
 - Rename 'nvmm_callbacks' to 'nvmm_assist_callbacks'.
 - Rename and migrate NVMM_MACH_CONF_CALLBACKS to NVMM_VCPU_CONF_CALLBACKS,
   it now becomes per-VCPU.
Update the libnvmm man page:
 - Sync the naming with reality.
 - Replace "relevant" by "desired" and "virtualizer" by "emulator", closer
   to what I meant.
 - Add a "VCPU Configuration" section.
 - Add a "Machine Ownership" section.
Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few
days ago.
Use the new PTE naming, and define CR3_FRAME_* separately. No functional
change.
Add a new VCPU conf option, that allows userland to request VMEXITs after a
TPR change. This is supported on all Intel CPUs, and not-too-old AMD CPUs.
The reason for wanting this option is that certain OSes (like Win10 64bit)
manage interrupt priority in hardware via CR8 directly, and for these OSes,
the emulator may want to sync its internal TPR state on each change.
Add two new fields in cap.arch, to report the conf capabilities. Report TPR
only on Intel for now, not AMD, because I don't have a recent AMD CPU on
which to test.
Mask CPUID leaf 0x0A on Intel, because we don't want the guest to try (and
fail) to probe the PMC MSRs. This avoids "Unexpected WRMSR" warnings in
qemu-nvmm.
Add PCID support in the guests. This speeds up most 64bit guests, because
since Meltdown, everybody uses PCID (including NetBSD).
Change the way root_owner works: consider the calling process as root_owner
not if it has root privileges, but if the /dev/nvmm device was opened with
write permissions. Introduce the undocumented nvmm_root_init() function to
achieve that.
The goal is to simplify the logic and have more granularity, eg if we want
a monitoring agent to access VMs but don't want to give this agent real
root access on the system.
A few changes:
 - Use smaller types in struct nvmm_capability.
 - Use smaller type for nvmm_io.port.
 - Switch exitstate to a compacted structure.
Add nram in struct nvmm_ctl_mach_info.
Add nvmmctl, with two commands for now.
Macro tidyness.
Sort SEE ALSO.
should be fork(2), noticed by wiz
Add debug entry for newly introduced nvmmctl utility.
Annotate a covering switch as such to avoid warnings about missing
returns.
Forgot to put nvmmctl in the "nvmm" group.
Add nvmm group.

Revision 1.210 / (download) - annotate - [select for diffs], Fri Nov 1 02:58:50 2019 UTC (4 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.209: +6 -1 lines
Diff to previous 1.209 (colored)

MAKEDEV: add entry for vio9p(4)

Revision 1.209 / (download) - annotate - [select for diffs], Sun Oct 27 07:08:15 2019 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.208: +3 -2 lines
Diff to previous 1.208 (colored)

Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few
days ago.

Revision 1.205.2.1 / (download) - annotate - [select for diffs], Sun Sep 22 10:22:15 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.205: +2 -1 lines
Diff to previous 1.205 (colored)

Pull up following revision(s) (requested by thorpej in ticket #211):

	etc/MAKEDEV.tmpl: revision 1.208

Create the character device for spiflash, in addition to the block device.

This is needed for getdiskrawname() to DTRT (for installboot(8)).
XXX pullup-9

Revision 1.208 / (download) - annotate - [select for diffs], Thu Sep 19 01:44:48 2019 UTC (4 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.207: +2 -1 lines
Diff to previous 1.207 (colored)

Create the character device for spiflash, in addition to the block device.
This is needed for getdiskrawname() to DTRT (for installboot(8)).

XXX pullup-9

Revision 1.207 / (download) - annotate - [select for diffs], Sun Sep 15 12:54:21 2019 UTC (4 years, 6 months ago) by ryoon
Branch: MAIN
Changes since 1.206: +2 -2 lines
Diff to previous 1.206 (colored)

Replace major number in MAKEDEV for vhci

Revision 1.206 / (download) - annotate - [select for diffs], Sat Sep 14 06:57:52 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.205: +6 -1 lines
Diff to previous 1.205 (colored)

Add vHCI, a driver which allows to send and receive USB packets directly
from userland via /dev/vhci. Using this, it becomes possible to test and
fuzz the USB stack and all the USB drivers without having the associated
hardware.

The vHCI device has four ports independently addressable.

For each xfer on each port, we create two packets: a setup packet (which
indicates mostly the type of request) and a data packet (which contains
the raw data). These packets are processed by read and write operations
on /dev/vhci: userland poll-reads it to fetch usb_device_request_t
structures, and dispatches the requests depending on bRequest and
bmRequestType.

A few ioctls are available:

	VHCI_IOC_GET_INFO   - Get the current status
	VHCI_IOC_SET_PORT   - Choose a vHCI port
	VHCI_IOC_USB_ATTACH - Attach a USB device on the current port
	VHCI_IOC_USB_DETACH - Detach the USB device on the current port

vHCI has already allowed me to automatically find several bugs in the USB
stack and its drivers.

Revision 1.205 / (download) - annotate - [select for diffs], Mon Jul 29 17:53:20 2019 UTC (4 years, 7 months ago) by gdt
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.204: +2 -1 lines
Diff to previous 1.204 (colored)

MAKEDEV.tmpl: Create nodes for 16 USB hubs

As proposed on current-users, but with better formatting.

Revision 1.190.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:42:39 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.190: +44 -52 lines
Diff to previous 1.190 (colored)

Sync with HEAD

Revision 1.204 / (download) - annotate - [select for diffs], Fri May 31 13:15:00 2019 UTC (4 years, 9 months ago) by nia
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.203: +4 -2 lines
Diff to previous 1.203 (colored)

Raise the number of uhid nodes from 4 to 16.

My keyboard and mouse use multiple device nodes each. I can't use
any other devices once they're attached. With my keyboard, mouse,
and two game controllers attached, a total of 9 nodes are required.

Particularly, high-end keyboards with N-key rollover support require
more device nodes, since they pretend to be multiple keyboards to work
around limitations in the uhid compat spec.

My original intention was to raise it from 4 to 12, but martin
suggested increasing it to 16.

"somewhat insane, but so is reality" - mlelstv

Revision 1.203 / (download) - annotate - [select for diffs], Sat May 18 08:38:00 2019 UTC (4 years, 10 months ago) by mlelstv
Branch: MAIN
Changes since 1.202: +7 -1 lines
Diff to previous 1.202 (colored)

Add experimental userland interface to IPMI driver. Currently, transactions
(like sensor readout) are locked, so that a userland program may interfere with
envsys operation.

To use this you need a program like ipmitool built with OpenIPMI support.

Revision 1.202 / (download) - annotate - [select for diffs], Mon Apr 1 13:08:24 2019 UTC (4 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.201: +3 -1 lines
Diff to previous 1.201 (colored)

Double the number of wedge device nodes

Revision 1.201 / (download) - annotate - [select for diffs], Wed Mar 27 06:55:09 2019 UTC (4 years, 11 months ago) by mlelstv
Branch: MAIN
Changes since 1.200: +2 -2 lines
Diff to previous 1.200 (colored)

Actually use unit number for iscsi device.

Revision 1.200 / (download) - annotate - [select for diffs], Tue Mar 26 09:13:55 2019 UTC (4 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.199: +8 -1 lines
Diff to previous 1.199 (colored)

Add srt(4) to /etc/MAKEDEV and corresponding update to MAKEDEV.8 man page.

Revision 1.199 / (download) - annotate - [select for diffs], Sat Feb 23 10:43:25 2019 UTC (5 years ago) by mlelstv
Branch: MAIN
Changes since 1.198: +8 -1 lines
Diff to previous 1.198 (colored)

Add userland driver to spi framework.

Previously spi would configure the controller to use the lowest speed of
all connected devices since the kernel started and to fail attempted mode
changes. This is now improved to keep individual modes and speeds for each
slave and to reconfigure the controller as necessary for each transfer.

Added man page for spi(9).

Revision 1.198 / (download) - annotate - [select for diffs], Sat Feb 23 03:10:06 2019 UTC (5 years ago) by kamil
Branch: MAIN
Changes since 1.197: +5 -1 lines
Diff to previous 1.197 (colored)

Add KCOV - kernel code coverage tracing device

The KCOV driver implements collection of code coverage inside the kernel.
It can be enabled on a per process basis from userland, allowing the kernel
program counter to be collected during syscalls triggered by the same
process.

The device is oriented towards kernel fuzzers, in particular syzkaller.

Currently the only supported coverage type is -fsanitize-coverage=trace-pc.

The KCOV driver was initially developed in Linux. A driver based on the
same concept was then implemented in FreeBSD and OpenBSD.

Documentation is borrowed from OpenBSD and ATF tests from FreeBSD.

This patch has been prepared by Siddharth Muralee, improved by <maxv>
and polished by myself before importing into the mainline tree.

All ATF tests pass.

Revision 1.197 / (download) - annotate - [select for diffs], Sun Jan 27 08:53:28 2019 UTC (5 years, 1 month ago) by maxv
Branch: MAIN
Changes since 1.196: +1 -7 lines
Diff to previous 1.196 (colored)

Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.

Revision 1.189.2.5 / (download) - annotate - [select for diffs], Mon Nov 26 01:49:59 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.189.2.4: +11 -1 lines
Diff to previous 1.189.2.4 (colored) to branchpoint 1.189 (colored) next main 1.190 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.196 / (download) - annotate - [select for diffs], Wed Nov 7 07:43:07 2018 UTC (5 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.195: +7 -2 lines
Diff to previous 1.195 (colored)

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.

Revision 1.195 / (download) - annotate - [select for diffs], Sun Nov 4 12:48:01 2018 UTC (5 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.194: +6 -1 lines
Diff to previous 1.194 (colored)

Add tprof in MAKEDEV.tmpl, and regen MAKEDEV.8.

Revision 1.189.2.4 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:07 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.189.2.3: +2 -43 lines
Diff to previous 1.189.2.3 (colored) to branchpoint 1.189 (colored)

Ssync with HEAD

Revision 1.194 / (download) - annotate - [select for diffs], Sun Sep 23 09:20:57 2018 UTC (5 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.193: +1 -42 lines
Diff to previous 1.193 (colored)

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.

Revision 1.193 / (download) - annotate - [select for diffs], Sat Sep 22 13:48:22 2018 UTC (5 years, 5 months ago) by kre
Branch: MAIN
Changes since 1.192: +2 -2 lines
Diff to previous 1.192 (colored)


Avoid use of test -o for when this is used as part of an INSTALL system
and the SMALL test does not support -o

Revision 1.189.2.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:51:43 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.189.2.2: +2 -1 lines
Diff to previous 1.189.2.2 (colored) to branchpoint 1.189 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.183.6.3 / (download) - annotate - [select for diffs], Wed Sep 5 08:40:05 2018 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.183.6.2: +2 -1 lines
Diff to previous 1.183.6.2 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

Pull up following revision(s) (requested by sevan in ticket #1005):

	etc/MAKEDEV.tmpl: revision 1.192

Create fw(4) & fwmem(4) device nodes by default so fwctl(8) works out of the
box.

Revision 1.192 / (download) - annotate - [select for diffs], Sat Jul 28 14:13:13 2018 UTC (5 years, 7 months ago) by sevan
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.191: +2 -1 lines
Diff to previous 1.191 (colored)

Create fw(4) & fwmem(4) device nodes by default so fwctl(8) works out of the
box.

Revision 1.189.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:33:02 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.189.2.1: +2 -2 lines
Diff to previous 1.189.2.1 (colored) to branchpoint 1.189 (colored)

Sync with HEAD

Revision 1.191 / (download) - annotate - [select for diffs], Sat Jul 21 07:46:56 2018 UTC (5 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.190: +2 -2 lines
Diff to previous 1.190 (colored)

Create /dev/ksyms as "440 $g_kmem". This prevents unprivileged users from
reading the kernel symbols. Discussed in January 2018 on tech-kern@,
reported by maya@, tested by tih@.

Revision 1.189.2.1 / (download) - annotate - [select for diffs], Mon May 21 04:35:51 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.189: +13 -1 lines
Diff to previous 1.189 (colored)

Sync with HEAD

Revision 1.190 / (download) - annotate - [select for diffs], Sun May 20 14:08:33 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Changes since 1.189: +13 -1 lines
Diff to previous 1.189 (colored)

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

Revision 1.189 / (download) - annotate - [select for diffs], Tue Jan 9 03:31:14 2018 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.188: +6 -1 lines
Diff to previous 1.188 (colored)

Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

Revision 1.172.4.3 / (download) - annotate - [select for diffs], Wed Jan 3 20:50:45 2018 UTC (6 years, 2 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.172.4.2: +2 -2 lines
Diff to previous 1.172.4.2 (colored) to branchpoint 1.172 (colored) next main 1.173 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #1537):
	etc/MAKEDEV.tmpl: revision 1.188
make a few more drm nodes

Revision 1.172.4.1.4.1 / (download) - annotate - [select for diffs], Wed Jan 3 20:50:43 2018 UTC (6 years, 2 months ago) by snj
Branch: netbsd-7-1
CVS Tags: netbsd-7-1-2-RELEASE
Changes since 1.172.4.1: +2 -2 lines
Diff to previous 1.172.4.1 (colored) next main 1.172.4.2 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #1537):
	etc/MAKEDEV.tmpl: revision 1.188
make a few more drm nodes

Revision 1.172.6.1 / (download) - annotate - [select for diffs], Wed Jan 3 20:50:42 2018 UTC (6 years, 2 months ago) by snj
Branch: netbsd-7-0
Changes since 1.172: +2 -2 lines
Diff to previous 1.172 (colored) next main 1.173 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #1537):
	etc/MAKEDEV.tmpl: revision 1.188
make a few more drm nodes

Revision 1.183.6.2 / (download) - annotate - [select for diffs], Fri Dec 8 05:48:21 2017 UTC (6 years, 3 months ago) by msaitoh
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.183.6.1: +2 -2 lines
Diff to previous 1.183.6.1 (colored) to branchpoint 1.183 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #423):
	etc/MAKEDEV.tmpl: revision 1.188
make a few more drm nodes

Revision 1.188 / (download) - annotate - [select for diffs], Tue Dec 5 19:17:11 2017 UTC (6 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored)

make a few more drm nodes

Revision 1.187 / (download) - annotate - [select for diffs], Sat Nov 25 16:31:03 2017 UTC (6 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.186: +11 -1 lines
Diff to previous 1.186 (colored)

Add driver for QEMU Firmware Configuration device.

This interface allows the host to pass various data items and files to
the guest OS.

Revision 1.172.4.2 / (download) - annotate - [select for diffs], Sun Oct 1 17:07:04 2017 UTC (6 years, 5 months ago) by snj
Branch: netbsd-7
Changes since 1.172.4.1: +2 -1 lines
Diff to previous 1.172.4.1 (colored) to branchpoint 1.172 (colored)

Pull up following revision(s) (requested by sevan in ticket #1501):
	etc/MAKEDEV.tmpl: revision 1.186 via patch
veriexec is enabled by default in most kernel configs but the lack of device
node results in a non working config, despite following manual to get setup.
Remove a step for the user by creating a device node for veriexec by
default.
ok mrg jakllsch

Revision 1.183.6.1 / (download) - annotate - [select for diffs], Thu Aug 31 11:27:50 2017 UTC (6 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.183: +2 -1 lines
Diff to previous 1.183 (colored)

Pull up following revision(s) (requested by sevan in ticket #244):
	etc/MAKEDEV.tmpl: revision 1.186
veriexec is enabled by default in most kernel configs but the lack of device
node results in a non working config, despite following manual to get setup.
Remove a step for the user by creating a device node for veriexec by
default.
ok mrg jakllsch

Revision 1.186 / (download) - annotate - [select for diffs], Mon Aug 28 01:34:52 2017 UTC (6 years, 6 months ago) by sevan
Branch: MAIN
Changes since 1.185: +2 -1 lines
Diff to previous 1.185 (colored)

veriexec is enabled by default in most kernel configs but the lack of device
node results in a non working config, despite following manual to get setup.
Remove a step for the user by creating a device node for veriexec by default.


ok mrg jakllsch

Revision 1.185 / (download) - annotate - [select for diffs], Sat Aug 12 11:41:21 2017 UTC (6 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.184: +2 -1 lines
Diff to previous 1.184 (colored)

add dial-out device node for plcom

Revision 1.184 / (download) - annotate - [select for diffs], Thu Jun 8 03:42:37 2017 UTC (6 years, 9 months ago) by kre
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.183: +9 -13 lines
Diff to previous 1.183 (colored)

As (briefly) discussed on current-users, change the way that MAKEDEV checks
for more than one of the  -m -p -s -t args (and checks whether any were given
to pick one if not) to be more shell friendly.

Note that while the method here is the same as was discussed on the list,
the actual implementation is free of the typos, and just pure lunacy that
was in the code that was shown there.

Also note these changes are intended to be completely internal, there
should be no visible impact upon the way that MAKEDEV works.

ok:christos.   Thanks to pgoyette for the code review.

Revision 1.183 / (download) - annotate - [select for diffs], Thu Sep 8 15:00:08 2016 UTC (7 years, 6 months ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, netbsd-8-base, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 (colored)

Fix to cannnot be opened a nvme(4) namespace device file.

Revision 1.181.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:13 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored) next main 1.182 (colored)

Sync with HEAD

Revision 1.182 / (download) - annotate - [select for diffs], Sat Jul 23 06:48:27 2016 UTC (7 years, 7 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806, pgoyette-localcount-20160726
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored)


Always define MKNOD, even if we don't think we need it (turns out we do,
sometimes...)   Noticed by Michael Plass reported on current-users.

Revision 1.181 / (download) - annotate - [select for diffs], Thu Jun 16 15:33:38 2016 UTC (7 years, 9 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Changes since 1.180: +20 -1 lines
Diff to previous 1.180 (colored)


As discussed at the biginning of last week (June 6 & 7, 2016) on
tech-kern in messages with a Subject starting [Re:] /dev/sdN -> /dev/sdN[cd]
and in PR port-amd64/51216 :

Create bare (no letter suffix) device names (block & raw) that
refer to the raw device ('c' or 'd' partition as appropriate).

This commit was delayed waiting to see if there was to be any more
discussion - there wasn't a lot.

Caution: this is going to consume 2 more inodes per disc device
configured, everywhere that devices are configured using MAKEDEV

Revision 1.180 / (download) - annotate - [select for diffs], Sat Jun 4 16:11:50 2016 UTC (7 years, 9 months ago) by nonaka
Branch: MAIN
Changes since 1.179: +19 -1 lines
Diff to previous 1.179 (colored)

Add NVMe command passthrough support.

Revision 1.179 / (download) - annotate - [select for diffs], Thu Jan 28 19:06:39 2016 UTC (8 years, 1 month ago) by riz
Branch: MAIN
Changes since 1.178: +2 -1 lines
Diff to previous 1.178 (colored)

Create dtrace device as part of "all"

Revision 1.178 / (download) - annotate - [select for diffs], Sun Jan 17 23:18:18 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.177: +2 -1 lines
Diff to previous 1.177 (colored)

Add /dev/full

Revision 1.177 / (download) - annotate - [select for diffs], Sat Nov 21 12:11:56 2015 UTC (8 years, 3 months ago) by pgoyette
Branch: MAIN
Changes since 1.176: +6 -1 lines
Diff to previous 1.176 (colored)

Add the filemon(4) device.

Revision 1.172.4.1 / (download) - annotate - [select for diffs], Mon Nov 16 14:38:03 2015 UTC (8 years, 4 months ago) by msaitoh
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-1-RELEASE
Branch point for: netbsd-7-1
Changes since 1.172: +5 -1 lines
Diff to previous 1.172 (colored)

Pull up following revision(s) (requested by joerg in ticket #1029):
	etc/MAKEDEV.tmpl: revision 1.176
Translate requests for ucom into ttyU.

Revision 1.176 / (download) - annotate - [select for diffs], Sun Nov 8 23:23:30 2015 UTC (8 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.175: +5 -1 lines
Diff to previous 1.175 (colored)

Translate requests for ucom into ttyU.

Revision 1.175 / (download) - annotate - [select for diffs], Thu Nov 5 16:46:22 2015 UTC (8 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.174: +46 -1 lines
Diff to previous 1.174 (colored)

create tty* entries for wsdisplay1-3

Revision 1.174 / (download) - annotate - [select for diffs], Sat Aug 1 21:30:09 2015 UTC (8 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.173: +8 -1 lines
Diff to previous 1.173 (colored)

add hdmicec

Revision 1.173 / (download) - annotate - [select for diffs], Fri Sep 19 09:00:23 2014 UTC (9 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.172: +3 -1 lines
Diff to previous 1.172 (colored)

add random/urandom to MAKEDEV std

Revision 1.158.2.4 / (download) - annotate - [select for diffs], Tue Aug 19 23:45:49 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.158.2.3: +13 -1 lines
Diff to previous 1.158.2.3 (colored) next main 1.159 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.145.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:27:18 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.145.2.4: +72 -4 lines
Diff to previous 1.145.2.4 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored)

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")

Revision 1.172 / (download) - annotate - [select for diffs], Mon Oct 28 18:33:20 2013 UTC (10 years, 4 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-0, netbsd-7
Changes since 1.171: +13 -1 lines
Diff to previous 1.171 (colored)

create a lua device node for lua(4) and luactl(8)

Revision 1.171 / (download) - annotate - [select for diffs], Sat Aug 3 16:07:35 2013 UTC (10 years, 7 months ago) by soren
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored)

Some UMTS/LTE USB modems have as many as five tty instances and the
useful ones that understand AT commands tend to be enumerated last,
so bump up the default number of ttyU device nodes.

Revision 1.151.2.9.2.1 / (download) - annotate - [select for diffs], Mon Jul 29 08:53:44 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: netbsd-6-1
CVS Tags: netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE
Changes since 1.151.2.9: +32 -1 lines
Diff to previous 1.151.2.9 (colored) next main 1.151.2.10 (colored)

Pull up following revision(s) (requested by martin in ticket #919):
	etc/MAKEDEV.tmpl: revision 1.166
Add a makedisk_p12high, used by VAX now after unbumping MAXPARTITIONS from
16 down to 12. This fixes install issues on new setups.

Revision 1.151.2.10 / (download) - annotate - [select for diffs], Mon Jul 29 08:29:35 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.151.2.9: +32 -1 lines
Diff to previous 1.151.2.9 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

Pull up following revision(s) (requested by martin in ticket #919):
	etc/MAKEDEV.tmpl: revision 1.166
Add a makedisk_p12high, used by VAX now after unbumping MAXPARTITIONS from
16 down to 12. This fixes install issues on new setups.

Revision 1.158.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:26:21 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.158.2.2: +58 -2 lines
Diff to previous 1.158.2.2 (colored)

resync from head

Revision 1.113.2.8.2.1 / (download) - annotate - [select for diffs], Sun Jun 9 16:14:49 2013 UTC (10 years, 9 months ago) by msaitoh
Branch: netbsd-5-2
CVS Tags: netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE
Changes since 1.113.2.8: +2 -2 lines
Diff to previous 1.113.2.8 (colored) next main 1.113.2.9 (colored)

Pull up following revision(s) (requested by apb in ticket #1848):
	etc/MAKEDEV.tmpl: revision 1.161
The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.
This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.

Revision 1.113.2.7.2.1 / (download) - annotate - [select for diffs], Sun Jun 9 16:12:46 2013 UTC (10 years, 9 months ago) by msaitoh
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE
Changes since 1.113.2.7: +2 -2 lines
Diff to previous 1.113.2.7 (colored) next main 1.113.2.8 (colored)

Pull up following revision(s) (requested by apb in ticket #1848):
	etc/MAKEDEV.tmpl: revision 1.161
The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.
This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.

Revision 1.113.2.9 / (download) - annotate - [select for diffs], Sun Jun 9 10:57:45 2013 UTC (10 years, 9 months ago) by msaitoh
Branch: netbsd-5
Changes since 1.113.2.8: +2 -2 lines
Diff to previous 1.113.2.8 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored)

Pull up following revision(s) (requested by apb in ticket #1848):
	etc/MAKEDEV.tmpl: revision 1.161
The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.
This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.

Revision 1.170 / (download) - annotate - [select for diffs], Mon May 20 11:37:02 2013 UTC (10 years, 10 months ago) by mbalmer
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored)

Rename the 'gpio' group to '_gpio' as new group names should start with an
underscore.  While here, fix the awk script to properly expand such group
names.

Revision 1.169 / (download) - annotate - [select for diffs], Sun May 19 16:09:04 2013 UTC (10 years, 10 months ago) by mbalmer
Branch: MAIN
Changes since 1.168: +3 -2 lines
Diff to previous 1.168 (colored)

Add a group 'gpio' and create gpio(4) device nodes under /dev with
mode 664 and group ownership set to 'gpio'.  This allows controlled access
to specifically enabled gpio pins to members of the gpio group.  See
gpioctl(8), and, gpio(4) for details.

Revision 1.168 / (download) - annotate - [select for diffs], Wed May 1 13:12:00 2013 UTC (10 years, 10 months ago) by kiyohara
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.167: +7 -1 lines
Diff to previous 1.167 (colored)

Support to build for epoc32 userland.

Revision 1.167 / (download) - annotate - [select for diffs], Sat Apr 20 11:41:51 2013 UTC (10 years, 11 months ago) by rkujawa
Branch: MAIN
Changes since 1.166: +7 -1 lines
Diff to previous 1.166 (colored)

Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm.

Obtained from Marvell, Semihalf.

Revision 1.166 / (download) - annotate - [select for diffs], Thu Apr 11 19:13:46 2013 UTC (10 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.165: +32 -1 lines
Diff to previous 1.165 (colored)

Add a makedisk_p12high, used by VAX now after unbumping MAXPARTITIONS from
16 down to 12.

Revision 1.165 / (download) - annotate - [select for diffs], Fri Mar 8 12:33:25 2013 UTC (11 years ago) by jmcneill
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.164: +5 -1 lines
Diff to previous 1.164 (colored)

create /dev/vchiq

Revision 1.164 / (download) - annotate - [select for diffs], Thu Feb 28 03:04:12 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.163: +2 -2 lines
Diff to previous 1.163 (colored)

missing comment

Revision 1.163 / (download) - annotate - [select for diffs], Thu Feb 28 02:00:27 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.162: +9 -1 lines
Diff to previous 1.162 (colored)

node for dtrace

Revision 1.158.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:24:48 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.158.2.1: +8 -2 lines
Diff to previous 1.158.2.1 (colored)

resync with head

Revision 1.151.2.9 / (download) - annotate - [select for diffs], Wed Feb 13 01:36:06 2013 UTC (11 years, 1 month ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1
Branch point for: netbsd-6-1
Changes since 1.151.2.8: +6 -0 lines
Diff to previous 1.151.2.8 (colored) to branchpoint 1.151 (colored)

Pull up following revision(s) (requested by skrll in ticket #813):

etc/MAKEDEV.tmpl					1.160
etc/etc.evbarm/MAKEDEV.conf				1.9
external/broadcom/rpi-firmware/dist/LICENCE.broadcom	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.2
external/broadcom/rpi-firmware/dist/fixup.dat		1.1
external/broadcom/rpi-firmware/dist/fixup.dat		1.2
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.1
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.2
external/broadcom/rpi-firmware/dist/start.elf		1.1
external/broadcom/rpi-firmware/dist/start.elf		1.2
external/broadcom/rpi-firmware/dist/start_cd.elf	1.1
external/broadcom/rpi-firmware/dist/start_cd.elf	1.2
sys/arch/arm/broadcom/bcm2835_bsc.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_bscreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_dotg.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_emmc.c			1.7 via patch
sys/arch/arm/broadcom/bcm2835_genfb.c			1.4 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.c		1.2 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.h		1.1 via patch
sys/arch/arm/broadcom/bcm2835_gpioreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_intr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_mbox.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_mbox.h			1.4 via patch
sys/arch/arm/broadcom/bcm2835_obio.c			1.17 via patch
sys/arch/arm/broadcom/bcm2835_pm.c			1.2 via patch
sys/arch/arm/broadcom/bcm2835_rng.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_space.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_spi.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_spireg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_tmr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835reg.h			1.10 via patch
sys/arch/arm/broadcom/files.bcm2835			1.14 via patch
sys/arch/evbarm/conf/RPI				1.23 via patch
sys/arch/evbarm/conf/files.rpi				1.3 via patch
sys/arch/evbarm/conf/mk.rpi				1.2 via patch
sys/arch/evbarm/conf/std.rpi				1.4 via patch
sys/arch/evbarm/rpi/rpi_machdep.c			1.34 via patch
sys/arch/evbarm/rpi/rpi_start.S				1.7 via patch
sys/arch/evbarm/rpi/rpi_vcmbox.c			1.2 via patch
sys/arch/evbarm/rpi/vcio.h				1.1 via patch
sys/arch/evbarm/rpi/vcprop.h				1.7 via patch
sys/conf/files						patch
sys/dev/sdmmc/sdhc.c					1.43
sys/dev/sdmmc/sdhcvar.h					1.13
sys/dev/usb/dwc_otg.c					1.45 via patch
sys/dev/usb/dwc_otgreg.h				1.5 via patch
sys/dev/usb/dwc_otgvar.h				1.11 via patch
sys/dev/usb/files.usb					1.126 via patch
sys/dev/usb/if_smsc.c					1.7 via patch
sys/dev/usb/if_smscreg.h				1.1 via patch
sys/dev/usb/if_smscvar.h				1.1 via patch
sys/dev/usb/usbdevices.config				patch
sys/dev/usb/usbdevs					1.633 via patch
sys/dev/usb/usbdevs.h					regen
sys/dev/usb/usbdevs_data.h				regen
sys/dev/wscons/wsconsio.h				1.105,1.107 via patch
sys/dev/wscons/wsdisplayvar.h				1.50
sys/dev/wscons/wsdisplay_util.c				1.2
sys/dev/videomode/edid.c				1.12 via patch

	Greatly improved Raspberry Pi support.  USB and onboard
	Ethernet should work.
	[skrll, ticket #813]

Revision 1.162 / (download) - annotate - [select for diffs], Sun Feb 10 14:54:33 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored)

always use ${MKNOD} for consistency

Revision 1.151.2.8 / (download) - annotate - [select for diffs], Fri Feb 8 23:01:49 2013 UTC (11 years, 1 month ago) by riz
Branch: netbsd-6
Changes since 1.151.2.7: +2 -2 lines
Diff to previous 1.151.2.7 (colored) to branchpoint 1.151 (colored)

Pull up following revision(s) (requested by apb in ticket #801):
	etc/MAKEDEV.tmpl: revision 1.161
The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.
This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.

Revision 1.151.2.6.2.1 / (download) - annotate - [select for diffs], Fri Feb 8 23:01:22 2013 UTC (11 years, 1 month ago) by riz
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE
Changes since 1.151.2.6: +2 -2 lines
Diff to previous 1.151.2.6 (colored) next main 1.151.2.7 (colored)

Pull up following revision(s) (requested by apb in ticket #801):
	etc/MAKEDEV.tmpl: revision 1.161
The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.
This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.

Revision 1.161 / (download) - annotate - [select for diffs], Sat Jan 26 18:44:21 2013 UTC (11 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.160: +2 -2 lines
Diff to previous 1.160 (colored)

The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.

This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.

Revision 1.145.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:04:29 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.145.2.3: +7 -1 lines
Diff to previous 1.145.2.3 (colored) to branchpoint 1.145 (colored)

sync with head

Revision 1.160 / (download) - annotate - [select for diffs], Thu Jan 10 13:38:37 2013 UTC (11 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.159: +7 -1 lines
Diff to previous 1.159 (colored)

Create a plcom0 device node for RaspberryPI

Revision 1.158.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 02:57:55 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.158: +7 -1 lines
Diff to previous 1.158 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.151.2.5.2.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:44:53 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.151.2.5: +2 -2 lines
Diff to previous 1.151.2.5 (colored) next main 1.151.2.6 (colored)

sync with netbsd-6-0-RELEASE.

Revision 1.145.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 18:48:58 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.145.2.2: +14 -5 lines
Diff to previous 1.145.2.2 (colored) to branchpoint 1.145 (colored)

sync with head

Revision 1.151.2.7 / (download) - annotate - [select for diffs], Wed Oct 24 03:23:45 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
Changes since 1.151.2.6: +7 -1 lines
Diff to previous 1.151.2.6 (colored) to branchpoint 1.151 (colored)

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.

Revision 1.159 / (download) - annotate - [select for diffs], Wed Sep 19 21:24:28 2012 UTC (11 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.158: +7 -1 lines
Diff to previous 1.158 (colored)

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.

Revision 1.151.2.6 / (download) - annotate - [select for diffs], Thu Sep 13 22:20:58 2012 UTC (11 years, 6 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base
Branch point for: netbsd-6-0
Changes since 1.151.2.5: +2 -2 lines
Diff to previous 1.151.2.5 (colored) to branchpoint 1.151 (colored)

Pull up following revision(s) (requested by martin in ticket #543):
	etc/MAKEDEV.tmpl: revision 1.158
Make the "init" target create optys as well - those were removed from "all",
but we still need them in emergency setups and some install media.
Should fix PR install/46902.

Revision 1.158 / (download) - annotate - [select for diffs], Wed Sep 5 08:25:53 2012 UTC (11 years, 6 months ago) by martin
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored)

Make the "init" target create optys as well - those were removed from "all",
but we still need them in emergency setups and some install media.
Should fix PR install/46902.

Revision 1.151.2.5 / (download) - annotate - [select for diffs], Mon Aug 13 19:55:10 2012 UTC (11 years, 7 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-0-RC1
Branch point for: matt-nb6-plus
Changes since 1.151.2.4: +2 -1 lines
Diff to previous 1.151.2.4 (colored) to branchpoint 1.151 (colored)

Missed part of rev 1.154 from ticket #490.

Revision 1.151.2.4 / (download) - annotate - [select for diffs], Mon Aug 13 19:52:30 2012 UTC (11 years, 7 months ago) by riz
Branch: netbsd-6
Changes since 1.151.2.3: +5 -2 lines
Diff to previous 1.151.2.3 (colored) to branchpoint 1.151 (colored)

Pull up following revision(s) (requested by christos in ticket #490):
	etc/MAKEDEV.tmpl: revision 1.157
Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.  While here, pull up revision 1.54 (wedges) to reduces diffs to -current

Revision 1.157 / (download) - annotate - [select for diffs], Mon Aug 13 08:30:51 2012 UTC (11 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.156: +3 -2 lines
Diff to previous 1.156 (colored)

Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.

Revision 1.151.2.3 / (download) - annotate - [select for diffs], Thu Jun 28 04:48:25 2012 UTC (11 years, 8 months ago) by riz
Branch: netbsd-6
Changes since 1.151.2.2: +4 -3 lines
Diff to previous 1.151.2.2 (colored) to branchpoint 1.151 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #358):
	etc/MAKEDEV.tmpl: revision 1.156
Invoke MAKEDEV.local via $HOST_SH (default ${HOST_SH:=sh}) instead of
hardcoded "sh" to avoid unexpected errors on cross build hosts in
src/distrib/common/Makefile.makedev etc.
Should fix PR toolchain/46537, ok apb@

Revision 1.156 / (download) - annotate - [select for diffs], Tue Jun 5 13:20:01 2012 UTC (11 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.155: +4 -3 lines
Diff to previous 1.155 (colored)

Invoke MAKEDEV.local via $HOST_SH (default ${HOST_SH:=sh}) instead of
hardcoded "sh" to avoid unexpected errors on cross build hosts in
src/distrib/common/Makefile.makedev etc.

Should fix PR toolchain/46537, ok apb@

Revision 1.151.2.2 / (download) - annotate - [select for diffs], Wed May 30 08:06:26 2012 UTC (11 years, 9 months ago) by sborrill
Branch: netbsd-6
Changes since 1.151.2.1: +2 -1 lines
Diff to previous 1.151.2.1 (colored) to branchpoint 1.151 (colored)

Pull up the following revisions(s) (requested by riz in ticket #291):
	etc/MAKEDEV.tmpl:		revision 1.155
	sbin/iscsictl/iscsictl.8:	revision 1.2-1.4
	sbin/iscsid/iscsid_driverif.c:	revision 1.4-1.5
	sbin/iscsid/iscsid_lists.c:	revision 1.4-1.7
	sbin/iscsid/iscsid_targets.c:	revision 1.4
	sbin/iscsid/iscsid_globals.h:	revision 1.5-1.7
	sbin/iscsid/iscsid_main.c:	revision 1.4-1.7
	sbin/iscsid/Makefile:		revision 1.2-1.4
	sbin/iscsid/iscsid.8:		revision 1.3-1.8
	sbin/iscsid/iscsid.h:		revision 1.3
	sys/dev/iscsi/iscsi_main.c:	revision 1.2-1.3

Fix bugs in iscsid target list handling, and improve documentation
somewhat for the in-kernel iSCSI initiator.

Revision 1.155 / (download) - annotate - [select for diffs], Sat May 26 00:36:15 2012 UTC (11 years, 9 months ago) by riz
Branch: MAIN
Changes since 1.154: +2 -1 lines
Diff to previous 1.154 (colored)

Create /dev/iscsi0 as part of 'all'.

Revision 1.145.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:56 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.145.2.1: +24 -32 lines
Diff to previous 1.145.2.1 (colored) to branchpoint 1.145 (colored)

sync with head

Revision 1.154 / (download) - annotate - [select for diffs], Sat Apr 7 17:22:10 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.153: +4 -1 lines
Diff to previous 1.153 (colored)

give wedges to everyone

Revision 1.151.2.1 / (download) - annotate - [select for diffs], Sat Feb 25 14:48:12 2012 UTC (12 years ago) by sborrill
Branch: netbsd-6
Changes since 1.151: +2 -2 lines
Diff to previous 1.151 (colored)

Pull up the following revisions(s) (requested by tron in ticket #50):
	etc/MAKEDEV.tmpl:	revision 1.152

Four instances of atabus(4) are not enough for modern systems as the
system will report one instance for each SATA port. Create eight
device nodes by default.

Revision 1.153 / (download) - annotate - [select for diffs], Sat Feb 25 10:55:27 2012 UTC (12 years ago) by shattered
Branch: MAIN
Changes since 1.152: +1 -11 lines
Diff to previous 1.152 (colored)

Quoting sys/dev/vme/files.vme commit log: "vmegeneric never saw the
light of the source tree.  After 7 years, I guess nobody missed it."

OK by wiz@

Revision 1.152 / (download) - annotate - [select for diffs], Sat Feb 25 09:19:30 2012 UTC (12 years ago) by tron
Branch: MAIN
Changes since 1.151: +2 -2 lines
Diff to previous 1.151 (colored)

Four instances of atabus(4) are not enough for modern systems as the
system will report one instance for each SATA port. Create eight
device nodes by default.

Revision 1.151 / (download) - annotate - [select for diffs], Fri Feb 10 20:54:11 2012 UTC (12 years, 1 month ago) by nakayama
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.150: +5 -5 lines
Diff to previous 1.150 (colored)

Remove "spif[0-9]*" case from ports other than sparc{,64} by using
%stty_chr% and %sbpp_chr%.

Fix "MAKEDEV: bpp: unknown device" error on sparc{,64}, which is
observed in PR toolchain/45620 but not the fix.

Approved by releng.

Revision 1.150 / (download) - annotate - [select for diffs], Sun Jan 22 06:44:29 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.149: +8 -1 lines
Diff to previous 1.149 (colored)

add a tpm driver from bsssd.sourceforge.net

Revision 1.149 / (download) - annotate - [select for diffs], Sat Jan 21 02:52:50 2012 UTC (12 years, 2 months ago) by isaki
Branch: MAIN
Changes since 1.148: +1 -17 lines
Diff to previous 1.148 (colored)

Clean up pow(4) (which I had removed in Nov 2011).

Revision 1.113.2.6.4.2 / (download) - annotate - [select for diffs], Tue Dec 27 17:35:46 2011 UTC (12 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.113.2.6.4.1: +13 -1 lines
Diff to previous 1.113.2.6.4.1 (colored) to branchpoint 1.113.2.6 (colored) next main 1.113.2.7 (colored)

Merge flash/nand/nor infrastruct from matt-nb5-pq3.

Revision 1.148 / (download) - annotate - [select for diffs], Sat Nov 19 16:41:55 2011 UTC (12 years, 4 months ago) by agc
Branch: MAIN
Changes since 1.147: +9 -1 lines
Diff to previous 1.147 (colored)

grab major 203 for the iSCSI communications device (between kernel
driver and /sbin/iscsid)

Revision 1.145.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:21 2011 UTC (12 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

sync with head

Revision 1.147 / (download) - annotate - [select for diffs], Tue Nov 8 19:36:30 2011 UTC (12 years, 4 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base3
Changes since 1.146: +2 -2 lines
Diff to previous 1.146 (colored)

The previous change made "nooutput -2" discard both stdout and
stderr, whereas it should discard only stderr.  This commit
should fix that problem.

Revision 1.146 / (download) - annotate - [select for diffs], Tue Nov 8 19:11:19 2011 UTC (12 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

In the nooutput function, don't mess with file descritor 4
at the outer level; do it inside a subshell context so as not
to interfere with a different use of fd 4 by the caller.

This should fix PR 45590.

Revision 1.145 / (download) - annotate - [select for diffs], Wed Oct 26 09:02:20 2011 UTC (12 years, 4 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.144: +2 -2 lines
Diff to previous 1.144 (colored)

Change the pattern for matching ttys to allow any number of digits,
(tty[0-9]*).  This should fix PR 45514.

Revision 1.144 / (download) - annotate - [select for diffs], Wed Oct 12 20:57:55 2011 UTC (12 years, 5 months ago) by apb
Branch: MAIN
Changes since 1.143: +86 -35 lines
Diff to previous 1.143 (colored)

Exit with non-zero status when asked to create an unrecognised device.

Revision 1.143 / (download) - annotate - [select for diffs], Sun Oct 2 16:39:46 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.142: +11 -1 lines
Diff to previous 1.142 (colored)

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.

Revision 1.142 / (download) - annotate - [select for diffs], Tue Sep 6 13:34:44 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.141: +20 -8 lines
Diff to previous 1.141 (colored)

MAKEDEV dk<n> should create only the dk<n> device, but it previously
looped creating everything from dk0 to dk<n>.
Reported by M. Levinson.

Also add comments to cases where MAKEDEV loops creating multiple
devices.

Revision 1.141 / (download) - annotate - [select for diffs], Tue Sep 6 10:54:03 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.140: +129 -137 lines
Diff to previous 1.140 (colored)

In most case patterns, change foo*) to foo[0-9]*).  There are also
a few where foo*) changes to foo|foo[0-9]*) or some other slightly
more complex pattern.

This should prevent "MAKEDEV foobar0" from accidentally matching
the foo* pattern when it should really give an error, and it
should make the order of the patterns less critical.

Revision 1.140 / (download) - annotate - [select for diffs], Sat Aug 6 12:29:39 2011 UTC (12 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.139: +23 -3 lines
Diff to previous 1.139 (colored)

add -u flag that causes the MAKEDEV script to only create a device node if it
doesn't exist

Revision 1.113.2.7.4.1 / (download) - annotate - [select for diffs], Tue Jul 26 22:50:15 2011 UTC (12 years, 7 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.113.2.7: +13 -1 lines
Diff to previous 1.113.2.7 (colored) next main 1.113.2.8 (colored)

Add flash

Revision 1.139 / (download) - annotate - [select for diffs], Sat Jul 9 14:49:28 2011 UTC (12 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.138: +16 -1 lines
Diff to previous 1.138 (colored)

create /dev/dvb/adapterN/* devices for dtv

Revision 1.113.2.8 / (download) - annotate - [select for diffs], Fri May 20 19:21:32 2011 UTC (12 years, 10 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1
Branch point for: netbsd-5-2
Changes since 1.113.2.7: +2 -2 lines
Diff to previous 1.113.2.7 (colored) to branchpoint 1.113 (colored)

Pull up following revision(s) (requested by dholland in ticket #1613):
	etc/MAKEDEV.tmpl: revision 1.133
	share/man/man8/MAKEDEV.8: revision 1.38
Make device node for altq JoBS.
Should fix palindromic PR/43034.

Revision 1.136.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:08:41 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.136.2.1: +8 -1 lines
Diff to previous 1.136.2.1 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

Sync with HEAD

Revision 1.138 / (download) - annotate - [select for diffs], Sat Feb 26 18:07:16 2011 UTC (13 years ago) by ahoka
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.137: +8 -1 lines
Diff to previous 1.137 (colored)

Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:18:49 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.136: +11 -1 lines
Diff to previous 1.136 (colored)

Sync with HEAD

Revision 1.137 / (download) - annotate - [select for diffs], Wed Jan 26 01:18:47 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.136: +11 -1 lines
Diff to previous 1.136 (colored)

Add support for the Extensible MIPS ("eMIPS") platform.  The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.

Revision 1.136 / (download) - annotate - [select for diffs], Sun Sep 19 20:52:23 2010 UTC (13 years, 6 months ago) by jakllsch
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored)

Make pci(4) device nodes root:wheel 0640 by default.
Mortals do not need to be able to generate PCI Configuration Space
read transactions, which are not entirely without side effect, as
reported in PR#16300.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Aug 22 18:56:20 2010 UTC (13 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.134: +7 -2 lines
Diff to previous 1.134 (colored)

Import NPF - a packet filter.  Some features:

- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@

Revision 1.113.2.6.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:21:22 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.113.2.6: +8 -1 lines
Diff to previous 1.113.2.6 (colored)

sync to netbsd-5

Revision 1.134 / (download) - annotate - [select for diffs], Mon Apr 19 04:34:42 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

Also create ugen[123] by default -- my laptop attaches 2 ugens
already with just the builtin devices.

Revision 1.133 / (download) - annotate - [select for diffs], Tue Mar 23 19:22:41 2010 UTC (13 years, 11 months ago) by jakllsch
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

Make device node for altq JoBS.
Should fix palindromic PR/43034.

Revision 1.132 / (download) - annotate - [select for diffs], Sat Mar 6 21:33:20 2010 UTC (14 years ago) by plunky
Branch: MAIN
Changes since 1.131: +2 -1 lines
Diff to previous 1.131 (colored)

include ttyHS0 in usbs target [for uhso(4)]

Revision 1.131 / (download) - annotate - [select for diffs], Sat Mar 6 21:05:36 2010 UTC (14 years ago) by plunky
Branch: MAIN
Changes since 1.130: +13 -1 lines
Diff to previous 1.130 (colored)

Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems

Revision 1.113.2.7 / (download) - annotate - [select for diffs], Sat Sep 26 19:52:09 2009 UTC (14 years, 5 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, matt-nb5-pq3-base
Branch point for: netbsd-5-1, matt-nb5-pq3
Changes since 1.113.2.6: +8 -1 lines
Diff to previous 1.113.2.6 (colored) to branchpoint 1.113 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #946):
	distrib/sets/lists/man/mi: revision 1.1155
	doc/CHANGES: revision 1.1285
	etc/MAKEDEV.tmpl: revision 1.128
	share/man/man4/Makefile: revision 1.498 via patch
	share/man/man4/hdaudio.4: revision 1.1-1.3
	share/man/man8/MAKEDEV.8: revision 1.36
	sys/arch/amd64/conf/GENERIC: revision 1.250-1.251
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.44-1.45
	sys/arch/i386/conf/ALL: revision 1.206-1.207
	sys/arch/i386/conf/GENERIC: revision 1.942-1.943
	sys/arch/i386/conf/XEN3_DOM0: patch
	sys/conf/majors: revision 1.47 via patch
	sys/dev/pci/hdaudio/files.hdaudio: revision 1.1-1.2
	sys/dev/pci/hdaudio/hdaudio.c: revision 1.1-1.4
	sys/dev/pci/hdaudio/hdaudio_afg.c: revisions 1.1-1.14
	sys/dev/pci/hdaudio/hdaudio_mixer.h: revisions 1.1-1.3
	sys/dev/pci/hdaudio/hdaudio_pci.c: revisions 1.1-1.2
	sys/dev/pci/hdaudio/hdaudioio.h: revisions 1.1-1.2
	sys/dev/pci/hdaudio/hdaudioreg.h: revisions 1.1-1.3
	sys/dev/pci/hdaudio/hdaudiovar.h: revisions 1.1-1.4
	sys/dev/pci/files.pci: revisions 1.319 and 1.322 via patch
hdaudio(4) is a standards-compliant driver for High Definition Audio.
It will replace azalia(4) after testing.
To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:
hdaudio*        at pci? dev ? function ?
hdafg*          at hdaudiobus?
You should also:
cd /dev
sh MAKEDEV audio

Revision 1.130 / (download) - annotate - [select for diffs], Fri Sep 25 06:06:04 2009 UTC (14 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.129: +2 -1 lines
Diff to previous 1.129 (colored)

add drm to the big comment at the top

Revision 1.129 / (download) - annotate - [select for diffs], Thu Sep 24 14:53:36 2009 UTC (14 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.128: +5 -4 lines
Diff to previous 1.128 (colored)

fix dri/drm confusiog

Revision 1.128 / (download) - annotate - [select for diffs], Sun Sep 6 17:25:55 2009 UTC (14 years, 6 months ago) by sborrill
Branch: MAIN
Changes since 1.127: +8 -1 lines
Diff to previous 1.127 (colored)

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio

Revision 1.127 / (download) - annotate - [select for diffs], Sun Jul 5 21:35:16 2009 UTC (14 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored)

fix previous to actually pay attention to the unit number.
noted by drochner.

Revision 1.126 / (download) - annotate - [select for diffs], Fri Jul 3 06:33:56 2009 UTC (14 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.125: +7 -1 lines
Diff to previous 1.125 (colored)

create a /dev/dri/card0.  fixes PR#40952.

Revision 1.125 / (download) - annotate - [select for diffs], Sun Jun 14 21:34:15 2009 UTC (14 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

makedir for real this time.

Revision 1.124 / (download) - annotate - [select for diffs], Sun Jun 14 20:01:04 2009 UTC (14 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

Use makedir, from M. Levinson.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jun 14 13:18:02 2009 UTC (14 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

absolute paths are not allowed here. from Anon Ymous

Revision 1.122 / (download) - annotate - [select for diffs], Sat May 23 22:29:14 2009 UTC (14 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.121: +7 -1 lines
Diff to previous 1.121 (colored)

Create /dev/zfs and /dev/zpool/.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:02 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.119: +12 -2 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.121 / (download) - annotate - [select for diffs], Sun May 10 14:19:28 2009 UTC (14 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

verified executable -> Veriexec.

Revision 1.120 / (download) - annotate - [select for diffs], Thu Mar 12 00:19:36 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.119: +11 -1 lines
Diff to previous 1.119 (colored)

/dev/{r,}altmem??

Revision 1.101.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 20:43:41 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.101.6.3: +64 -39 lines
Diff to previous 1.101.6.3 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.113.2.6 / (download) - annotate - [select for diffs], Fri Jan 16 23:01:09 2009 UTC (15 years, 2 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.113.2.5: +38 -13 lines
Diff to previous 1.113.2.5 (colored) to branchpoint 1.113 (colored)

Pull up following revision(s) (requested by apb in ticket #276):
	etc/MAKEDEV.tmpl: revision 1.119
* When testing whether the fdesc file system is mounted, parse the
output from mount(8) rather than df(1), because mount is more likely
to be available on install media.  mount is invoked in a way that
always prints an error message, and the content of the error message
tells us whether fdesc is mounted.
* Don't use negative variable names.  Instead of nofdesc=false, use
fdesc_mounted=true.
* Add a comment explaining that MAKEDEV may be executed in an environment
that is missing some common commands.

Revision 1.119 / (download) - annotate - [select for diffs], Sat Jan 3 08:49:03 2009 UTC (15 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: mjf-devfs2-base2
Branch point for: jym-xensuspend
Changes since 1.118: +39 -14 lines
Diff to previous 1.118 (colored)

* When testing whether the fdesc file system is mounted, parse the
  output from mount(8) rather than df(1), because mount is more likely
  to be available on install media.  mount is invoked in a way that
  always prints an error message, and the content of the error message
  tells us whether fdesc is mounted.  This should fix PR 40316 from
  David Ross.
* Don't use negative variable names.  Instead of nofdesc=false, use
  fdesc_mounted=true.
* Add a comment explaining that MAKEDEV may be executed in an environment
  that is missing some common commands.

Revision 1.113.2.5 / (download) - annotate - [select for diffs], Sat Nov 29 20:44:51 2008 UTC (15 years, 3 months ago) by bouyer
Branch: netbsd-5
Changes since 1.113.2.4: +20 -15 lines
Diff to previous 1.113.2.4 (colored) to branchpoint 1.113 (colored)

Pull up following revision(s) (requested by joerg in ticket #137):
	etc/MAKEDEV.tmpl: revision 1.118
Change the formula for tmpfs size. The per-inode memory usage is
higher than old estimate on 64bit platforms and the resulting tmpfs
wouldn't be able to hold the required number of devices.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Nov 28 16:04:31 2008 UTC (15 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.117: +21 -16 lines
Diff to previous 1.117 (colored)

Change the formula for tmpfs size. The per-inode memory usage is
higher than old estimate on 64bit platforms and the resulting tmpfs
wouldn't be able to hold the required number of devices.

Revision 1.113.2.4 / (download) - annotate - [select for diffs], Sun Nov 23 21:01:18 2008 UTC (15 years, 3 months ago) by riz
Branch: netbsd-5
Changes since 1.113.2.3: +1 -3 lines
Diff to previous 1.113.2.3 (colored) to branchpoint 1.113 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #110):
	etc/MAKEDEV.tmpl: revision 1.117
Don't warn about missing MAKEDEV.local. It doesn't exist in some
environments.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Nov 21 11:44:38 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.116: +1 -3 lines
Diff to previous 1.116 (colored)

Don't warn about missing MAKEDEV.local. It doesn't exist in some
environments.

Revision 1.116 / (download) - annotate - [select for diffs], Mon Nov 17 12:54:57 2008 UTC (15 years, 4 months ago) by uch
Branch: MAIN
Changes since 1.115: +5 -3 lines
Diff to previous 1.115 (colored)

add dialout device for scif, sci

Revision 1.113.2.3 / (download) - annotate - [select for diffs], Fri Nov 14 02:52:01 2008 UTC (15 years, 4 months ago) by snj
Branch: netbsd-5
Changes since 1.113.2.2: +2 -2 lines
Diff to previous 1.113.2.2 (colored) to branchpoint 1.113 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #53):
	etc/MAKEDEV.tmpl: revision 1.115
My previous change should have read 'makedev video', not audio.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Nov 12 13:14:28 2008 UTC (15 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

My previous change should have read 'makedev video', not audio.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Nov 12 12:35:52 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.113: +2 -7 lines
Diff to previous 1.113 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.113.2.2 / (download) - annotate - [select for diffs], Tue Nov 11 12:37:32 2008 UTC (15 years, 4 months ago) by jmcneill
Branch: netbsd-5
Changes since 1.113.2.1: +1 -1 lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored)

Revert previous; checked in to the wrong branch.

Revision 1.113.2.1 / (download) - annotate - [select for diffs], Tue Nov 11 12:35:45 2008 UTC (15 years, 4 months ago) by jmcneill
Branch: netbsd-5
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

Last commit should have added 'makedev video', not 'makedev audio', pointed
out by Izumi Tsutsui.

Revision 1.101.6.3 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:18 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.101.6.2: +15 -3 lines
Diff to previous 1.101.6.2 (colored) to branchpoint 1.101 (colored)

Sync with HEAD.

Revision 1.107.2.3 / (download) - annotate - [select for diffs], Wed Sep 24 16:32:55 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.107.2.2: +2 -3 lines
Diff to previous 1.107.2.2 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.107.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:41:08 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.107.2.1: +16 -3 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.113 / (download) - annotate - [select for diffs], Sun Sep 14 13:59:54 2008 UTC (15 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, netbsd-5-base, mjf-devfs2-base, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.112: +2 -1 lines
Diff to previous 1.112 (colored)

Create /dev/videoN with all target

Revision 1.112 / (download) - annotate - [select for diffs], Sun Sep 14 13:58:25 2008 UTC (15 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.111: +1 -2 lines
Diff to previous 1.111 (colored)

Don't bother with /dev/video -> /dev/video0 symlink, nobody uses it

Revision 1.111 / (download) - annotate - [select for diffs], Sat Sep 13 11:46:18 2008 UTC (15 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.110: +1 -2 lines
Diff to previous 1.110 (colored)

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.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Sep 6 19:21:21 2008 UTC (15 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.109: +14 -2 lines
Diff to previous 1.109 (colored)

Add /dev/video*

Revision 1.109 / (download) - annotate - [select for diffs], Sun Jul 13 15:22:39 2008 UTC (15 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.108: +3 -2 lines
Diff to previous 1.108 (colored)

Let "MAKEDEV ptm" create the /dev/pts directory.  Requested
in pkgsrc-users by Christian Biere.

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:01 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.107: +7 -1 lines
Diff to previous 1.107 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.106.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:03:21 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.106.2.1: +7 -1 lines
Diff to previous 1.106.2.1 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored)

sync with head

Revision 1.67.2.2.2.2 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:00 2008 UTC (15 years, 9 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.67.2.2.2.1: +2 -1 lines
Diff to previous 1.67.2.2.2.1 (colored) next main 1.67.2.3 (colored)

Sync with netbsd-4.

Revision 1.101.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:19 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.101.6.1: +138 -70 lines
Diff to previous 1.101.6.1 (colored) to branchpoint 1.101 (colored)

Sync with HEAD.

Revision 1.108 / (download) - annotate - [select for diffs], Thu May 22 19:49:43 2008 UTC (15 years, 10 months ago) by hauke
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.107: +7 -1 lines
Diff to previous 1.107 (colored)

Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:29:47 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.106: +1 -8 lines
Diff to previous 1.106 (colored)

sync with head.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Apr 30 13:10:49 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.106: +1 -8 lines
Diff to previous 1.106 (colored)

Convert TNF licenses to new 2 clause variant

Revision 1.106 / (download) - annotate - [select for diffs], Tue Apr 15 09:53:58 2008 UTC (15 years, 11 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

Remove an extraneous "%" from the end of a line.

Revision 1.105 / (download) - annotate - [select for diffs], Tue Apr 15 09:52:41 2008 UTC (15 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.104: +10 -5 lines
Diff to previous 1.104 (colored)

In the nooutput function, use {...} to ensure that shell messages
like "cmd: not found" are also redirected.

This should fix a problem reported by Chavdar Ivanov in which
the message "mtree: not found" appears during installation.

Revision 1.104 / (download) - annotate - [select for diffs], Wed Apr 9 20:19:15 2008 UTC (15 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.103: +123 -59 lines
Diff to previous 1.103 (colored)

* Fix the problem with pax complaining "file would overwrite itself" for
  already-existing device nodes.  This is done by invoking pax with its
  current working directory set to an empty temporary directory.

* Add "-t mtree" command line option, to force MAKEDEV to use "mtree
  -e -U" to create device nodes.  Here are some timings from "MAKEDEV
  ${method} all" on an i386 system; each method was executed three
  times, first in an empty directory, then twice in an already-populated
  directory:

    -m mknod
	    4.56 real         1.58 user         1.68 sys
	    2.96 real         1.37 user         1.48 sys
	    2.95 real         1.43 user         1.44 sys
    -p pax
	    1.80 real         0.18 user         0.62 sys
	    2.35 real         0.25 user         0.80 sys
	    2.38 real         0.24 user         0.82 sys
    -t mtree
	    1.62 real         0.22 user         0.44 sys
	    0.23 real         0.29 user         0.04 sys
	    0.24 real         0.28 user         0.05 sys

* If no command line options force a choice, then prefer mtree, pax, or
  mknod, in that order of preference.

No objections in tech-userlevel to an earlier version of this change.

Revision 1.67.2.4 / (download) - annotate - [select for diffs], Tue Apr 8 20:35:01 2008 UTC (15 years, 11 months ago) by jdc
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.67.2.3: +2 -1 lines
Diff to previous 1.67.2.3 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Pull up revision 1.100 (requested by riz in ticket #1118).

Create drvctl as part of 'all'.

Revision 1.101.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 13:54:11 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.101: +6 -2 lines
Diff to previous 1.101 (colored)

Sync with HEAD.

Revision 1.103 / (download) - annotate - [select for diffs], Wed Apr 2 01:34:36 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.102: +5 -1 lines
Diff to previous 1.102 (colored)

Certain misguided people have complained, NetBSD only runs rare or
"retro" computers, but NetBSD also runs a growing number of rare
and retro add-on cards.  With this patch, NetBSD supports the IDEC
Supervision/16, a black&white image capture board for the 16-bit
ISA bus.  Approximate date of manufacture: 1991.  Total instances
known to be in use throughout the world: one.

Coming soon; isvctl(8), the utility program for capturing 8-bit,
512x480 images at speeds of up to 6 frames per second.

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:40 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

sync with head.

Revision 1.87.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:23:48 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.87.2.2: +2 -2 lines
Diff to previous 1.87.2.2 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)

sync with HEAD

Revision 1.102 / (download) - annotate - [select for diffs], Wed Mar 5 02:29:51 2008 UTC (16 years ago) by christos
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-base
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored)

Make makedir code optional for all directories (fd and altq) are affected.
This is so that md code that tries to call makedev altq or fd does not fail
when the file exists. This was reported in port-powerpc, when building /dev.

Revision 1.87.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:29:49 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.87.2.1: +211 -66 lines
Diff to previous 1.87.2.1 (colored) to branchpoint 1.87 (colored)

sync with HEAD

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Mon Dec 31 15:31:41 2007 UTC (16 years, 2 months ago) by ad
Branch: mjf-devfs
Changes since 1.101.2.1: +2027 -0 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Remove systrace. Ok core@.

Revision 1.101.2.1, Mon Dec 31 15:31:40 2007 UTC (16 years, 2 months ago) by ad
Branch: mjf-devfs
Changes since 1.101: +0 -2027 lines
FILE REMOVED

file MAKEDEV.tmpl was added on branch mjf-devfs on 2007-12-31 15:31:41 +0000

Revision 1.101 / (download) - annotate - [select for diffs], Mon Dec 31 15:31:40 2007 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, mjf-devfs, keiichi-mipv6
Changes since 1.100: +2 -7 lines
Diff to previous 1.100 (colored)

Remove systrace. Ok core@.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Dec 17 04:29:50 2007 UTC (16 years, 3 months ago) by riz
Branch: MAIN
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored)

Create drvctl as part of 'all'.

Revision 1.99 / (download) - annotate - [select for diffs], Sun Dec 16 16:09:27 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

s/07555/0755/ in permissions of /dev file system.  Thanks to
Dieter Roelants for the report.

Revision 1.98 / (download) - annotate - [select for diffs], Sat Dec 15 21:33:13 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.97: +44 -10 lines
Diff to previous 1.97 (colored)

When MAKEDEV creates a memory file system, let it try mount_tmpfs(8)
before falling back to mount_mfs(8).  Also calculate required number
of inodes more accurately.

Discussed in tech-userlevel.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Dec 15 17:28:09 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.96: +66 -34 lines
Diff to previous 1.96 (colored)

In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Dec 11 11:51:19 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.95: +19 -3 lines
Diff to previous 1.95 (colored)

* Move duplicated code into a check_pax function, and improve the test
  for whether pax is likely to be usable.
* Don't try to create an mfs with fewer than 10 inodes.
* Add a missing exit in an error case.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Dec 11 10:02:24 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Pass "-pe" flag to pax, otherwise the devices get created with
permissions modified by the umask.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Dec 9 08:46:16 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.93: +53 -10 lines
Diff to previous 1.93 (colored)

* MAKEDEV's "-M -M" option was always intended for use only by init(8).
  Improve the documentation around that.
* The "-p pax", "-m mknod", and "-s" (mtree specfile) options should
  always have been mutually exclusive.  Now enforce that.
* The "-f" option didn't ever work with pax or mtree mode; document that,
  and make it an error to try something that won't work.
* Make pax mode the default, if no other options prevent this, and if
  "pax -w -M" appears to be usable.
* Add missing options to a usage message.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Dec 8 17:52:34 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.92: +8 -8 lines
Diff to previous 1.92 (colored)

Update some comments and remove an unnecessary eval.  No functional change.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Dec 8 17:31:12 2007 UTC (16 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.91: +14 -5 lines
Diff to previous 1.91 (colored)

Add a linecount shell function, and use it to count the lines in the
output from MAKEDEV.local.

Fixes PR 37498 from dlagner at rambler.ru, using an idea from David
Laight.  The while loop in the old code is executed in a subshell, so it
can't make persistent modifications to the parent shell's variables.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Nov 20 18:58:46 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored)

add /dev/pud

Revision 1.90 / (download) - annotate - [select for diffs], Tue Nov 13 13:14:25 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.89: +7 -5 lines
Diff to previous 1.89 (colored)

Create /dev/putter and symlink /dev/puffs to it.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Nov 11 17:54:47 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.88: +13 -1 lines
Diff to previous 1.88 (colored)

Add support for /dev/padN devices

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:10:23 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.87: +6 -1 lines
Diff to previous 1.87 (colored)

sync with HEAD

Revision 1.88 / (download) - annotate - [select for diffs], Sat Nov 3 19:33:36 2007 UTC (16 years, 4 months ago) by gdt
Branch: MAIN
Changes since 1.87: +6 -1 lines
Diff to previous 1.87 (colored)

Make cfs (for coda) as part of all, conforming to the documentation
which says that "all" means "all known devices".

Revision 1.40.2.9 / (download) - annotate - [select for diffs], Mon Oct 15 05:09:57 2007 UTC (16 years, 5 months ago) by riz
Branch: netbsd-3
Changes since 1.40.2.8: +5 -1 lines
Diff to previous 1.40.2.8 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

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

Revision 1.87.4.2 / (download) - annotate - [select for diffs], Sat Aug 4 11:03:05 2007 UTC (16 years, 7 months ago) by ad
Branch: matt-mips64
Changes since 1.87.4.1: +1877 -0 lines
Diff to previous 1.87.4.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)

Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.

Revision 1.87.4.1, Sat Aug 4 11:03:04 2007 UTC (16 years, 7 months ago) by ad
Branch: matt-mips64
Changes since 1.87: +0 -1877 lines
FILE REMOVED

file MAKEDEV.tmpl was added on branch matt-mips64 on 2007-08-04 11:03:05 +0000

Revision 1.87 / (download) - annotate - [select for diffs], Sat Aug 4 11:03:04 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64, matt-armv6
Changes since 1.86: +7 -2 lines
Diff to previous 1.86 (colored)

Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.

Revision 1.67.2.2.2.1 / (download) - annotate - [select for diffs], Mon Jun 4 01:54:11 2007 UTC (16 years, 9 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.67.2.2: +5 -1 lines
Diff to previous 1.67.2.2 (colored)

Update to today's netbsd-4.

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Wed May 23 21:56:03 2007 UTC (16 years, 10 months ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since 1.67.2.2: +4 -0 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored)

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

Revision 1.86 / (download) - annotate - [select for diffs], Wed May 16 13:06:03 2007 UTC (16 years, 10 months ago) by martti
Branch: MAIN
CVS Tags: hpcarm-cleanup
Changes since 1.85: +5 -1 lines
Diff to previous 1.85 (colored)

Create /dev/bio

Revision 1.85 / (download) - annotate - [select for diffs], Wed Mar 21 23:07:00 2007 UTC (17 years ago) by dyoung
Branch: MAIN
Changes since 1.84: +9 -4 lines
Diff to previous 1.84 (colored)

Make './MAKEDEV local' work as expected, whether we are counting
the number of /dev nodes or not.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Mar 21 03:39:41 2007 UTC (17 years ago) by dyoung
Branch: MAIN
Changes since 1.83: +7 -7 lines
Diff to previous 1.83 (colored)

Remove whitespace from ends of lines.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Mar 11 16:08:11 2007 UTC (17 years ago) by apb
Branch: MAIN
Changes since 1.82: +7 -2 lines
Diff to previous 1.82 (colored)

Test whether pax works; if not, fall back to mknod.
This is intended for use on install media that might not have pax.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Mar 11 15:52:30 2007 UTC (17 years ago) by apb
Branch: MAIN
Changes since 1.81: +54 -27 lines
Diff to previous 1.81 (colored)

* Add "-p pax" flag, to create all device nodes at once using pax,
  instead of one by one using mknod.  This is much faster (speed
  increases of up to 20 times have been observed, but 3 to 5 times is
  more common).
* One "-M" flag will create the mfs file system but not redirect output
  to a temporary console; "-M -M" will also redirect output.
* Change the way we accumulate options to pass to MAKEDEV.local.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Mar 9 19:16:47 2007 UTC (17 years ago) by dsl
Branch: MAIN
Changes since 1.80: +9 -14 lines
Diff to previous 1.80 (colored)

Replace hexprint with a version that is much faster for values > 15.
Since I managed to commit my alternate scheme for zeropad, delete
the commented out lines and replace the only other use.
I've not deleted the function itself though.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Mar 9 13:57:54 2007 UTC (17 years ago) by dsl
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Add a globally applied substitution pattern for the console major number.
Use it when creating a temporary node for the console.
MAKEDEV -M should now output what it is doing.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Mar 3 06:36:01 2007 UTC (17 years ago) by apb
Branch: MAIN
Changes since 1.78: +182 -8 lines
Diff to previous 1.78 (colored)

Remove MAKEDEV.subr.  This removes the risk of third party scripts (or
human procedures) breaking because they assume it's enough to copy
MAKEDEV fom one place to another.

Let MAKEDEV return after defining shell functions but before doing any
real work, if MAKEDEV_AS_LIBRARY is set.

Let MAKEDEV.local load MAKEDEV as a function library via
"MAKEDEV_AS_LIBRARY=1 . MAKEDEV".

Revision 1.78 / (download) - annotate - [select for diffs], Fri Mar 2 22:44:16 2007 UTC (17 years ago) by dsl
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Use the correct major number for the temporary console node

Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 2 21:29:23 2007 UTC (17 years ago) by dsl
Branch: MAIN
Changes since 1.76: +36 -1 lines
Diff to previous 1.76 (colored)

Add code that can be used by init(1) to request MAKEDEV create a mfs
filesystem and then populate it.
Determine the actual number of inodes that will be needed and add 10%.
Use "mount_mfs -o union" to save us having to copy MADEDEV (in case
anyone wishes to see it.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Mar 1 20:48:26 2007 UTC (17 years ago) by apb
Branch: MAIN
Changes since 1.75: +5 -2 lines
Diff to previous 1.75 (colored)

If we are called as 'sh MAKEDEV ...', then we would previously have
tried to do '. MAKEDEV.subr'.  That doesn't work, we need to do
'. ./MAKEDEV.subr' in that case.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Feb 28 19:45:37 2007 UTC (17 years ago) by apb
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Avoid using dirname(1), which is not available in installation
ramdisk images.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Feb 26 20:44:03 2007 UTC (17 years ago) by apb
Branch: MAIN
Changes since 1.73: +15 -163 lines
Diff to previous 1.73 (colored)

Provide a new MAKEDEV.subr file containing utility functions for
use by both MAKEDEV and MAKEDEV.local.  This allows MAKEDEV.local
to accept the same command line arguments as MAKEDEV.

The installed MAKEDEV.subr is generated from MAKEDEV.subr.tmpl.

Replace the licence on MAKEDEV.local with a NetBSD licence, since I
rewrote the entire file.

Reviewed by christos and agc

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Sun Feb 18 14:05:36 2007 UTC (17 years, 1 month ago) by tron
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.67.2.1: +0 -1 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored)

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@

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 19:14:08 2007 UTC (17 years, 1 month ago) by tron
Branch: netbsd-4
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

Pull up following revision(s) (requested by riz in ticket #443):
	etc/MAKEDEV.tmpl: revision 1.73
Fix off-by-one error in the creation of dk(4) device nodes.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Feb 7 03:01:13 2007 UTC (17 years, 1 month ago) by riz
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

Fix off-by-one error in the creation of dk(4) device nodes.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Feb 6 21:27:43 2007 UTC (17 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.71: +5 -1 lines
Diff to previous 1.71 (colored)

Create /dev/cmos.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Jan 15 23:35:11 2007 UTC (17 years, 2 months ago) by hubertf
Branch: MAIN
Changes since 1.70: +1 -2 lines
Diff to previous 1.70 (colored)

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@

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jan 9 15:34:15 2007 UTC (17 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

create /dev/puffs in 'all'

Revision 1.69 / (download) - annotate - [select for diffs], Fri Dec 29 19:16:30 2006 UTC (17 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.68: +6 -1 lines
Diff to previous 1.68 (colored)

Enable /dev/io for COMPAT_FREEBSD.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 10 08:14:32 2006 UTC (17 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.67: +10 -2 lines
Diff to previous 1.67 (colored)

Forward options -f, -m, -s to the MAKEDEV.local script, with the
help of some Bourne-shell magic from David Laight.

Revision 1.40.2.8 / (download) - annotate - [select for diffs], Sat Nov 11 19:58:14 2006 UTC (17 years, 4 months ago) by bouyer
Branch: netbsd-3
Changes since 1.40.2.7: +7 -1 lines
Diff to previous 1.40.2.7 (colored) to branchpoint 1.40 (colored)

Pull up following revision(s) (requested by manu in ticket #1528):
	etc/MAKEDEV.tmpl: revision 1.66 via patch
	sys/conf/majors: revision 1.30 via patch
	sys/dev/pci/twareg.h: revision 1.6 via patch
	sys/dev/pci/twa.c: revision 1.13 via patch
	sys/dev/pci/twaio.h: revision 1.4 via patch
	sys/compat/freebsd/freebsd_sysctl.c: revision 1.5 via patch
Tweak the twa(4) driver so that 3ware command line utility works with
it.
This includes:
- fixing various structure definitions so that the ioctl parameter match
- adding a hw.twa*.driver_version sysctl
- do not refuse multiple device openings, as the management tool will do
it.
  I'm not sure we are safe. FreeBSD allows multiple openings, and use
the
  open flag only when an attempt to detach the device is done.
Fix a bug in FreeBSD sysctl emulation: use copyin for
moving data to the kernel

Revision 1.67 / (download) - annotate - [select for diffs], Sun Oct 22 23:02:08 2006 UTC (17 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.66: +6 -1 lines
Diff to previous 1.66 (colored)

add puffs device, but I didn't add it to MAKEDEV all on purpose
just quite yet, too experimental

Revision 1.66 / (download) - annotate - [select for diffs], Sun Sep 24 08:23:36 2006 UTC (17 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.65: +7 -1 lines
Diff to previous 1.65 (colored)

Restore twa as major 187, this time with the flag so that it does not get
used in kernels that do not include the driver.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Sep 24 03:46:30 2006 UTC (17 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.64: +1 -7 lines
Diff to previous 1.64 (colored)

Back out the twa device:
- if allocated in the MI range, it breaks the builds for ports that do
  not use it
- if allocated in the MD range, 3ware's tw_cli tool will break because it
  hardcodes the major

Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 23 22:24:51 2006 UTC (17 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.63: +7 -1 lines
Diff to previous 1.63 (colored)

Add twa device

Revision 1.63 / (download) - annotate - [select for diffs], Sat Sep 23 20:23:09 2006 UTC (17 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored)

PR/26511: Stephen Borrill: ses devices are not created with MAKEDEV all
Patch applied, thanks!

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Thu Sep 14 21:16:32 2006 UTC (17 years, 6 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.58: +5 -6 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by plunky in ticket #161):
	sys/dev/bluetooth/btdev.h: revision 1.4
	distrib/sets/lists/comp/mi: revision 1.922
	usr.sbin/postinstall/postinstall: revision 1.25
	sys/netbt/hci_unit.c: revision 1.3
	sys/netbt/hci_ioctl.c: revision 1.4
	usr.sbin/sdpd/profile.c: revision 1.2
	usr.sbin/btdevctl/btdevctl.c: revision 1.2
	share/man/man4/Makefile: revision 1.405
	distrib/sets/lists/man/mi: revision 1.930
	distrib/sets/lists/etc/mi: revision 1.176
	usr.sbin/sdpd/profile.c: revision 1.3
	usr.sbin/btdevctl/btdevctl.c: revision 1.3
	etc/MAKEDEV.tmpl: revision 1.62
	distrib/sets/lists/base/mi: revision 1.650
	usr.sbin/btdevctl/btdevctl.h: revision 1.2
	usr.bin/sdpquery/sdpquery.1: revision 1.4
	sys/netbt/rfcomm_session.c: revision 1.2
	usr.sbin/btdevctl/btdevctl.8: revision 1.3
	usr.bin/sdpquery/search.c: revision 1.2
	usr.sbin/sdpd/Makefile: revision 1.2
	sys/dev/bluetooth/Makefile: revision 1.3
	usr.sbin/btdevctl/cfg.c: file removal
	sys/netbt/files.netbt: revision 1.4
	usr.sbin/btdevctl/sdp.c: revision 1.1
	sys/dev/bluetooth/bthidev.c: revision 1.3
	etc/bluetooth/Makefile: revision 1.3
	sys/dev/pcmcia/files.pcmcia: revision 1.51
	sys/dev/bluetooth/bthidev.c: revision 1.4
	sys/dev/bluetooth/bthidev.h: revision 1.3
	usr.sbin/btdevctl/dev.c: file removal
	sys/dev/bluetooth/files.bluetooth: revision 1.10
	sys/arch/i386/conf/GENERIC: revision 1.777
	share/man/man4/ubt.4: revision 1.6
	share/man/man4/bthub.4: revision 1.3
	sys/netbt/hci.h: revision 1.5
	sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.202
	lib/libsdp/sdp.h: revision 1.2
	usr.sbin/btdevctl/print.c: revision 1.1
	share/man/man4/bthidev.4: revision 1.5
	share/man/man4/btdev.4: file removal
	usr.sbin/btdevctl/print.c: revision 1.2
	sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.205
	usr.sbin/btdevctl/Makefile: revision 1.2
	sys/dev/usb/files.usb: revision 1.70
	sys/netbt/l2cap_signal.c: revision 1.2
	sys/netbt/hci_link.c: revision 1.4
	sys/dev/bluetooth/bthub.c: revision 1.3
	share/man/man4/btsco.4: revision 1.5
	sys/netbt/hci_link.c: revision 1.5
	share/man/man4/btdev.4: revision 1.4
	sys/dev/bluetooth/btkbd.c: revision 1.3
	sys/dev/bluetooth/btdev.c: file removal
	sys/netbt/hci_event.c: revision 1.2
	sys/dev/bluetooth/btsco.h: revision 1.2
	etc/mtree/special: revision 1.101
	sys/dev/bluetooth/btsco.c: revision 1.3
	sys/conf/majors: revision 1.27
	usr.sbin/sdpd/hf.c: revision 1.1
	sys/dev/bluetooth/btsco.c: revision 1.4
	share/man/man5/rc.conf.5: revision 1.107
	sys/dev/bluetooth/btdev.c: revision 1.2
	etc/rc.d/btdevctl: revision 1.2
	usr.sbin/btdevctl/db.c: revision 1.1
	etc/rc.d/btdevctl: revision 1.3
	etc/bluetooth/btdevctl.conf: revision 1.1
	usr.sbin/btdevctl/hid.c: file removal
	sys/arch/i386/conf/GENERIC: revision 1.781
	sys/dev/bluetooth/btdev.h: revision 1.3
Make btdev default count explicit
Fix typo in variable name
update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations
add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.
btdevctl(8) and its cache is updated to handle new semantics
etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
also include service name in dictionary being sent to kernel.
(this is not used just yet, but it might be in the future and it will
be easier if we dont have to provide code to handle its absence)
clarify the CAVEAT section somewhat
Add service discovery support for the Handsfree profile
Replace static 'FreeBSD' string with operating system name gleaned
from uname(3)
Halt the callout on detach
btsco.c:
 - sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t,
   not an int. So change sc_mtu's type to uint16_t.
 - Try a little harder to ensure btsco_round_blocksize() does not
   return zero. Prevents a subsequent panic in audio_init_ringbuffer().
	from scw@
Endian issues:
hci_event.c:
 - Convert memo->response.clock_offset to host-endian.
hci_ioctl.c:
 - printf format tweak (size_t)
hci_link.c:
 - Convert memo->response.clock_offset from host-endian.
 - Tweak a DIAGNOSTIC message.
l2cap_signal.c:
 - In l2cap_recv_config_req(), rp->scid is little-endian so make sure
   we convert from host-endian.
	from scw@
hci_link.c:
 - In hci_link_free(), do not unlink items from a LIST queue within
   a LIST_FOREACH() iterator.
rfcomm_session.c:
 - In rfcomm_session_recv_mcc_nsc(), do not unlink items from a LIST
   queue within a LIST_FOREACH() iterator.
	from scw@
guard against a possible situation where the list of l2cap channels is changed
when the bluetooth code is not expecting it to be. During a disconnect, we can
detach the channel that is being disconnected, but its not really safe to detach
any others.
Print explicit 64-bit types using the format macros from int_fmtio.h.
Unbreaks the build for our LP64 ports, where "long long" typically is
not 64 bits.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Sep 10 15:45:55 2006 UTC (17 years, 6 months ago) by plunky
Branch: MAIN
Changes since 1.61: +5 -6 lines
Diff to previous 1.61 (colored)

update to bluetooth device attachment:

remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf

Revision 1.61 / (download) - annotate - [select for diffs], Thu Sep 7 01:18:01 2006 UTC (17 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.60: +7 -2 lines
Diff to previous 1.60 (colored)

Add /dev/lockstat.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Aug 13 18:53:31 2006 UTC (17 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Typo

Revision 1.59 / (download) - annotate - [select for diffs], Sat Aug 12 19:47:28 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.58: +13 -2 lines
Diff to previous 1.58 (colored)

- add creation of wedges /dev/{r,}dkN
- use $() instead of ``

Revision 1.23.2.3.2.1 / (download) - annotate - [select for diffs], Tue Aug 1 14:37:51 2006 UTC (17 years, 7 months ago) by ghen
Branch: netbsd-2
Changes since 1.23.2.3: +4 -1 lines
Diff to previous 1.23.2.3 (colored) next main 1.24 (colored)

Pull up following revision(s) (requested by martti in ticket #10665):
	etc/MAKEDEV.tmpl: revision 1.58
Create /dev/ipsync, /dev/ipscan and /dev/iplookup (misc/33504).

Revision 1.40.2.7 / (download) - annotate - [select for diffs], Sun Jul 30 17:38:03 2006 UTC (17 years, 7 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.40.2.6: +4 -1 lines
Diff to previous 1.40.2.6 (colored) to branchpoint 1.40 (colored)

Pull up following revision(s) (requested by martti in ticket #1434):
	etc/MAKEDEV.tmpl: revision 1.58
Create /dev/ipsync, /dev/ipscan and /dev/iplookup (misc/33504).

Revision 1.40.2.6 / (download) - annotate - [select for diffs], Sun Jul 30 16:38:58 2006 UTC (17 years, 7 months ago) by tron
Branch: netbsd-3
Changes since 1.40.2.5: +7 -1 lines
Diff to previous 1.40.2.5 (colored) to branchpoint 1.40 (colored)

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).

Revision 1.58 / (download) - annotate - [select for diffs], Thu Jul 27 06:49:06 2006 UTC (17 years, 7 months ago) by martti
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.57: +4 -1 lines
Diff to previous 1.57 (colored)

Create /dev/ipsync, /dev/ipscan and /dev/iplookup (misc/33504).

Revision 1.57 / (download) - annotate - [select for diffs], Wed Jul 26 10:31:00 2006 UTC (17 years, 7 months ago) by tron
Branch: MAIN
Changes since 1.56: +6 -4 lines
Diff to previous 1.56 (colored)

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.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jul 23 12:01:25 2006 UTC (17 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.55: +7 -1 lines
Diff to previous 1.55 (colored)

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.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jul 7 17:21:19 2006 UTC (17 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

fix xsd_kva.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 4 21:39:55 2006 UTC (17 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.53: +5 -1 lines
Diff to previous 1.53 (colored)

Add new xen device xsd_kva (for Xen3 dom0 operations)

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:35 2006 UTC (17 years, 9 months ago) by gdamore
Branch: MAIN
Changes since 1.52: +6 -1 lines
Diff to previous 1.52 (colored)

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.

Revision 1.40.2.5 / (download) - annotate - [select for diffs], Tue Apr 4 21:37:40 2006 UTC (17 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.40.2.4: +1 -1 lines
Diff to previous 1.40.2.4 (colored) to branchpoint 1.40 (colored)

Pull up following revision(s) (requested by christos in ticket #1237):
	etc/MAKEDEV.tmpl: revision 1.51
Add parentheses.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Apr 3 08:15:50 2006 UTC (17 years, 11 months ago) by scw
Branch: MAIN
Changes since 1.51: +7 -1 lines
Diff to previous 1.51 (colored)

Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Mar 25 17:19:02 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Add parentheses.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Feb 15 21:59:08 2006 UTC (18 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.49: +10 -4 lines
Diff to previous 1.49 (colored)

Add some more .MAKE so that we don't run multiple parallel makes.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Feb 6 13:12:41 2006 UTC (18 years, 1 month ago) by hamajima
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

EP93xx has 8 GPIOs. I increased /dev/gpio*.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Sep 27 02:44:12 2005 UTC (18 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.47: +12 -1 lines
Diff to previous 1.47 (colored)

Add gpio devices to template.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jul 30 06:14:49 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.46: +10 -1 lines
Diff to previous 1.46 (colored)

Add a driver for Cypress microcontroller based USB serial adapters.

XXX hw flow control is not supported.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jul 11 15:37:03 2005 UTC (18 years, 8 months ago) by kiyohara
Branch: MAIN
Changes since 1.45: +14 -1 lines
Diff to previous 1.45 (colored)

ieee1394 import from FreeBSD.

Revision 1.40.2.4 / (download) - annotate - [select for diffs], Sat Jul 2 15:49:36 2005 UTC (18 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.40.2.3: +1 -1 lines
Diff to previous 1.40.2.3 (colored) to branchpoint 1.40 (colored)

Pull up revision 1.45 (requested by elad in ticket #487):
Don't allow unprivileged users to access the veriexec device.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 16 15:31:21 2005 UTC (18 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Don't allow unprivileged users to access the veriexec device.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Fri Jun 10 15:21:53 2005 UTC (18 years, 9 months ago) by tron
Branch: netbsd-3
Changes since 1.40.2.2: +1 -1 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored)

Pull up revision 1.44 (requested by elad in ticket #389):
Fix naming of the verified exec character device placeholder.

Revision 1.44 / (download) - annotate - [select for diffs], Sat May 28 14:54:06 2005 UTC (18 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Fix naming of the verified exec character device placeholder.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Sat May 7 11:51:39 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.40.2.1: +22 -1 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

Pull up revision 1.43 (requested by lukem in ticket #256):
Add hexprint(); display the given number as hex.
Add a comment to document zeropad()'s purpose.

Revision 1.43 / (download) - annotate - [select for diffs], Mon May 2 00:46:46 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.42: +23 -2 lines
Diff to previous 1.42 (colored)

Add hexprint(); display the given number as hex.
Add a comment to document zeropad()'s purpose.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Apr 30 16:26:06 2005 UTC (18 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.41: +7 -8 lines
Diff to previous 1.41 (colored)

Make /dev/usb readable to all; it is only used to report USB events.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sun Apr 3 13:42:14 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Pull up revision 1.41 (requested by peter in ticket #86):
Add pf to the all target.  Pointed out by Steve Rumble.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Apr 1 21:07:01 2005 UTC (18 years, 11 months ago) by peter
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Add pf to the all target.  Pointed out by Steve Rumble.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Mar 12 10:26:45 2005 UTC (19 years ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.39: +9 -7 lines
Diff to previous 1.39 (colored)

separate tun(4) and joy(4) entries, those two are totally independant
PR: kern/29673 by FUKAUMI Naoki

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 11 20:55:10 2005 UTC (19 years ago) by bouyer
Branch: MAIN
Changes since 1.38: +17 -1 lines
Diff to previous 1.38 (colored)

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.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jan 8 22:31:28 2005 UTC (19 years, 2 months ago) by cube
Branch: MAIN
Changes since 1.37: +15 -1 lines
Diff to previous 1.37 (colored)

Create tap (cloning), tap0 .. tap3 in /dev by default.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jan 8 20:32:10 2005 UTC (19 years, 2 months ago) by joff
Branch: MAIN
Changes since 1.36: +5 -1 lines
Diff to previous 1.36 (colored)

Add tslcd

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 4 15:06:24 2005 UTC (19 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Fix bpf/bpf0 swap

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 3 22:45:34 2005 UTC (19 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Link /dev/bpf to /dev/bpf0. dhclient looks for /dev/bpf now...

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 29 06:36:46 2004 UTC (19 years, 2 months ago) by joff
Branch: MAIN
Changes since 1.33: +7 -1 lines
Diff to previous 1.33 (colored)

Add epcom serial UART char device found on Cirrus Logic EP93xx ARM9 SoC's

Revision 1.33 / (download) - annotate - [select for diffs], Wed Dec 1 23:09:04 2004 UTC (19 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.32: +3 -10 lines
Diff to previous 1.32 (colored)

Marry tun and joy.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 1 23:06:57 2004 UTC (19 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.31: +8 -4 lines
Diff to previous 1.31 (colored)

Create /dev/bpf not /dev/bpfN

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Fri Nov 12 04:52:26 2004 UTC (19 years, 4 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.23.2.2: +2 -1 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Pullup rev 1.30 (requested by christos in ticket #919)

MAKEDEV regression because of printf -> zeropad change. PR#27235

Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 22 14:08:22 2004 UTC (19 years, 5 months ago) by peter
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Remove the "(not in tree)" part in the comment for PF.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 12 14:42:08 2004 UTC (19 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

PR/27235: Jukka Salmi: MAKEDEV regression because of printf -> zeropad change

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sun Aug 29 13:18:34 2004 UTC (19 years, 6 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1
Changes since 1.23.2.1: +39 -20 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

Pull up revision 1.26 via patch (requested by christos in ticket #776):
Rework the sequence that ptys get allocated so that we don't end up with
gaps in the sequence of minor numbers as we allocate ptys. Having gaps
has 2 bad side effects:
	- ptm does not like it
	- we allocate a lot of storage that we'll never use in the pty array
	  (the current scheme allocated 62 ptys 0-15,256-301, so we needed
	   302 entries to get 64).
Now we allocate ptys in groups of 16 or 14 instead of 64, and we follow
the minor number order.
We default to 64 pty's by building pty0-3, which is all using the old
traditional pty names. Of course to do this, the shell code is a bit
convoluted.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sun Aug 29 13:15:57 2004 UTC (19 years, 6 months ago) by tron
Branch: netbsd-2-0
Changes since 1.23: +17 -6 lines
Diff to previous 1.23 (colored)

Pull up revision 1.25 (requested by christos in ticket #776):
don't depend on printf.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Aug 27 17:50:57 2004 UTC (19 years, 6 months ago) by drochner
Branch: MAIN
Changes since 1.28: +4 -1 lines
Diff to previous 1.28 (colored)

add "drvctl" template

Revision 1.28 / (download) - annotate - [select for diffs], Sun Aug 1 21:52:09 2004 UTC (19 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.27: +8 -1 lines
Diff to previous 1.27 (colored)

Add atabus devices.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Aug 1 10:43:47 2004 UTC (19 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.26: +14 -1 lines
Diff to previous 1.26 (colored)

add an entry for spif(4).

this uses a different name for the parallel ports than the openbsd
port otherwise they conflict with the magma parallel ports and you
would be unable to have both a spif and magma installed at the
same time.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jun 19 05:31:50 2004 UTC (19 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.25: +39 -20 lines
Diff to previous 1.25 (colored)

Rework the sequence that ptys get allocated so that we don't end up with
gaps in the sequence of minor numbers as we allocate ptys. Having gaps
has 2 bad side effects:
	- ptm does not like it
	- we allocate a lot of storage that we'll never use in the pty array
	  (the current scheme allocated 62 ptys 0-15,256-301, so we needed
	   302 entries to get 64).
Now we allocate ptys in groups of 16 or 14 instead of 64, and we follow
the minor number order.
We default to 64 pty's by building pty0-3, which is all using the old
traditional pty names. Of course to do this, the shell code is a bit
convoluted.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 8 19:03:14 2004 UTC (19 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.24: +17 -6 lines
Diff to previous 1.24 (colored)

don't depend on printf.

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 27 02:57:42 2004 UTC (19 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.23: +8 -2 lines
Diff to previous 1.23 (colored)

add ptm device.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 10 18:33:12 2004 UTC (20 years ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

the device name is 'verifiedexec', not 'veriexec' (the filename is 'veriexec',
tho)

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 8 23:05:37 2004 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

Use "mknod -R" for "MAKEDEV -f".
Fixes problem noted by Bernd Ernesti on current-users,
with solution suggested by David Laight.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 3 21:43:43 2004 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

create the lpt?ctl device when making lpt? or lpa?; this device has
no meaning for 'old' lpt(4) (lpt?ctl is equal to lpt? there), but
has some special meaning for 'new', ppbus-based lpt(4)

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jan 25 14:00:57 2004 UTC (20 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.19: +1 -6 lines
Diff to previous 1.19 (colored)

Remove references to /dev/beep.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 14 20:41:59 2004 UTC (20 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

add 'wscons' to list of special arguments

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 14 19:23:36 2004 UTC (20 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.17: +1 -5 lines
Diff to previous 1.17 (colored)

remove incorrect veriexec entry - there is correct one here already

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 14 05:13:53 2004 UTC (20 years, 2 months ago) by blymn
Branch: MAIN
Changes since 1.16: +5 -1 lines
Diff to previous 1.16 (colored)

Add veriexec device

Revision 1.16 / (download) - annotate - [select for diffs], Mon Dec 22 22:26:32 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.15: +17 -11 lines
Diff to previous 1.15 (colored)

Add warn() to display message to stderr prefixed by the script name,
and use appropriately.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 21 17:37:26 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.14: +480 -738 lines
Diff to previous 1.14 (colored)

Rework MAKEDEV:

    *	Use "mknod -F netbsd -r" to create nodes, instead of
	"rm ; mknod; chmod; chown".
	This means permissions & ownership of existing nodes will
	not be changed.
	This is up to 30% faster when populating an empty /dev,
	and nearly 2x faster when re-running on an existing /dev.

    *	New options:
    	-f		force change of permission & ownership of existing
			devices
    	-m mknod	override name/path of mknod program
			(which defaults to $TOOL_MKNOD, then "mknod").
	-s		generate mtree(8) specfile instead of creating devices

    *	Remove /usr/etc from $PATH; not needed anymore.

    *	Provide functions to create devices & directories:
	    mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
		create device node `name' with the appropriate permissions
	    lndev src target
		create a symlink from src to target
	    makedir dir mode
		create directory with appropriate mode

    *	UIDs and GIDs are hardcoded in at MAKEDEV generation time.
	(Unfortunately there's not a simple way of determining a GID
	a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 21 16:17:19 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

fix mms\*

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 21 15:32:59 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

be consistent in fss*

Revision 1.12 / (download) - annotate - [select for diffs], Mon Dec 15 08:57:52 2003 UTC (20 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

add /rescue to the PATH to find chown if /usr is not available yet
XXX chown should either be moved or we should not depend on it here

fixes PR kern/23614 by Christian Biere

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 10 11:40:11 2003 UTC (20 years, 3 months ago) by hannken
Branch: MAIN
Changes since 1.10: +11 -1 lines
Diff to previous 1.10 (colored)

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>

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 24 06:31:44 2003 UTC (20 years, 3 months ago) by isaki
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Correct typo in comment (s/x86k/x68k/)

Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 22 17:26:45 2003 UTC (20 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.8: +2 -7 lines
Diff to previous 1.8 (colored)

Update device description for hp300 MI com(4) changes.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 26 21:21:50 2003 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

g/c the 'see foo(X)' xrefs; this info is automatically generated
into MAKEDEV(8)

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 26 12:42:55 2003 UTC (20 years, 4 months ago) by he
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

As a temporary workaround, use "ln -sf" to be compatible with the
checks in distrib/common/makedev2spec.awk, which insists on "-sf"
usage (which is arbuably a bug, and should be looked at more closely).

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 24 23:39:42 2003 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.5: +7 -7 lines
Diff to previous 1.5 (colored)

adjust the device descriptions for better MAKEDEV(8) manpage output
note PF is not in tree (for the manpage)

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 24 10:25:08 2003 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.4: +7 -3 lines
Diff to previous 1.4 (colored)

make 'sd' optional

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 24 08:29:57 2003 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.3: +88 -46 lines
Diff to previous 1.3 (colored)

fix various mistakes, such as using hardcoded majors or typos/pastos
add some more necessary device entries
introduce makedisk_minimal() and use it to create the CD-ROM & md entries;
this procedure only creates 'a' and RAW_PART device entries
remove pf from 'all' target - it's not part of tree, so shouldn't be
created by default

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 17 19:06:33 2003 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.2: +3 -5 lines
Diff to previous 1.2 (colored)

allow also tty[0-9] for serial ports, they are convenient synonyms
for tty0[0-9]
as pointed out by David Laight

remove spaces between makedisk_p*() functions, so the output script looks
neater once some of them are filtered out

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 15 19:16:01 2003 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.1: +21 -1 lines
Diff to previous 1.1 (colored)

add MI 'all' target - this calls MD 'all_md' and then creates miscellaneous
devices supported on all plaforms

and MI 'init' target, which just calls 'all'; this is used if platform
doesn't define it's own 'init' target

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 13 09:37:45 2003 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN

the main parts of new unified MAKEDEV framework - MAKEDEV template
and script for generating the MD MAKEDEV
this is work in progress, some parts are still missing

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>