Commit Graph

107 Commits

Author SHA1 Message Date
tron 4241fec1bf 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.
2006-07-26 10:30:59 +00:00
bouyer d252c65e9c 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.
2006-07-23 12:01:25 +00:00
yamt 660afa3bf2 fix xsd_kva. 2006-07-07 17:21:19 +00:00
bouyer 75e3593f2c Add new xen device xsd_kva (for Xen3 dom0 operations) 2006-07-04 21:39:55 +00:00
gdamore a5c89047c0 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.
2006-06-19 15:44:33 +00:00
scw 34b4a96dbb 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.
2006-04-03 08:15:48 +00:00
christos 6aba0a176a Add parentheses. 2006-03-25 17:19:02 +00:00
dsl 4975ba94fa Add some more .MAKE so that we don't run multiple parallel makes. 2006-02-15 21:59:08 +00:00
hamajima 779483779d EP93xx has 8 GPIOs. I increased /dev/gpio*. 2006-02-06 13:12:41 +00:00
jmcneill d94618bd3e Add gpio devices to template. 2005-09-27 02:44:12 +00:00
skrll acd7c4c5ca Add a driver for Cypress microcontroller based USB serial adapters.
XXX hw flow control is not supported.
2005-07-30 06:14:49 +00:00
kiyohara c1a84a4d12 ieee1394 import from FreeBSD. 2005-07-11 15:29:05 +00:00
elad 68988657cd Don't allow unprivileged users to access the veriexec device. 2005-06-16 15:31:21 +00:00
blymn c1a5be3d85 Fix naming of the verified exec character device placeholder. 2005-05-28 14:54:06 +00:00
lukem 117d01fe78 Add hexprint(); display the given number as hex.
Add a comment to document zeropad()'s purpose.
2005-05-02 00:46:46 +00:00
augustss c246220559 Make /dev/usb readable to all; it is only used to report USB events. 2005-04-30 16:26:06 +00:00
peter 7c4b722858 Add pf to the all target. Pointed out by Steve Rumble. 2005-04-01 21:07:01 +00:00
jdolecek 03258a805a separate tun(4) and joy(4) entries, those two are totally independant
PR: kern/29673 by FUKAUMI Naoki
2005-03-12 10:26:45 +00:00
bouyer 3e8f0992c8 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.
2005-03-11 20:55:10 +00:00
cube 9dc874ea69 Create tap (cloning), tap0 .. tap3 in /dev by default. 2005-01-08 22:31:28 +00:00
joff d17ffac202 Add tslcd 2005-01-08 20:32:10 +00:00
manu 99a658efd4 Fix bpf/bpf0 swap 2005-01-04 15:06:24 +00:00
manu 9fba78b0b3 Link /dev/bpf to /dev/bpf0. dhclient looks for /dev/bpf now... 2005-01-03 22:45:34 +00:00
joff 38cddbe010 Add epcom serial UART char device found on Cirrus Logic EP93xx ARM9 SoC's 2004-12-29 06:36:46 +00:00
christos 0b731a56a1 Marry tun and joy. 2004-12-01 23:09:04 +00:00
christos 98baff9ba7 Create /dev/bpf not /dev/bpfN 2004-12-01 23:06:57 +00:00
peter 195fae85fa Remove the "(not in tree)" part in the comment for PF. 2004-10-22 14:08:22 +00:00
christos a22353007b PR/27235: Jukka Salmi: MAKEDEV regression because of printf -> zeropad change 2004-10-12 14:42:08 +00:00
drochner 93f4534edf add "drvctl" template 2004-08-27 17:50:57 +00:00
bouyer dc32cbc366 Add atabus devices. 2004-08-01 21:52:09 +00:00
mrg 04f2810d39 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.
2004-08-01 10:43:47 +00:00
christos d649be27ff 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.
2004-06-19 05:31:50 +00:00
christos d1fc28d7e3 don't depend on printf. 2004-06-08 19:03:14 +00:00
christos 6dd05261cf add ptm device. 2004-05-27 02:57:42 +00:00
jdolecek 5923227e2c the device name is 'verifiedexec', not 'veriexec' (the filename is 'veriexec',
tho)
2004-03-10 18:33:12 +00:00
lukem 6e46cc7242 Use "mknod -R" for "MAKEDEV -f".
Fixes problem noted by Bernd Ernesti on current-users,
with solution suggested by David Laight.
2004-03-08 23:05:37 +00:00
jdolecek fce24261df 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)
2004-02-03 21:43:43 +00:00
bjh21 a9e6f9057b Remove references to /dev/beep. 2004-01-25 14:00:57 +00:00
jdolecek 07d4016c74 add 'wscons' to list of special arguments 2004-01-14 20:41:59 +00:00
jdolecek de7bb4305b remove incorrect veriexec entry - there is correct one here already 2004-01-14 19:23:36 +00:00
blymn bcb8ffa647 Add veriexec device 2004-01-14 05:13:53 +00:00
lukem e2288a51a0 Add warn() to display message to stderr prefixed by the script name,
and use appropriately.
2003-12-22 22:26:32 +00:00
lukem fcdfdbba5c 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"
2003-12-21 17:37:26 +00:00
lukem 6ab1279223 fix mms\* 2003-12-21 16:17:19 +00:00
lukem cb8a9610e0 be consistent in fss* 2003-12-21 15:32:59 +00:00
jdolecek 2d5a801b27 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
2003-12-15 08:57:52 +00:00
hannken fbae381aaa 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>
2003-12-10 11:40:11 +00:00
isaki eb554304bd Correct typo in comment (s/x86k/x68k/) 2003-11-24 06:31:44 +00:00
tsutsui 74a31d9ed9 Update device description for hp300 MI com(4) changes. 2003-11-22 17:26:45 +00:00
jdolecek fd9cf65324 g/c the 'see foo(X)' xrefs; this info is automatically generated
into MAKEDEV(8)
2003-10-26 21:21:50 +00:00
he 706fa97ddd 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).
2003-10-26 12:42:55 +00:00
jdolecek 3b77895e3d adjust the device descriptions for better MAKEDEV(8) manpage output
note PF is not in tree (for the manpage)
2003-10-24 23:39:42 +00:00
jdolecek b2607ae4cb make 'sd' optional 2003-10-24 10:25:08 +00:00
jdolecek 3b5469b94c 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
2003-10-24 08:29:57 +00:00
jdolecek ad4acc4abb 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
2003-10-17 19:06:33 +00:00
jdolecek db5fa0cba5 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
2003-10-15 19:16:01 +00:00
jdolecek 5351b51128 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
2003-10-13 09:37:45 +00:00