The NetBSD Project

CVS log for src/etc/MAKEDEV.tmpl

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.232.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 26 11:45:16 2023 UTC (12 months, 2 weeks ago) by bouyer
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Diff to: previous 1.232.2.1: preferred, colored; branchpoint 1.232: preferred, colored; next MAIN 1.233: preferred, colored
Changes since revision 1.232.2.1: +12 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 6 00:35:05 2023 UTC (13 months, 1 week ago) by brad
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +12 -2 lines


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 - view: text, markup, annotated - select for diffs
Fri Jan 13 19:08:30 2023 UTC (22 months, 4 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RC1
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +2 -2 lines
Pull up following revision(s) (requested by jakllsch in ticket #47):

	etc/MAKEDEV.tmpl: revision 1.233

fix hexprint function

Revision 1.233: download - view: text, markup, annotated - select for diffs
Wed Dec 28 19:23:02 2022 UTC (23 months, 2 weeks ago) by jakllsch
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +2 -2 lines
fix hexprint function

Revision 1.232: download - view: text, markup, annotated - select for diffs
Wed Sep 21 18:55:21 2022 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +2 -2 lines
MAKEDEV: make nvmm node group-writable (was readable only; group nvmm)

Needed by qemu

Revision 1.231: download - view: text, markup, annotated - select for diffs
Fri Aug 12 11:15:40 2022 UTC (2 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +13 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue May 17 11:41:41 2022 UTC (2 years, 6 months ago) by uwe
Branches: MAIN
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 8 10:17:52 2022 UTC (2 years, 8 months ago) by andvar
Branches: MAIN
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +2 -2 lines
fix various typos, mainly in comments, but also log messages, docs, game text.

Revision 1.228: download - view: text, markup, annotated - select for diffs
Tue Dec 7 17:39:53 2021 UTC (3 years ago) by brad
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +12 -1 lines


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 - view: text, markup, annotated - select for diffs
Sat Nov 6 13:34:40 2021 UTC (3 years, 1 month ago) by brad
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +12 -1 lines


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 - view: text, markup, annotated - select for diffs
Tue Oct 12 17:19:20 2021 UTC (3 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +3 -1 lines
PR/56452: RVP: MAKEDEV should also create /dev/dri/renderD* devices

Revision 1.225: download - view: text, markup, annotated - select for diffs
Sun Oct 10 13:03:08 2021 UTC (3 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 24 11:39:18 2021 UTC (3 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 29 10:22:33 2021 UTC (3 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +1 -8 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 6 02:57:29 2020 UTC (4 years ago) by jmcneill
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 26 15:47:27 2020 UTC (4 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +9 -1 lines
add support for wwanc(4) device nodes (xmm[0-9])

Revision 1.220: download - view: text, markup, annotated - select for diffs
Sun Jun 7 09:45:19 2020 UTC (4 years, 6 months ago) by maxv
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +5 -1 lines
Add fault(4).

Revision 1.219: download - view: text, markup, annotated - select for diffs
Fri Jun 5 17:20:56 2020 UTC (4 years, 6 months ago) by maxv
Branches: MAIN
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +4 -3 lines
Register eight vHCI buses, and use separate KCOV mailboxes for them.

Revision 1.190.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 07:45:38 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.190.2.2: preferred, colored; branchpoint 1.190: preferred, colored; next MAIN 1.191: preferred, colored
Changes since revision 1.190.2.2: +14 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.190.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:03:55 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.190.2.1: preferred, colored; branchpoint 1.190: preferred, colored
Changes since revision 1.190.2.1: +5 -24 lines
Merge changes from current as of 20200406

Revision 1.218: download - view: text, markup, annotated - select for diffs
Sat Apr 4 16:04:36 2020 UTC (4 years, 8 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +1 -11 lines
remove nsmb(4)

Revision 1.217: download - view: text, markup, annotated - select for diffs
Wed Apr 1 15:32:21 2020 UTC (4 years, 8 months ago) by gson
Branches: MAIN
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 19 19:08:31 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.205.2.2: preferred, colored; branchpoint 1.205: preferred, colored; next MAIN 1.206: preferred, colored
Changes since revision 1.205.2.2: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 2 15:49:30 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 27 16:59:23 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +2 -2 lines
Create some more cgd device nodes.

Revision 1.214: download - view: text, markup, annotated - select for diffs
Wed Jan 29 18:39:05 2020 UTC (4 years, 10 months ago) by maya
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +1 -8 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 19 20:41:18 2020 UTC (4 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +1 -6 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 23 06:45:37 2019 UTC (4 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +6 -1 lines
Revert the removal of filemon.

Revision 1.211: download - view: text, markup, annotated - select for diffs
Wed Dec 18 07:37:17 2019 UTC (4 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +1 -6 lines
Retire filemon, discussed on tech-kern@.

Revision 1.205.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 10 12:58:31 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.205.2.1: preferred, colored; branchpoint 1.205: preferred, colored
Changes since revision 1.205.2.1: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 1 02:58:50 2019 UTC (5 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +6 -1 lines
MAKEDEV: add entry for vio9p(4)

Revision 1.209: download - view: text, markup, annotated - select for diffs
Sun Oct 27 07:08:15 2019 UTC (5 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +3 -2 lines
Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few
days ago.

Revision 1.205.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 22 10:22:15 2019 UTC (5 years, 2 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 19 01:44:48 2019 UTC (5 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 15 12:54:21 2019 UTC (5 years, 2 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +2 -2 lines
Replace major number in MAKEDEV for vhci

Revision 1.206: download - view: text, markup, annotated - select for diffs
Sat Sep 14 06:57:52 2019 UTC (5 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +6 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 29 17:53:20 2019 UTC (5 years, 4 months ago) by gdt
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +2 -1 lines
MAKEDEV.tmpl: Create nodes for 16 USB hubs

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

Revision 1.190.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 21:42:39 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +44 -52 lines
Sync with HEAD

Revision 1.204: download - view: text, markup, annotated - select for diffs
Fri May 31 13:15:00 2019 UTC (5 years, 6 months ago) by nia
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat May 18 08:38:00 2019 UTC (5 years, 6 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 1 13:08:24 2019 UTC (5 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +3 -1 lines
Double the number of wedge device nodes

Revision 1.201: download - view: text, markup, annotated - select for diffs
Wed Mar 27 06:55:09 2019 UTC (5 years, 8 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +2 -2 lines
Actually use unit number for iscsi device.

Revision 1.200: download - view: text, markup, annotated - select for diffs
Tue Mar 26 09:13:55 2019 UTC (5 years, 8 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +8 -1 lines
Add srt(4) to /etc/MAKEDEV and corresponding update to MAKEDEV.8 man page.

Revision 1.199: download - view: text, markup, annotated - select for diffs
Sat Feb 23 10:43:25 2019 UTC (5 years, 9 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +8 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 23 03:10:06 2019 UTC (5 years, 9 months ago) by kamil
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 27 08:53:28 2019 UTC (5 years, 10 months ago) by maxv
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +1 -7 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 26 01:49:59 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.189.2.4: preferred, colored; branchpoint 1.189: preferred, colored; next MAIN 1.190: preferred, colored
Changes since revision 1.189.2.4: +11 -1 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.196: download - view: text, markup, annotated - select for diffs
Wed Nov 7 07:43:07 2018 UTC (6 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 4 12:48:01 2018 UTC (6 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +6 -1 lines
Add tprof in MAKEDEV.tmpl, and regen MAKEDEV.8.

Revision 1.189.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:07 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.189.2.3: preferred, colored; branchpoint 1.189: preferred, colored
Changes since revision 1.189.2.3: +2 -43 lines
Ssync with HEAD

Revision 1.194: download - view: text, markup, annotated - select for diffs
Sun Sep 23 09:20:57 2018 UTC (6 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +1 -42 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 22 13:48:22 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Thu Sep 6 06:51:43 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.189.2.2: preferred, colored; branchpoint 1.189: preferred, colored
Changes since revision 1.189.2.2: +2 -1 lines
Sync with HEAD

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

Revision 1.183.6.3: download - view: text, markup, annotated - select for diffs
Wed Sep 5 08:40:05 2018 UTC (6 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.183.6.2: preferred, colored; branchpoint 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183.6.2: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 28 14:13:13 2018 UTC (6 years, 4 months ago) by sevan
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +2 -1 lines
Create fw(4) & fwmem(4) device nodes by default so fwctl(8) works out of the
box.

Revision 1.189.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:33:02 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.189.2.1: preferred, colored; branchpoint 1.189: preferred, colored
Changes since revision 1.189.2.1: +2 -2 lines
Sync with HEAD

Revision 1.191: download - view: text, markup, annotated - select for diffs
Sat Jul 21 07:46:56 2018 UTC (6 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon May 21 04:35:51 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +13 -1 lines
Sync with HEAD

Revision 1.190: download - view: text, markup, annotated - select for diffs
Sun May 20 14:08:33 2018 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +13 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 9 03:31:14 2018 UTC (6 years, 11 months ago) by christos
Branches: 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
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +6 -1 lines
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

Revision 1.172.4.3: download - view: text, markup, annotated - select for diffs
Wed Jan 3 20:50:45 2018 UTC (6 years, 11 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.172.4.2: preferred, colored; branchpoint 1.172: preferred, colored; next MAIN 1.173: preferred, colored
Changes since revision 1.172.4.2: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 3 20:50:43 2018 UTC (6 years, 11 months ago) by snj
Branches: netbsd-7-1
CVS tags: netbsd-7-1-2-RELEASE
Diff to: previous 1.172.4.1: preferred, colored; next MAIN 1.172.4.2: preferred, colored
Changes since revision 1.172.4.1: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 3 20:50:42 2018 UTC (6 years, 11 months ago) by snj
Branches: netbsd-7-0
Diff to: previous 1.172: preferred, colored; next MAIN 1.173: preferred, colored
Changes since revision 1.172: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 8 05:48:21 2017 UTC (7 years ago) by msaitoh
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.183.6.1: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.6.1: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 5 19:17:11 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +2 -2 lines
make a few more drm nodes

Revision 1.187: download - view: text, markup, annotated - select for diffs
Sat Nov 25 16:31:03 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +11 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 1 17:07:04 2017 UTC (7 years, 2 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.172.4.1: preferred, colored; branchpoint 1.172: preferred, colored
Changes since revision 1.172.4.1: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 31 11:27:50 2017 UTC (7 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 28 01:34:52 2017 UTC (7 years, 3 months ago) by sevan
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 12 11:41:21 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +2 -1 lines
add dial-out device node for plcom

Revision 1.184: download - view: text, markup, annotated - select for diffs
Thu Jun 8 03:42:37 2017 UTC (7 years, 6 months ago) by kre
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +9 -13 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 8 15:00:08 2016 UTC (8 years, 3 months ago) by nonaka
Branches: 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
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -3 lines
Fix to cannnot be opened a nvme(4) namespace device file.

Revision 1.181.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:13 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.181: preferred, colored; next MAIN 1.182: preferred, colored
Changes since revision 1.181: +2 -2 lines
Sync with HEAD

Revision 1.182: download - view: text, markup, annotated - select for diffs
Sat Jul 23 06:48:27 2016 UTC (8 years, 4 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-localcount-20160806, pgoyette-localcount-20160726
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Thu Jun 16 15:33:38 2016 UTC (8 years, 5 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +20 -1 lines

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 - view: text, markup, annotated - select for diffs
Sat Jun 4 16:11:50 2016 UTC (8 years, 6 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +19 -1 lines
Add NVMe command passthrough support.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Thu Jan 28 19:06:39 2016 UTC (8 years, 10 months ago) by riz
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +2 -1 lines
Create dtrace device as part of "all"

Revision 1.178: download - view: text, markup, annotated - select for diffs
Sun Jan 17 23:18:18 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +2 -1 lines
Add /dev/full

Revision 1.177: download - view: text, markup, annotated - select for diffs
Sat Nov 21 12:11:56 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +6 -1 lines
Add the filemon(4) device.

Revision 1.172.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 16 14:38:03 2015 UTC (9 years ago) by msaitoh
Branches: 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
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 8 23:23:30 2015 UTC (9 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +5 -1 lines
Translate requests for ucom into ttyU.

Revision 1.175: download - view: text, markup, annotated - select for diffs
Thu Nov 5 16:46:22 2015 UTC (9 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +46 -1 lines
create tty* entries for wsdisplay1-3

Revision 1.174: download - view: text, markup, annotated - select for diffs
Sat Aug 1 21:30:09 2015 UTC (9 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +8 -1 lines
add hdmicec

Revision 1.173: download - view: text, markup, annotated - select for diffs
Fri Sep 19 09:00:23 2014 UTC (10 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +3 -1 lines
add random/urandom to MAKEDEV std

Revision 1.158.2.4: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:45:49 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.158.2.3: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.2.3: +13 -1 lines
Rebase to HEAD as of a few days ago.

Revision 1.145.2.5: download - view: text, markup, annotated - select for diffs
Thu May 22 11:27:18 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.145.2.4: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.2.4: +72 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 28 18:33:20 2013 UTC (11 years, 1 month ago) by mbalmer
Branches: 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
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +13 -1 lines
create a lua device node for lua(4) and luactl(8)

Revision 1.171: download - view: text, markup, annotated - select for diffs
Sat Aug 3 16:07:35 2013 UTC (11 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 29 08:53:44 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: 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
Diff to: previous 1.151.2.9: preferred, colored; next MAIN 1.151.2.10: preferred, colored
Changes since revision 1.151.2.9: +32 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 29 08:29:35 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.151.2.9: preferred, colored; branchpoint 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151.2.9: +32 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 06:26:21 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.158.2.2: preferred, colored
Changes since revision 1.158.2.2: +58 -2 lines
resync from head

Revision 1.113.2.8.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 9 16:14:49 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-5-2
CVS tags: netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE
Diff to: previous 1.113.2.8: preferred, colored; next MAIN 1.113.2.9: preferred, colored
Changes since revision 1.113.2.8: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 9 16:12:46 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE
Diff to: previous 1.113.2.7: preferred, colored; next MAIN 1.113.2.8: preferred, colored
Changes since revision 1.113.2.7: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 9 10:57:45 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-5
Diff to: previous 1.113.2.8: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.2.8: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon May 20 11:37:02 2013 UTC (11 years, 6 months ago) by mbalmer
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun May 19 16:09:04 2013 UTC (11 years, 6 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed May 1 13:12:00 2013 UTC (11 years, 7 months ago) by kiyohara
Branches: MAIN
CVS tags: khorben-n900
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +7 -1 lines
Support to build for epoc32 userland.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sat Apr 20 11:41:51 2013 UTC (11 years, 7 months ago) by rkujawa
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +7 -1 lines
Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm.

Obtained from Marvell, Semihalf.

Revision 1.166: download - view: text, markup, annotated - select for diffs
Thu Apr 11 19:13:46 2013 UTC (11 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +32 -1 lines
Add a makedisk_p12high, used by VAX now after unbumping MAXPARTITIONS from
16 down to 12.

Revision 1.165: download - view: text, markup, annotated - select for diffs
Fri Mar 8 12:33:25 2013 UTC (11 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: agc-symver-base, agc-symver
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +5 -1 lines
create /dev/vchiq

Revision 1.164: download - view: text, markup, annotated - select for diffs
Thu Feb 28 03:04:12 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +2 -2 lines
missing comment

Revision 1.163: download - view: text, markup, annotated - select for diffs
Thu Feb 28 02:00:27 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +9 -1 lines
node for dtrace

Revision 1.158.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:24:48 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.158.2.1: preferred, colored
Changes since revision 1.158.2.1: +8 -2 lines
resync with head

Revision 1.151.2.9: download - view: text, markup, annotated - select for diffs
Wed Feb 13 01:36:06 2013 UTC (11 years, 10 months ago) by riz
Branches: 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
Diff to: previous 1.151.2.8: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.8: +6 -0 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 10 14:54:33 2013 UTC (11 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +2 -2 lines
always use ${MKNOD} for consistency

Revision 1.151.2.8: download - view: text, markup, annotated - select for diffs
Fri Feb 8 23:01:49 2013 UTC (11 years, 10 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.151.2.7: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.7: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 8 23:01:22 2013 UTC (11 years, 10 months ago) by riz
Branches: 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
Diff to: previous 1.151.2.6: preferred, colored; next MAIN 1.151.2.7: preferred, colored
Changes since revision 1.151.2.6: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 26 18:44:21 2013 UTC (11 years, 10 months ago) by apb
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 23 00:04:29 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.145.2.3: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.3: +7 -1 lines
sync with head

Revision 1.160: download - view: text, markup, annotated - select for diffs
Thu Jan 10 13:38:37 2013 UTC (11 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base8
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +7 -1 lines
Create a plcom0 device node for RaspberryPI

Revision 1.158.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 02:57:55 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +7 -1 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.151.2.5.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 1 16:44:53 2012 UTC (12 years, 1 month ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.151.2.5: preferred, colored; next MAIN 1.151.2.6: preferred, colored
Changes since revision 1.151.2.5: +2 -2 lines
sync with netbsd-6-0-RELEASE.

Revision 1.145.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 18:48:58 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.145.2.2: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.2: +14 -5 lines
sync with head

Revision 1.151.2.7: download - view: text, markup, annotated - select for diffs
Wed Oct 24 03:23:45 2012 UTC (12 years, 1 month ago) by riz
Branches: netbsd-6
Diff to: previous 1.151.2.6: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.6: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 19 21:24:28 2012 UTC (12 years, 2 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 13 22:20:58 2012 UTC (12 years, 3 months ago) by riz
Branches: 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
Diff to: previous 1.151.2.5: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.5: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 5 08:25:53 2012 UTC (12 years, 3 months ago) by martin
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 13 19:55:10 2012 UTC (12 years, 4 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-0-RC1
Branch point for: matt-nb6-plus
Diff to: previous 1.151.2.4: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.4: +2 -1 lines
Missed part of rev 1.154 from ticket #490.

Revision 1.151.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 13 19:52:30 2012 UTC (12 years, 4 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.151.2.3: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.3: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 13 08:30:51 2012 UTC (12 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 28 04:48:25 2012 UTC (12 years, 5 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.151.2.2: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.2: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 5 13:20:01 2012 UTC (12 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed May 30 08:06:26 2012 UTC (12 years, 6 months ago) by sborrill
Branches: netbsd-6
Diff to: previous 1.151.2.1: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.1: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat May 26 00:36:15 2012 UTC (12 years, 6 months ago) by riz
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +2 -1 lines
Create /dev/iscsi0 as part of 'all'.

Revision 1.145.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:02:56 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.145.2.1: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.1: +24 -32 lines
sync with head

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat Apr 7 17:22:10 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +4 -1 lines
give wedges to everyone

Revision 1.151.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 25 14:48:12 2012 UTC (12 years, 9 months ago) by sborrill
Branches: netbsd-6
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 25 10:55:27 2012 UTC (12 years, 9 months ago) by shattered
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +1 -11 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 25 09:19:30 2012 UTC (12 years, 9 months ago) by tron
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 10 20:54:11 2012 UTC (12 years, 10 months ago) by nakayama
Branches: MAIN
CVS tags: netbsd-6-base
Branch point for: netbsd-6
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 22 06:44:29 2012 UTC (12 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +8 -1 lines
add a tpm driver from bsssd.sourceforge.net

Revision 1.149: download - view: text, markup, annotated - select for diffs
Sat Jan 21 02:52:50 2012 UTC (12 years, 10 months ago) by isaki
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +1 -17 lines
Clean up pow(4) (which I had removed in Nov 2011).

Revision 1.113.2.6.4.2: download - view: text, markup, annotated - select for diffs
Tue Dec 27 17:35:46 2011 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.113.2.6.4.1: preferred, colored; branchpoint 1.113.2.6: preferred, colored; next MAIN 1.113.2.7: preferred, colored
Changes since revision 1.113.2.6.4.1: +13 -1 lines
Merge flash/nand/nor infrastruct from matt-nb5-pq3.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Sat Nov 19 16:41:55 2011 UTC (13 years ago) by agc
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +9 -1 lines
grab major 203 for the iSCSI communications device (between kernel
driver and /sbin/iscsid)

Revision 1.145.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:21 2011 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -2 lines
sync with head

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue Nov 8 19:36:30 2011 UTC (13 years, 1 month ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base3
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 8 19:11:19 2011 UTC (13 years, 1 month ago) by apb
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 26 09:02:20 2011 UTC (13 years, 1 month ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -2 lines
Change the pattern for matching ttys to allow any number of digits,
(tty[0-9]*).  This should fix PR 45514.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Wed Oct 12 20:57:55 2011 UTC (13 years, 2 months ago) by apb
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +86 -35 lines
Exit with non-zero status when asked to create an unrecognised device.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Oct 2 16:39:46 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +11 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 6 13:34:44 2011 UTC (13 years, 3 months ago) by apb
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +20 -8 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 6 10:54:03 2011 UTC (13 years, 3 months ago) by apb
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +129 -137 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 6 12:29:39 2011 UTC (13 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +23 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 26 22:50:15 2011 UTC (13 years, 4 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.113.2.7: preferred, colored; next MAIN 1.113.2.8: preferred, colored
Changes since revision 1.113.2.7: +13 -1 lines
Add flash

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Jul 9 14:49:28 2011 UTC (13 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +16 -1 lines
create /dev/dvb/adapterN/* devices for dtv

Revision 1.113.2.8: download - view: text, markup, annotated - select for diffs
Fri May 20 19:21:32 2011 UTC (13 years, 6 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1
Branch point for: netbsd-5-2
Diff to: previous 1.113.2.7: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.7: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 5 15:08:41 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.136.2.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.2.1: +8 -1 lines
Sync with HEAD

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Feb 26 18:07:16 2011 UTC (13 years, 9 months ago) by ahoka
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +8 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 8 16:18:49 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +11 -1 lines
Sync with HEAD

Revision 1.137: download - view: text, markup, annotated - select for diffs
Wed Jan 26 01:18:47 2011 UTC (13 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: bouyer-quota2-base
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +11 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 19 20:52:23 2010 UTC (14 years, 2 months ago) by jakllsch
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 22 18:56:20 2010 UTC (14 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 21 05:21:22 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.113.2.6: preferred, colored
Changes since revision 1.113.2.6: +8 -1 lines
sync to netbsd-5

Revision 1.134: download - view: text, markup, annotated - select for diffs
Mon Apr 19 04:34:42 2010 UTC (14 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -2 lines
Also create ugen[123] by default -- my laptop attaches 2 ugens
already with just the builtin devices.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Tue Mar 23 19:22:41 2010 UTC (14 years, 8 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +2 -2 lines
Make device node for altq JoBS.
Should fix palindromic PR/43034.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Mar 6 21:33:20 2010 UTC (14 years, 9 months ago) by plunky
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +2 -1 lines
include ttyHS0 in usbs target [for uhso(4)]

Revision 1.131: download - view: text, markup, annotated - select for diffs
Sat Mar 6 21:05:36 2010 UTC (14 years, 9 months ago) by plunky
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +13 -1 lines
Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems

Revision 1.113.2.7: download - view: text, markup, annotated - select for diffs
Sat Sep 26 19:52:09 2009 UTC (15 years, 2 months ago) by snj
Branches: 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
Diff to: previous 1.113.2.6: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.6: +8 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 25 06:06:04 2009 UTC (15 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +2 -1 lines
add drm to the big comment at the top

Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Sep 24 14:53:36 2009 UTC (15 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +5 -4 lines
fix dri/drm confusiog

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Sep 6 17:25:55 2009 UTC (15 years, 3 months ago) by sborrill
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +8 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 5 21:35:16 2009 UTC (15 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -2 lines
fix previous to actually pay attention to the unit number.
noted by drochner.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Fri Jul 3 06:33:56 2009 UTC (15 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +7 -1 lines
create a /dev/dri/card0.  fixes PR#40952.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Jun 14 21:34:15 2009 UTC (15 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -2 lines
makedir for real this time.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Jun 14 20:01:04 2009 UTC (15 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -2 lines
Use makedir, from M. Levinson.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Jun 14 13:18:02 2009 UTC (15 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -2 lines
absolute paths are not allowed here. from Anon Ymous

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat May 23 22:29:14 2009 UTC (15 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +7 -1 lines
Create /dev/zfs and /dev/zpool/.

Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:18:02 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +12 -2 lines
Sync with HEAD.

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

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun May 10 14:19:28 2009 UTC (15 years, 7 months ago) by elad
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -2 lines
verified executable -> Veriexec.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Thu Mar 12 00:19:36 2009 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +11 -1 lines
/dev/{r,}altmem??

Revision 1.101.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 20:43:41 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.101.6.3: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.6.3: +64 -39 lines
Sync with HEAD.

Revision 1.113.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 16 23:01:09 2009 UTC (15 years, 10 months ago) by bouyer
Branches: 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
Diff to: previous 1.113.2.5: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.5: +38 -13 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 3 08:49:03 2009 UTC (15 years, 11 months ago) by apb
Branches: MAIN
CVS tags: mjf-devfs2-base2
Branch point for: jym-xensuspend
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +39 -14 lines
* 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 - view: text, markup, annotated - select for diffs
Sat Nov 29 20:44:51 2008 UTC (16 years ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.113.2.4: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.4: +20 -15 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 28 16:04:31 2008 UTC (16 years ago) by joerg
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +21 -16 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 23 21:01:18 2008 UTC (16 years ago) by riz
Branches: netbsd-5
Diff to: previous 1.113.2.3: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.3: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 21 11:44:38 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +1 -3 lines
Don't warn about missing MAKEDEV.local. It doesn't exist in some
environments.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Mon Nov 17 12:54:57 2008 UTC (16 years ago) by uch
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -3 lines
add dialout device for scif, sci

Revision 1.113.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 14 02:52:01 2008 UTC (16 years, 1 month ago) by snj
Branches: netbsd-5
Diff to: previous 1.113.2.2: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.2: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 12 13:14:28 2008 UTC (16 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -2 lines
My previous change should have read 'makedev video', not audio.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:35:52 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -7 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.113.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 11 12:37:32 2008 UTC (16 years, 1 month ago) by jmcneill
Branches: netbsd-5
Diff to: previous 1.113.2.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.1: +1 -1 lines
Revert previous; checked in to the wrong branch.

Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 11 12:35:45 2008 UTC (16 years, 1 month ago) by jmcneill
Branches: netbsd-5
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -2 lines
Last commit should have added 'makedev video', not 'makedev audio', pointed
out by Izumi Tsutsui.

Revision 1.101.6.3: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:18 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.101.6.2: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.6.2: +15 -3 lines
Sync with HEAD.

Revision 1.107.2.3: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:32:55 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.107.2.2: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.2: +2 -3 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:41:08 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.1: +16 -3 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Sep 14 13:59:54 2008 UTC (16 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, netbsd-5-base, mjf-devfs2-base, matt-mips64-base2
Branch point for: netbsd-5
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -1 lines
Create /dev/videoN with all target

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Sep 14 13:58:25 2008 UTC (16 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +1 -2 lines
Don't bother with /dev/video -> /dev/video0 symlink, nobody uses it

Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Sep 13 11:46:18 2008 UTC (16 years, 3 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 6 19:21:21 2008 UTC (16 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: wrstuden-revivesa-base-2
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +14 -2 lines
Add /dev/video*

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Jul 13 15:22:39 2008 UTC (16 years, 5 months ago) by apb
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -2 lines
Let "MAKEDEV ptm" create the /dev/pts directory.  Requested
in pkgsrc-users by Christian Biere.

Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:29:01 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +7 -1 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:03:21 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.106.2.1: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.1: +7 -1 lines
sync with head

Revision 1.67.2.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:00 2008 UTC (16 years, 6 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.67.2.2.2.1: preferred, colored; next MAIN 1.67.2.3: preferred, colored
Changes since revision 1.67.2.2.2.1: +2 -1 lines
Sync with netbsd-4.

Revision 1.101.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:19 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.101.6.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.6.1: +138 -70 lines
Sync with HEAD.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu May 22 19:49:43 2008 UTC (16 years, 6 months ago) by hauke
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 12:29:47 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +1 -8 lines
sync with head.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Apr 30 13:10:49 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +1 -8 lines
Convert TNF licenses to new 2 clause variant

Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Apr 15 09:53:58 2008 UTC (16 years, 8 months ago) by apb
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2 lines
Remove an extraneous "%" from the end of a line.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Apr 15 09:52:41 2008 UTC (16 years, 8 months ago) by apb
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +10 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 9 20:19:15 2008 UTC (16 years, 8 months ago) by apb
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +123 -59 lines
* 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 - view: text, markup, annotated - select for diffs
Tue Apr 8 20:35:01 2008 UTC (16 years, 8 months ago) by jdc
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.67.2.3: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.3: +2 -1 lines
Pull up revision 1.100 (requested by riz in ticket #1118).

Create drvctl as part of 'all'.

Revision 1.101.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 13:54:11 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +6 -2 lines
Sync with HEAD.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Apr 2 01:34:36 2008 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:40 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +2 -2 lines
sync with head.

Revision 1.87.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:23:48 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.87.2.2: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.2.2: +2 -2 lines
sync with HEAD

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Mar 5 02:29:51 2008 UTC (16 years, 9 months ago) by christos
Branches: MAIN
CVS tags: matt-armv6-nbase, keiichi-mipv6-base
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 9 01:29:49 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.87.2.1: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.2.1: +211 -66 lines
sync with HEAD

Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Mon Dec 31 15:31:41 2007 UTC (16 years, 11 months ago) by ad
Branches: mjf-devfs
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.1: +2027 -0 lines
Remove systrace. Ok core@.

Revision 1.101.2.1
Mon Dec 31 15:31:40 2007 UTC (16 years, 11 months ago) by ad
Branches: mjf-devfs
FILE REMOVED
Changes since revision 1.101: +0 -2027 lines
file MAKEDEV.tmpl was added on branch mjf-devfs on 2007-12-31 15:31:41 +0000

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Dec 31 15:31:40 2007 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, mjf-devfs, keiichi-mipv6
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -7 lines
Remove systrace. Ok core@.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Dec 17 04:29:50 2007 UTC (17 years ago) by riz
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -1 lines
Create drvctl as part of 'all'.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun Dec 16 16:09:27 2007 UTC (17 years ago) by apb
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3 lines
s/07555/0755/ in permissions of /dev file system.  Thanks to
Dieter Roelants for the report.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Dec 15 21:33:13 2007 UTC (17 years ago) by apb
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +44 -10 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 15 17:28:09 2007 UTC (17 years ago) by apb
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +66 -34 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 11 11:51:19 2007 UTC (17 years ago) by apb
Branches: MAIN
CVS tags: cube-autoconf-base, cube-autoconf
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +19 -3 lines
* 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 - view: text, markup, annotated - select for diffs
Tue Dec 11 10:02:24 2007 UTC (17 years ago) by apb
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2 lines
Pass "-pe" flag to pax, otherwise the devices get created with
permissions modified by the umask.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Dec 9 08:46:16 2007 UTC (17 years ago) by apb
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +53 -10 lines
* 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 - view: text, markup, annotated - select for diffs
Sat Dec 8 17:52:34 2007 UTC (17 years ago) by apb
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +8 -8 lines
Update some comments and remove an unnecessary eval.  No functional change.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:31:12 2007 UTC (17 years ago) by apb
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +14 -5 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 20 18:58:46 2007 UTC (17 years ago) by pooka
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -1 lines
add /dev/pud

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:25 2007 UTC (17 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +7 -5 lines
Create /dev/putter and symlink /dev/puffs to it.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Nov 11 17:54:47 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +13 -1 lines
Add support for /dev/padN devices

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:10:23 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -1 lines
sync with HEAD

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Nov 3 19:33:36 2007 UTC (17 years, 1 month ago) by gdt
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 15 05:09:57 2007 UTC (17 years, 2 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.40.2.8: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.8: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 4 11:03:05 2007 UTC (17 years, 4 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.87.4.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.4.1: +1877 -0 lines
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 (17 years, 4 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.87: +0 -1877 lines
file MAKEDEV.tmpl was added on branch matt-mips64 on 2007-08-04 11:03:05 +0000

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Aug 4 11:03:04 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: matt-mips64-base
Branch point for: matt-mips64, matt-armv6
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 4 01:54:11 2007 UTC (17 years, 6 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.67.2.2: preferred, colored
Changes since revision 1.67.2.2: +5 -1 lines
Update to today's netbsd-4.

Revision 1.67.2.3: download - view: text, markup, annotated - select for diffs
Wed May 23 21:56:03 2007 UTC (17 years, 6 months ago) by pavel
Branches: 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
Diff to: previous 1.67.2.2: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.2: +4 -0 lines
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 - view: text, markup, annotated - select for diffs
Wed May 16 13:06:03 2007 UTC (17 years, 7 months ago) by martti
Branches: MAIN
CVS tags: hpcarm-cleanup
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -1 lines
Create /dev/bio

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Mar 21 23:07:00 2007 UTC (17 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +9 -4 lines
Make './MAKEDEV local' work as expected, whether we are counting
the number of /dev nodes or not.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Mar 21 03:39:41 2007 UTC (17 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +7 -7 lines
Remove whitespace from ends of lines.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Mar 11 16:08:11 2007 UTC (17 years, 9 months ago) by apb
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 11 15:52:30 2007 UTC (17 years, 9 months ago) by apb
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +54 -27 lines
* 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 - view: text, markup, annotated - select for diffs
Fri Mar 9 19:16:47 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +9 -14 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 9 13:57:54 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 3 06:36:01 2007 UTC (17 years, 9 months ago) by apb
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +182 -8 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 2 22:44:16 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2 lines
Use the correct major number for the temporary console node

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Mar 2 21:29:23 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +36 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 1 20:48:26 2007 UTC (17 years, 9 months ago) by apb
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 28 19:45:37 2007 UTC (17 years, 9 months ago) by apb
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
Avoid using dirname(1), which is not available in installation
ramdisk images.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Feb 26 20:44:03 2007 UTC (17 years, 9 months ago) by apb
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +15 -163 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 18 14:05:36 2007 UTC (17 years, 9 months ago) by tron
Branches: netbsd-4
Branch point for: wrstuden-fixsa
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.1: +0 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 16 19:14:08 2007 UTC (17 years, 10 months ago) by tron
Branches: netbsd-4
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 7 03:01:13 2007 UTC (17 years, 10 months ago) by riz
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2 lines
Fix off-by-one error in the creation of dk(4) device nodes.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Feb 6 21:27:43 2007 UTC (17 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -1 lines
Create /dev/cmos.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Jan 15 23:35:11 2007 UTC (17 years, 11 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 9 15:34:15 2007 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -1 lines
create /dev/puffs in 'all'

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Dec 29 19:16:30 2006 UTC (17 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -1 lines
Enable /dev/io for COMPAT_FREEBSD.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Dec 10 08:14:32 2006 UTC (18 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +10 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 11 19:58:14 2006 UTC (18 years, 1 month ago) by bouyer
Branches: netbsd-3
Diff to: previous 1.40.2.7: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.7: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 22 23:02:08 2006 UTC (18 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -1 lines
add puffs device, but I didn't add it to MAKEDEV all on purpose
just quite yet, too experimental

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Sep 24 08:23:36 2006 UTC (18 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 24 03:46:30 2006 UTC (18 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -7 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 23 22:24:51 2006 UTC (18 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +7 -1 lines
Add twa device

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Sep 23 20:23:09 2006 UTC (18 years, 2 months ago) by elad
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -1 lines
PR/26511: Stephen Borrill: ses devices are not created with MAKEDEV all
Patch applied, thanks!

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 14 21:16:32 2006 UTC (18 years, 3 months ago) by riz
Branches: abandoned-netbsd-4
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +5 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 10 15:45:55 2006 UTC (18 years, 3 months ago) by plunky
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -6 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 7 01:18:01 2006 UTC (18 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +7 -2 lines
Add /dev/lockstat.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Aug 13 18:53:31 2006 UTC (18 years, 4 months ago) by martin
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
Typo

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Aug 12 19:47:28 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +13 -2 lines
- add creation of wedges /dev/{r,}dkN
- use $() instead of ``

Revision 1.23.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 1 14:37:51 2006 UTC (18 years, 4 months ago) by ghen
Branches: netbsd-2
Diff to: previous 1.23.2.3: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.3: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 30 17:38:03 2006 UTC (18 years, 4 months ago) by tron
Branches: 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
Diff to: previous 1.40.2.6: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.6: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 30 16:38:58 2006 UTC (18 years, 4 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.40.2.5: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.5: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 27 06:49:06 2006 UTC (18 years, 4 months ago) by martti
Branches: MAIN
CVS tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -1 lines
Create /dev/ipsync, /dev/ipscan and /dev/iplookup (misc/33504).

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Jul 26 10:31:00 2006 UTC (18 years, 4 months ago) by tron
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +6 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 23 12:01:25 2006 UTC (18 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 7 17:21:19 2006 UTC (18 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
fix xsd_kva.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Jul 4 21:39:55 2006 UTC (18 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -1 lines
Add new xen device xsd_kva (for Xen3 dom0 operations)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Jun 19 15:44:35 2006 UTC (18 years, 5 months ago) by gdamore
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 4 21:37:40 2006 UTC (18 years, 8 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.40.2.4: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.4: +1 -1 lines
Pull up following revision(s) (requested by christos in ticket #1237):
	etc/MAKEDEV.tmpl: revision 1.51
Add parentheses.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Apr 3 08:15:50 2006 UTC (18 years, 8 months ago) by scw
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 25 17:19:02 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
Add parentheses.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Feb 15 21:59:08 2006 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +10 -4 lines
Add some more .MAKE so that we don't run multiple parallel makes.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Feb 6 13:12:41 2006 UTC (18 years, 10 months ago) by hamajima
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
EP93xx has 8 GPIOs. I increased /dev/gpio*.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Sep 27 02:44:12 2005 UTC (19 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +12 -1 lines
Add gpio devices to template.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Jul 30 06:14:49 2005 UTC (19 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +10 -1 lines
Add a driver for Cypress microcontroller based USB serial adapters.

XXX hw flow control is not supported.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Jul 11 15:37:03 2005 UTC (19 years, 5 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +14 -1 lines
ieee1394 import from FreeBSD.

Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 2 15:49:36 2005 UTC (19 years, 5 months ago) by tron
Branches: 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
Diff to: previous 1.40.2.3: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.3: +1 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 16 15:31:21 2005 UTC (19 years, 6 months ago) by elad
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
Don't allow unprivileged users to access the veriexec device.

Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Fri Jun 10 15:21:53 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.2: +1 -1 lines
Pull up revision 1.44 (requested by elad in ticket #389):
Fix naming of the verified exec character device placeholder.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat May 28 14:54:06 2005 UTC (19 years, 6 months ago) by blymn
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Fix naming of the verified exec character device placeholder.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Sat May 7 11:51:39 2005 UTC (19 years, 7 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +22 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon May 2 00:46:46 2005 UTC (19 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +23 -2 lines
Add hexprint(); display the given number as hex.
Add a comment to document zeropad()'s purpose.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Apr 30 16:26:06 2005 UTC (19 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -8 lines
Make /dev/usb readable to all; it is only used to report USB events.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 3 13:42:14 2005 UTC (19 years, 8 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 1 21:07:01 2005 UTC (19 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Add pf to the all target.  Pointed out by Steve Rumble.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Mar 12 10:26:45 2005 UTC (19 years, 9 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -7 lines
separate tun(4) and joy(4) entries, those two are totally independant
PR: kern/29673 by FUKAUMI Naoki

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Mar 11 20:55:10 2005 UTC (19 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +17 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 8 22:31:28 2005 UTC (19 years, 11 months ago) by cube
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +15 -1 lines
Create tap (cloning), tap0 .. tap3 in /dev by default.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jan 8 20:32:10 2005 UTC (19 years, 11 months ago) by joff
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -1 lines
Add tslcd

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 4 15:06:24 2005 UTC (19 years, 11 months ago) by manu
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Fix bpf/bpf0 swap

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Jan 3 22:45:34 2005 UTC (19 years, 11 months ago) by manu
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -1 lines
Link /dev/bpf to /dev/bpf0. dhclient looks for /dev/bpf now...

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Dec 29 06:36:46 2004 UTC (19 years, 11 months ago) by joff
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -1 lines
Add epcom serial UART char device found on Cirrus Logic EP93xx ARM9 SoC's

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Dec 1 23:09:04 2004 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -10 lines
Marry tun and joy.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Dec 1 23:06:57 2004 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -4 lines
Create /dev/bpf not /dev/bpfN

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 12 04:52:26 2004 UTC (20 years, 1 month ago) by jmc
Branches: 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
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.2: +2 -1 lines
Pullup rev 1.30 (requested by christos in ticket #919)

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

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Oct 22 14:08:22 2004 UTC (20 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Remove the "(not in tree)" part in the comment for PF.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Oct 12 14:42:08 2004 UTC (20 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -1 lines
PR/27235: Jukka Salmi: MAKEDEV regression because of printf -> zeropad change

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 29 13:18:34 2004 UTC (20 years, 3 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +39 -20 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 29 13:15:57 2004 UTC (20 years, 3 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +17 -6 lines
Pull up revision 1.25 (requested by christos in ticket #776):
don't depend on printf.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Aug 27 17:50:57 2004 UTC (20 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -1 lines
add "drvctl" template

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Aug 1 21:52:09 2004 UTC (20 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -1 lines
Add atabus devices.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Aug 1 10:43:47 2004 UTC (20 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +14 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 19 05:31:50 2004 UTC (20 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +39 -20 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 8 19:03:14 2004 UTC (20 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +17 -6 lines
don't depend on printf.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu May 27 02:57:42 2004 UTC (20 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -2 lines
add ptm device.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 10 18:33:12 2004 UTC (20 years, 9 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
the device name is 'verifiedexec', not 'veriexec' (the filename is 'veriexec',
tho)

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Mar 8 23:05:37 2004 UTC (20 years, 9 months ago) by lukem
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 3 21:43:43 2004 UTC (20 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 25 14:00:57 2004 UTC (20 years, 10 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -6 lines
Remove references to /dev/beep.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jan 14 20:41:59 2004 UTC (20 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2 lines
add 'wscons' to list of special arguments

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 14 19:23:36 2004 UTC (20 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -5 lines
remove incorrect veriexec entry - there is correct one here already

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jan 14 05:13:53 2004 UTC (20 years, 11 months ago) by blymn
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -1 lines
Add veriexec device

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Dec 22 22:26:32 2003 UTC (20 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +17 -11 lines
Add warn() to display message to stderr prefixed by the script name,
and use appropriately.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 21 17:37:26 2003 UTC (20 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +480 -738 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 21 16:17:19 2003 UTC (20 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
fix mms\*

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Dec 21 15:32:59 2003 UTC (20 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
be consistent in fss*

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Dec 15 08:57:52 2003 UTC (21 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 10 11:40:11 2003 UTC (21 years ago) by hannken
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 24 06:31:44 2003 UTC (21 years ago) by isaki
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Correct typo in comment (s/x86k/x68k/)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Nov 22 17:26:45 2003 UTC (21 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -7 lines
Update device description for hp300 MI com(4) changes.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Oct 26 21:21:50 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
g/c the 'see foo(X)' xrefs; this info is automatically generated
into MAKEDEV(8)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Oct 26 12:42:55 2003 UTC (21 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 24 23:39:42 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -7 lines
adjust the device descriptions for better MAKEDEV(8) manpage output
note PF is not in tree (for the manpage)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 24 10:25:08 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -3 lines
make 'sd' optional

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 24 08:29:57 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +88 -46 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 17 19:06:33 2003 UTC (21 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 15 19:16:01 2003 UTC (21 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +21 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 13 09:37:45 2003 UTC (21 years, 2 months ago) by jdolecek
Branches: 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

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>