|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| #
1.105 |
|
11-Mar-2025 |
brad |
A driver and userland utility for a couple of families of the Microchip Technology / SMSC fan controller chips.
The driver and utility supports the:
o EMC2101 and EMC2101-R o EMC2103-1, EMC2102-2 and EMC2103-4 o EMC2104 o EMC2106 o EMC2301 o EMC2302 o EMC2303 o EMC2305
The EMC210X family supports 1 or 2 fans with tachometer. Depending on the chip, it may support 2 additional fans without tach and might support a high side attachment (i.e. a fan, usually 5v, driven directly from the chip and not PWM or DAC). All versions of EMC210X support internal temperature measurements, and depending on the chip, may support up to 5 additional temperature zones. The tachometers and temperature measurements are provided to the system via the envsys(4) framework. Some chip types support GPIO pins and support is provided via the gpio(4) framework.
The EMC230X family supports 1, 2, 3 or 5 fans with the same number of tachometers. No temperature zone or GPIO support. The tachometers are provided to the system via the envsys(4) framework. The fan support can be provided by PWM signaling or DAC.
The two chip families mostly do PWM signaling for the fan speed, but a number of them support DAC output, a 0 to 3v or so voltage. When the chip supports external temperature zones, this is done usually by a bipolar NPN or PNP transister configured as a diode, but some of the chip varients support thermistors.
The emcfan(4) kernel driver provides a simple read / write / seek device in /dev/ to the register set in the chip. The heavy lifting is done in the userland utility emcfanctl(8) which provides the ability to read and write to any valid register and provides some basic higher level commands to control fan behavior. The output is simple text lines, or JSON.
The kernel driver does not reset or other mess with the chip, aside from reading registers. It is entirely possible that something else in any particular system is the major manager of the fan controller and it would not do for the kernel driver to mess too much with the attached device. All interactions are intentional via the userland utility.
It is known that a EMC2301 is present on the Raspberry PI 4 Compute IO module (not to be confused with the Raspberry PI 4 Compute module itself) and there is a breakout board from Adafruit with a EMC2101 on it. The chips themselves are pretty inexpensive from Mouser or Digi-key and can be soldered using the simpler SMD soldering techniques. A number of the variants are QFN packages, but the pads are exposed to the side of the chip. No other external components are required to use these fan controllers.
|
| #
1.104 |
|
16-Dec-2024 |
brad |
A driver for the MCP-2221 / 2221A multi-io chip. This is a USB to UART / GPIO / I2C multi-io chip probably based upon a programmed PIC. The end result is that simple gpio and i2c can exist on any system that provides a USB port. This is everything from a RPI to a Virtualbox VM.
o The UART presents itself as a umodem(4) device and pretty much works as one would expect.
o There are 4 simple GPIO pins with multiple functions that attach to gpio(4). Support for basic GPIO input and output exists with gpioctl, the ADC, DAC and clock pulse functions exist as ALT functions. For the ADC and DAC /dev/ devices are provided such that simple reads and writes interact with the ADC and DAC. The IRQ function on pin GP1 and bit banging the GPIO with gpiopps(4) and gpioow(4) are not really supported. The short answer is that a spin lock is held while trying to do USB transfers and that isn't allowed.
o There is a simple I2C engine that attaches to iic(4). This mostly works as expected, except that a READ without STOP is not supported by the engine which causes problems for some drivers. Most drivers do not seem to use READ without STOP and seem to work as expected. Support for changing the I2C speed is not supported, but nothing much really does that.
o A userland utility called umcpmioctl(8) is provided that allows the query of the status of the chip and allows for the query of the flash memory and the setting of some of the flash memory parameters mostly related to gpio. This utility interacts with a control device in /dev/. The flash memory contents is copied to the sram on boot up of the chip and can be used to adjust how the chip sets up the gpio pins, among other things. Support for setting or entering the chip password is not provided.
o A number of sysctls are provided to mess with various settings. These are detailed in the man page.
While not perfect, the chip is reasonable, cheap, and has at least one vendor making a breakout board. It is also one of the only ones in this space that has enough documentation to write a driver.
Support for a related chip, the MCP-2210, which provides SPI and GPIO may exist some day as the programming interface is very simular.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base thorpej-ifq-base thorpej-altq-separation-base
|
| #
1.103 |
|
06-Nov-2023 |
brad |
branches: 1.103.6;
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 tags: netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| #
1.102 |
|
12-Aug-2022 |
riastradh |
branches: 1.102.4; viocon(4): New virtio tty driver imported from OpenBSD.
viocon* at virtio?
/dev/ttyVI??
Tested under qemu with:
qemu-system-aarch64 ... \ -device virtio-serial \ -chardev socket,path=/tmp/ttyVI00,server=on,wait=off,id=ttyVI00 \ -device virtconsole,chardev=ttyVI00,name=org.NetBSD.dev.ttyVI00 \ ...
I updated MAKEDEV.conf to create /dev/ttyVI?? on all ports where it looks likely to work based on: (a) having pci or a non-pci virtio attachment, (b) `qemu-system-$ARCH -M ?' mentioned something resembling the port, and (c) `qemu-system-$ARCH -device virtio-serial' launched without complaining about the virtio-serial device.
(Criterion (c) excluded sparc and sparc64.)
|
| #
1.101 |
|
07-Dec-2021 |
brad |
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.
|
| #
1.100 |
|
06-Nov-2021 |
brad |
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.
|
| #
1.99 |
|
10-Oct-2021 |
jmcneill |
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 tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
|
| #
1.98 |
|
24-Jul-2021 |
jmcneill |
smbios: Add character device for accessing SMBIOS tables
The /dev/smbios character device gives an aperture into physical memory that allows read-only access to the SMBIOS header and tables.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base
|
| #
1.97 |
|
06-Dec-2020 |
jmcneill |
branches: 1.97.4; acpi: add character device for accessing ACPI tables
The /dev/acpi character device gives an aperture into physical memory that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and the root tables. Adapt acpidump(8) to use this interface by default, falling back to the old /dev/mem method if it is not available or if ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit of this change is that "options INSECURE" is no longer required to dump ACPI tables.
|
| #
1.96 |
|
28-Aug-2020 |
riastradh |
branches: 1.96.2; Nix trailing whitespace.
|
| #
1.95 |
|
26-Jul-2020 |
jdolecek |
Add driver for Intel XMM7360 LTE modem, based upon Linux driver available at https://github.com/xmm7360/xmm7360-pci
This version works on Linux, OpenBSD, and NetBSD.
OpenBSD port written for genua GmbH
Modem requires python script from the master site to initialize the network, it will be added to pkgsrc shortly
|
| #
1.94 |
|
07-Jun-2020 |
maxv |
Add fault(4).
|
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2
|
| #
1.93 |
|
19-Jan-2020 |
riastradh |
Remove filemon(4).
Discussed on tech-kern: https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html
This was never (intentionally) enabled by default, and the design has some shortcomings. You can get mostly the same results with ktrace, as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead of filemon for make's meta mode.
If applications require higher performance than ktrace, or nesting that ktrace doesn't support, we might consider adding something back into the vfs system calls themselves, without hijacking the syscall table. (Might want a more reliable output format too, e.g. one that can handle newlines in file names.)
|
|
Revision tags: ad-namecache-base1 ad-namecache-base
|
| #
1.92 |
|
23-Dec-2019 |
maxv |
branches: 1.92.2; Revert the removal of filemon.
|
| #
1.91 |
|
18-Dec-2019 |
maxv |
Retire filemon, discussed on tech-kern@.
|
|
Revision tags: phil-wifi-20191119
|
| #
1.90 |
|
28-Oct-2019 |
ozaki-r |
Implement a front-end driver of virtio-9p called vio9p
In conjunction with mount_9p, it enables a NetBSD system running as a VM guest to mount an exported filesystem by the host via virtio-9p. It exports a 9p end-point of virtio-9p via a character device file for mount_9p.
Reviewed by yamaguchi@
|
| #
1.89 |
|
15-Sep-2019 |
maxv |
Wrong major.
|
| #
1.88 |
|
14-Sep-2019 |
maxv |
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 tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609
|
| #
1.87 |
|
18-May-2019 |
mlelstv |
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.
|
| #
1.86 |
|
05-May-2019 |
mlelstv |
Now the real number for ipmi
|
| #
1.85 |
|
05-May-2019 |
mlelstv |
reservation for IPMI driver
|
|
Revision tags: isaki-audio2-base
|
| #
1.84 |
|
09-Mar-2019 |
kamil |
Reserve DTrace sdt and fdt major numbers
Register cmajor 252 for fbt and 253 for sdt.
Previously the major number was picked randomly and it causes conflicts with preallocated values for different devices.
|
| #
1.83 |
|
23-Feb-2019 |
kamil |
Reserve majors for HAXM and example loadable kernel modules
348-350 are reserved for HAXM 351 is reserved for sys/modules/examples
Discussed on tech-kern@
|
| #
1.82 |
|
23-Feb-2019 |
mlelstv |
Reserve major number for spi driver
|
| #
1.81 |
|
23-Feb-2019 |
kamil |
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 tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
|
| #
1.80 |
|
07-Nov-2018 |
maxv |
Add NVMM - for NetBSD Virtual Machine Monitor -, a kernel driver that provides support for hardware-accelerated virtualization on NetBSD.
It is made of an MI frontend, to which MD backends can be plugged. One MD backend is implemented, x86-SVM, for x86 AMD CPUs.
We install
/usr/include/dev/nvmm/nvmm.h /usr/include/dev/nvmm/nvmm_ioctl.h /usr/include/dev/nvmm/{arch}/nvmm_{arch}.h
And the kernel module. For now, the only architecture where we do that is amd64 (arch=x86).
NVMM is not enabled by default in amd64-GENERIC, but is instead easily modloadable.
Sent to tech-kern@ a month ago. Validated with kASan, and optimized with tprof.
|
|
Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
|
| #
1.79 |
|
20-May-2018 |
thorpej |
branches: 1.79.2; 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 tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
| #
1.78 |
|
09-Jan-2018 |
christos |
branches: 1.78.2; Merge autofs support from: Tomohiro Kusumi XXX: Does not work yet
|
|
Revision tags: tls-maxphys-base-20171202
|
| #
1.77 |
|
25-Nov-2017 |
jmcneill |
Add driver for QEMU Firmware Configuration device.
This interface allows the host to pass various data items and files to the guest OS.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
| #
1.76 |
|
08-Dec-2016 |
nat |
Add a synthesized pc beeper and keyboard bell for platforms with an audio device.
|
|
Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
|
| #
1.75 |
|
08-Sep-2016 |
nonaka |
Fix to cannnot be opened a nvme(4) namespace device file.
|
|
Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
|
| #
1.74 |
|
04-Jun-2016 |
nonaka |
branches: 1.74.2; Add NVMe command passthrough support.
|
|
Revision tags: nick-nhusb-base-20160529
|
| #
1.73 |
|
13-May-2016 |
skrll |
Clarify the intention here after discussing it with soda@
|
| #
1.72 |
|
13-May-2016 |
soda |
- change major number limit for MI devices from 255 to 511, because twe is already using 332 - clarify that new MI devices should go to this file instead of majors.{ws,usb,std,tty,storage} - fix major number conflict about hdmicec vs tty
OKed by matt@ the expression "previously not MI" is suggested by matt@ too.
|
| #
1.71 |
|
11-May-2016 |
skrll |
Update with info about tty/storage reservations
|
|
Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921
|
| #
1.70 |
|
01-Aug-2015 |
jmcneill |
Add an API for HDMI CEC devices. HDMI Consumer Electronics Control (CEC) is a protocol that provides high-level control functions between CEC-capable connected devices.
|
|
Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
|
| #
1.69 |
|
19-Sep-2014 |
matt |
branches: 1.69.2; Add comment about new MI device numbers in other files.
|
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
| #
1.68 |
|
18-Mar-2014 |
riastradh |
Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| #
1.67 |
|
18-Oct-2013 |
mbalmer |
add a device-major for lua(4)
|
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
| #
1.66 |
|
22-Apr-2013 |
rkujawa |
branches: 1.66.4; 1.66.6; Add forgotten block device number for spiflash in an attempt to unbreak evbarm build.
|
| #
1.65 |
|
20-Apr-2013 |
rkujawa |
Add character device for spiflash.
Obtained from Marvell, Semihalf.
|
|
Revision tags: agc-symver-base
|
| #
1.64 |
|
28-Feb-2013 |
christos |
add a major for dtrace
|
| #
1.63 |
|
08-Feb-2013 |
jdc |
Add an MI major number for seeprom (char 206).
|
|
Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
| #
1.62 |
|
19-Sep-2012 |
bouyer |
Add a pass-through ioctl for mfi(4), allowing userland to send raw commands to the controller. This is compatible with the linux and FreeBSD implementations. Add the needed conversion for mfi ioctls in COMPAT_LINUX Allocate a character major number, and create /dev/mfi0 by default on amd64 and i386. This allows (along with a hand-created /emul/linux/proc/devices file) to run the MegaCLI linux binary provided by LSI.
|
|
Revision 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 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
| #
1.61 |
|
22-Jan-2012 |
christos |
branches: 1.61.2; 1.61.6; add a tpm driver from bsssd.sourceforge.net
|
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base
|
| #
1.60 |
|
19-Nov-2011 |
agc |
branches: 1.60.4; grab major 203 for the iSCSI communications device (between kernel driver and /sbin/iscsid)
|
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| #
1.59 |
|
15-Oct-2011 |
tron |
branches: 1.59.2; Fix build of kernels without filemon(4).
|
| #
1.58 |
|
15-Oct-2011 |
sjg |
Add the plumbing so one could compile filemon(4) into a kernel.
|
| #
1.57 |
|
02-Oct-2011 |
jmcneill |
Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver. Obsolete the I2C_SCAN option as this can now be done from userland.
|
| #
1.56 |
|
09-Jul-2011 |
jmcneill |
reserve char 200 for dtv
|
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base rmind-uvmplock-base
|
| #
1.55 |
|
20-Jan-2011 |
jmcneill |
unreserve kmixer
|
|
Revision tags: jruoho-x86intr-base
|
| #
1.54 |
|
05-Jan-2011 |
jmcneill |
branches: 1.54.2; 1.54.4; reserve a major number for kmixer
|
|
Revision tags: matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4
|
| #
1.53 |
|
27-Oct-2010 |
uebayasi |
Reserve an MI major for coming flash(4).
hpcmips defines one in MD majors, but it's not listed in etc/etc.hpcmips/MAKEDEV.conf, so I assume actual files are never created in users' filesystems.
Prompted By: pooka
|
|
Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11
|
| #
1.52 |
|
22-Aug-2010 |
rmind |
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 tags: uebayasi-xip-base2 yamt-nfs-mp-base10
|
| #
1.51 |
|
30-Apr-2010 |
pooka |
For the simple cases, augment device-major with information on how a driver expects /dev/node -> minor mappings to go and include that information in devsw_conv. (no, I didn't plow through all the MD majors files)
|
| #
1.50 |
|
30-Apr-2010 |
pooka |
compress whitespace. no functional change.
|
|
Revision tags: uebayasi-xip-base1
|
| #
1.49 |
|
14-Apr-2010 |
pooka |
Steal a static major number for rumpblk.
|
|
Revision tags: yamt-nfs-mp-base9
|
| #
1.48 |
|
06-Mar-2010 |
plunky |
branches: 1.48.2; use a MI major number for uhso(4) driver (requested by mrg)
|
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 jym-xensuspend-nbase
|
| #
1.47 |
|
06-Sep-2009 |
sborrill |
branches: 1.47.2; 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 tags: yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5
|
| #
1.46 |
|
21-May-2009 |
wiz |
<space> -> <tab> consistency.
|
|
Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
|
| #
1.45 |
|
12-Mar-2009 |
jmcneill |
Add 'alternative memory' disk device driver.
|
|
Revision tags: nick-hppapmap-base2 mjf-devfs2-base
|
| #
1.44 |
|
19-Dec-2008 |
haad |
branches: 1.44.2; Merge the haad-dm branch to -current. This branch adds LVM functionality to the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed device-mapper driver.
The device-mapper driver can be used to create virtual block devices which maps virtual blocks to real with target mapping called target. Currently these targets are available a linear, zero, error and a snapshot (this is work in progress and doesn't work yet).
The lvm2tools adds lvm and dmsetup binary to based system, where the lvm tool is used to manage and administer whole LVM and the dmestup is used to communicate iwith device-mapper kernel driver. With these tools also a libdevmapper library is instaled to the base system.
Building of tools and driver is currently disable and can be enabled with MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.
Oked by agc@ and cube@.
|
|
Revision tags: haad-dm-base2 haad-nbase2 ad-audiomp2-base haad-dm-base
|
| #
1.43 |
|
05-Dec-2008 |
ad |
zfs needs block devices too, for zvol.
|
|
Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
| #
1.42 |
|
27-Aug-2008 |
drochner |
branches: 1.42.2; 1.42.4; 1.42.8; allocate a char major # for video (gsoc project)
|
|
Revision tags: wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base
|
| #
1.41 |
|
02-Apr-2008 |
dyoung |
branches: 1.41.4; 1.41.6; 1.41.10; 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 tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
|
| #
1.40 |
|
01-Jan-2008 |
yamt |
branches: 1.40.6; a simple performance monitor based profiler, inspired from linux oprofile.
|
|
Revision tags: vmlocking2-base3
|
| #
1.39 |
|
24-Dec-2007 |
ad |
Reserve a major for ZFS.
|
|
Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
| #
1.38 |
|
13-Nov-2007 |
pooka |
branches: 1.38.2; 1.38.6; puffs -> putter
|
| #
1.37 |
|
11-Nov-2007 |
jmcneill |
Add pseudo audio device driver. With this pseudo-device, audio played back via the standard audio interfaces is redirected back to userland as raw PCM data on /dev/padN.
One example usage is to stream audio to an AirTunes compatible device using rtunes (http://www.nazgul.ch/dev_rtunes.html), ie:
$ rtunes - < /dev/pad0 $ mpg123 -a /dev/sound1 blah.mp3
Another option is to capture audio output from eg. Real Player, by simply instructing Real Player to output to /dev/sound1, and running:
$ cat /dev/pad0 > blah.pcm
|
| #
1.36 |
|
10-Nov-2007 |
pooka |
Part 2/n of extensive changes to request transport to/from userspace:
Rip the transport code completely out of puffs and generalize it into an independent module which will be used for multiple purposes in the future. This module is called the Pass-to-Userspace Transporter (known as "putter" among friends).
This is very much work-in-progress and one dependency with puffs remains: the request framing format.
The device name is still /dev/puffs, but that will change soon.
Users of puffs need the following in their kernel configs now: pseudo-device putter
|
|
Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
|
| #
1.35 |
|
04-Aug-2007 |
ad |
branches: 1.35.2; 1.35.6; 1.35.8; 1.35.10; Add cpuctl(8). For now this is not much more than a toy for debugging and benchmarking that allows taking CPUs online/offline.
|
|
Revision tags: nick-csl-alignment-base yamt-idlelwp-base8 mjf-ufs-trans-base
|
| #
1.34 |
|
01-May-2007 |
bouyer |
branches: 1.34.2; 1.34.6; 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.
|
|
Revision tags: thorpej-atomic-base
|
| #
1.33 |
|
20-Mar-2007 |
drochner |
allocate chracter dev major #180 for drm
|
|
Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
|
| #
1.32 |
|
11-Jan-2007 |
mouse |
branches: 1.32.2; 1.32.6; 1.32.8; 1.32.10; Hook srt into the rest of the kernel build machinery, so it works to just uncomment the pseudo-device line (which arguably should go into other ports' GENERICs too, and at some point may).
OKed by perry.
|
|
Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 netbsd-4-base
|
| #
1.31 |
|
22-Oct-2006 |
pooka |
branches: 1.31.2; grab device number for puffs
|
|
Revision tags: yamt-splraiseipl-base2
|
| #
1.30 |
|
24-Sep-2006 |
manu |
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.
|
| #
1.29 |
|
24-Sep-2006 |
manu |
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
|
| #
1.28 |
|
23-Sep-2006 |
manu |
Add a major for twa. The 3ware management tool has the major 187 hardcoded for twa. Fortunately 187 is available.
The same tool hardcodes twe major at 146, which falls into the range reserved to vendors...
|
|
Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
|
| #
1.27 |
|
10-Sep-2006 |
plunky |
branches: 1.27.2; 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 tags: rpaulo-netinet-merge-pcb-base
|
| #
1.26 |
|
07-Sep-2006 |
ad |
branches: 1.26.2; Add /dev/lockstat.
|
|
Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base8 yamt-pdpolicy-base7
|
| #
1.25 |
|
26-Jul-2006 |
tron |
branches: 1.25.2; Bluetooth fixes by Iain Hibbert: Change the way in which bluetooth devices attach to system. The new way is for devices to attach directly to a btdevN device via its own control file /dev/btdevN. - bthub(4) is replaced by btdev(4). - /dev/bthubctl is replaced by /dev/btdevN. - configuration now uses proplib(3) property lists. - btcontrol(8) updated to use new API, and now uses private - XML config file /var/db/btdev.xml.
|
| #
1.24 |
|
23-Jul-2006 |
bouyer |
Add a /dev/amr* control file for amr(4) devices, which allows sending raw commands to the controller. Add a amrctl(8) control tool, which for now only allows to get status from the adapter (status of adapter, logical volumes and and individual drives). From FreeBSD, with some adjustements by Andrew Doran and me.
|
| #
1.23 |
|
09-Jul-2006 |
mlelstv |
move and renumber bthub major to avoid conflicts with other archs
|
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base simonb-timecounters-base
|
| #
1.22 |
|
14-May-2006 |
elad |
branches: 1.22.4; integrate kauth.
|
|
Revision tags: yamt-pdpolicy-base4 elad-kernelauth-base
|
| #
1.21 |
|
03-Apr-2006 |
scw |
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 tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
|
| #
1.20 |
|
25-Feb-2006 |
christos |
branches: 1.20.2; 1.20.4; 1.20.6; leave the old number for vinum in (for reference). Prompted by veego.
|
| #
1.19 |
|
25-Feb-2006 |
christos |
remove vinum
|
| #
1.18 |
|
11-Dec-2005 |
christos |
branches: 1.18.2; 1.18.4; 1.18.6; merge ktrace-lwp.
|
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
| #
1.17 |
|
27-Sep-2005 |
jmcneill |
Add gpio files and majors.
|
| #
1.16 |
|
30-Jul-2005 |
skrll |
Add a driver for Cypress microcontroller based USB serial adapters.
XXX hw flow control is not supported.
|
| #
1.15 |
|
11-Jul-2005 |
kiyohara |
ieee1394 import from FreeBSD.
|
| #
1.14 |
|
03-Jun-2005 |
blymn |
branches: 1.14.2; Added veriexec as a MI major.
|
|
Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge
|
| #
1.13 |
|
08-Jan-2005 |
cube |
branches: 1.13.8; Addition of tap(4).
NAME tap - virtual Ethernet device
SYNOPSIS pseudo-device tap
DESCRIPTION The tap driver allows the creation and use of virtual Ethernet devices. Those interfaces appear just as any real Ethernet NIC to the kernel, but can also be accessed by userland through a character device node in order to read frames being sent by the system or to inject frames.
In that respect it is very similar to what tun(4) provides, but the added Ethernet layer allows easy integration with machine emulators or virtual Ethernet networks through the use of bridge(4) with tunneling.
``Qui tacet consentire videtur.''
|
|
Revision tags: kent-audio1-base
|
| #
1.12 |
|
25-Sep-2004 |
thorpej |
Work-in-progress implementation of "wedges", a new way to represent partitions in the NetBSD kernel. See discussion on tech-kern for details.
|
| #
1.11 |
|
18-Aug-2004 |
drochner |
add a "drvctl" pseudo-device as userland interface to the autoconf rescan() and detach() functions
|
| #
1.10 |
|
01-Aug-2004 |
bouyer |
branches: 1.10.2; Implement an atabus control device, and define some ATA bus control IOCTLS. Implement ATABUSIORESET, which will reset the given ATA bus.
|
| #
1.9 |
|
18-Jun-2004 |
christos |
ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
|
| #
1.8 |
|
27-May-2004 |
christos |
Unix 98 pty multiplexor device; original code from OpenBSD.
|
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| #
1.7 |
|
28-Jan-2004 |
drochner |
add pps device
|
| #
1.6 |
|
31-Dec-2003 |
jonathan |
Split opencrypto configuration into an attribute, usable by inkernel clients, and a pseudo-device for userspace access.
The attribute is named `opencrypto'. The pseudo-device is renamed to "crypto", which has a dependency on "opencrypto". The sys/conf/majors entry and pseudo-device attach entrypoint are updated to match the new pseudo-device name.
Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the "opencrypto" attribute. Drivers for crypto accelerators (ubsec, hifn775x) also pull in opencrypto, as providers of opencrypto transforms.
|
| #
1.5 |
|
10-Dec-2003 |
hannken |
The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted file system to its block device and a hook in dounmount().
Not enabled by default in any kernel config.
Approved by: Frank van der Linden <fvdl@netbsd.org>
|
| #
1.4 |
|
10-Oct-2003 |
jdolecek |
Add major for Vinum
|
| #
1.3 |
|
10-Oct-2003 |
jdolecek |
reassing majors for crypto and pf to use the newly defined MI major range
|
| #
1.2 |
|
10-Oct-2003 |
jdolecek |
update comments for the final major space arrangement: 0-143 machine-dependant/traditional majors 144-159 local/vendor use 160-255 new-style MI range
|
| #
1.1 |
|
10-Oct-2003 |
jdolecek |
move MI majors config file from sys/dev/majors to sys/conf/majors
|