summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
Commit message (Collapse)AuthorAgeFilesLines
* Remove matcd from MAKEDEV.scottl2002-10-051-32/+1
| | | | X-MFC after: ASAP
* add support for /dev/cryptosam2002-10-041-0/+7
|
* MFC: Elan support;sam2002-09-171-0/+6
| | | | | | | | | | o Recognize AMD Elan SC520 hostbridge. o Add initialization code for the AMD Elan sc520 which maps the MMCR into KVM and sets the i8254 frequency to the correct value. o MAKEDEV entry for elan-mmcr device Reviewed by: phk, jhb Approved by: re(jhb)
* Remove some unnecessary sanity checks that break "sh MAKEDEV cd"iedowse2002-08-101-4/+4
| | | | | | | | | | and others, because test(1) does not do shortcut evaluation. Fix the same off-by-one error for acd*t* that revision 1.326 fixed for other *cd devices. Suggested by: bde Reviewed by: bde
* Permit the creation of just cd0 if desired. Previously it alwaysiedowse2002-08-101-1/+1
| | | | | | | | | created cd1 as well due to an off-by-one error left over from revision 1.249. PR: conf/20436 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> MFC after: 1 week
* Rename 'usio' to 'ucom'.joe2002-07-101-4/+4
| | | | Spotted by: akiyama
* At long last, commit the zero copy sockets code.ken2002-06-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAKEDEV: Add MAKEDEV glue for the ti(4) device nodes. ti.4: Update the ti(4) man page to include information on the TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options, and also include information about the new character device interface and the associated ioctls. man9/Makefile: Add jumbo.9 and zero_copy.9 man pages and associated links. jumbo.9: New man page describing the jumbo buffer allocator interface and operation. zero_copy.9: New man page describing the general characteristics of the zero copy send and receive code, and what an application author should do to take advantage of the zero copy functionality. NOTES: Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS, TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT. conf/files: Add uipc_jumbo.c and uipc_cow.c. conf/options: Add the 5 options mentioned above. kern_subr.c: Receive side zero copy implementation. This takes "disposable" pages attached to an mbuf, gives them to a user process, and then recycles the user's page. This is only active when ZERO_COPY_SOCKETS is turned on and the kern.ipc.zero_copy.receive sysctl variable is set to 1. uipc_cow.c: Send side zero copy functions. Takes a page written by the user and maps it copy on write and assigns it kernel virtual address space. Removes copy on write mapping once the buffer has been freed by the network stack. uipc_jumbo.c: Jumbo disposable page allocator code. This allocates (optionally) disposable pages for network drivers that want to give the user the option of doing zero copy receive. uipc_socket.c: Add kern.ipc.zero_copy.{send,receive} sysctls that are enabled if ZERO_COPY_SOCKETS is turned on. Add zero copy send support to sosend() -- pages get mapped into the kernel instead of getting copied if they meet size and alignment restrictions. uipc_syscalls.c:Un-staticize some of the sf* functions so that they can be used elsewhere. (uipc_cow.c) if_media.c: In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid calling malloc() with M_WAITOK. Return an error if the M_NOWAIT malloc fails. The ti(4) driver and the wi(4) driver, at least, call this with a mutex held. This causes witness warnings for 'ifconfig -a' with a wi(4) or ti(4) board in the system. (I've only verified for ti(4)). ip_output.c: Fragment large datagrams so that each segment contains a multiple of PAGE_SIZE amount of data plus headers. This allows the receiver to potentially do page flipping on receives. if_ti.c: Add zero copy receive support to the ti(4) driver. If TI_PRIVATE_JUMBOS is not defined, it now uses the jumbo(9) buffer allocator for jumbo receive buffers. Add a new character device interface for the ti(4) driver for the new debugging interface. This allows (a patched version of) gdb to talk to the Tigon board and debug the firmware. There are also a few additional debugging ioctls available through this interface. Add header splitting support to the ti(4) driver. Tweak some of the default interrupt coalescing parameters to more useful defaults. Add hooks for supporting transmit flow control, but leave it turned off with a comment describing why it is turned off. if_tireg.h: Change the firmware rev to 12.4.11, since we're really at 12.4.11 plus fixes from 12.4.13. Add defines needed for debugging. Remove the ti_stats structure, it is now defined in sys/tiio.h. ti_fw.h: 12.4.11 firmware. ti_fw2.h: 12.4.11 firmware, plus selected fixes from 12.4.13, and my header splitting patches. Revision 12.4.13 doesn't handle 10/100 negotiation properly. (This firmware is the same as what was in the tree previously, with the addition of header splitting support.) sys/jumbo.h: Jumbo buffer allocator interface. sys/mbuf.h: Add a new external mbuf type, EXT_DISPOSABLE, to indicate that the payload buffer can be thrown away / flipped to a userland process. socketvar.h: Add prototype for socow_setup. tiio.h: ioctl interface to the character portion of the ti(4) driver, plus associated structure/type definitions. uio.h: Change prototype for uiomoveco() so that we'll know whether the source page is disposable. ufs_readwrite.c:Update for new prototype of uiomoveco(). vm_fault.c: In vm_fault(), check to see whether we need to do a page based copy on write fault. vm_object.c: Add a new function, vm_object_allocate_wait(). This does the same thing that vm_object allocate does, except that it gives the caller the opportunity to specify whether it should wait on the uma_zalloc() of the object structre. This allows vm objects to be allocated while holding a mutex. (Without generating WITNESS warnings.) vm_object_allocate() is implemented as a call to vm_object_allocate_wait() with the malloc flag set to M_WAITOK. vm_object.h: Add prototype for vm_object_allocate_wait(). vm_page.c: Add page-based copy on write setup, clear and fault routines. vm_page.h: Add page based COW function prototypes and variable in the vm_page structure. Many thanks to Drew Gallatin, who wrote the zero copy send and receive code, and to all the other folks who have tested and reviewed this code over the years.
* Support more than 32 sio unit numbers. The maximum unit number is nowbde2002-03-311-13/+35
| | | | | | | | | | | (65536 * 32 - 1), but MAKEDEV only supports up to (32 * 32 -1). Device names use the unit number in base 32 for all "digits". This required fixing an old bug in MAKEDEV:ttyminor(). Its arg was the global $unit instead of $1. Reminded by: Valentin K. Ponomarenko <valka@krog.ukrtel.net> MFC-after: 1 week
* Remove a mention of the worm(4) device that was missed when it wascjc2002-03-101-1/+0
| | | | | | | removed from MAKEDEV in 1.171. PR: misc/35729 MFC after: 1 day
* Fix MAKEDEV for RocketPort (rp(4)) cuaR* and ttyR* to work with thejhb2002-02-091-2/+2
| | | | | | updated driver. The newer driver in current outputs a version string that contains a space, so we need to eat two words in between RocketPortX and the number of ports on the board.
* Fix some leftover stray characters from expr(1)-to-$(()) sweeps.cjc2001-12-271-2/+2
| | | | | | PR: bin/33158 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com> MFC after: 1 day
* Remove nonstandard floppy device nodes. Only keep the base device node,joerg2001-12-271-85/+0
| | | | | | | plus the symbolic links to the fake BSD partitions. Also remove the rfd* devices, they are neither necessary nor documented anymore.
* Now that smbfs is fully integrated into the base system, createsheldonh2001-12-261-0/+7
| | | | | | | /dev/nsmb* device nodes, which used to be done by the port installation. PR: 33068 Submitted by: Dimitry Andric <dim@xs4all.nl>
* Bruce says the links are not needed.des2001-12-051-2/+0
|
* Call the ATAPI tape devices "ast" and "nast", not "rast" and "nrast". Adddes2001-12-041-4/+6
| | | | | | | | | backward compatibility symlinks for good measure. DEVFS already gets this right (except for the symlinks). PR: 24781 Submitted by: Christian Weisgerber <naddy@mips.inka.de> MFC after: 3 days
* Create {ad,da,...}s1[a-h].des2001-12-041-1/+1
| | | | | | PR: 19849 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de> MFC after: 3 days
* Support the 'ciss' device node.msmith2001-11-271-0/+5
| | | | MFC after: 1 week
* Catch two extraneous calls to expr(1) that slipped past rev 1.311.sheldonh2001-11-271-2/+2
|
* Style clean-up.sheldonh2001-11-251-29/+31
| | | | Submitted by: bde
* Avoid unnecessary calls to expr(1) by using standard shell arithmeticsheldonh2001-11-201-94/+94
| | | | | | expansion instead. MFC after: 1 week
* Introduce new shell functions hexdigit, hexprint and zeropad.sheldonh2001-11-201-3/+48
| | | | | | | | Use these new functions instead of printf(1), which is scheduled for removal as a shell builtin command, and which will not be available as a standalone utility if MAKEDEV is run prior to mounting /usr. Requested by: knu
* Add support for making the Coda /dev/cfsN devices.iedowse2001-11-181-0/+6
| | | | | PR: conf/22695 Submitted by: Kenneth Ingham <ingham@i-pi.com>
* sysinstall complains about creating acd0t* devices while all dists arematusita2001-11-131-1/+1
| | | | | | | | | | | extracted and recreating device files. Without this, you'll see following messages when 'MAKEDEV all': [: : out of range [: : out of range acd0t is invalid -- can't have more than 32 devices or 169 tracks Reported by: David Syphers <dsyphers@uchicago.edu> (at current@FreeBSD.org)
* $units is the canonical name for the number of units to create; use it.dd2001-08-231-10/+10
| | | | | PR: 29971 Submitted by: Joseph Mallett <jmallett@xMach.org>
* move forward the ability to MAKEDEV zs devices for TurboLasermjacob2001-08-211-0/+7
|
* Add /dev/hpn? as an alias to /dev/aac? so that the HP version of the CLIscottl2001-07-251-0/+1
| | | | | | utility will work, and document it in the manpage. MFC after: 3 days
* Don't insist on creating rocketport devices in /dev.dd2001-06-281-8/+8
| | | | | PR: 21394 Submitted by: Craig Leres <leres@ee.lbl.gov>
* Stop creating vn(4) devices.phk2001-05-291-13/+2
|
* Remove altmodishe "[bc]dev, " comments.phk2001-05-291-63/+63
| | | | | PR: 18836 Submitted by: ben
* Add a ``digi'' driver.brian2001-05-021-2/+44
| | | | | | | | | | | | | | | | | | This driver supports PCI Xr-based and ISA Xem Digiboard cards. dgm will go away soon if there are no problems reported. For now, configuring dgm into your kernel warns that you should be using digi. This driver is probably close to supporting Xi, Xe and Xeve cards, but I wouldn't expect them to work properly (hardware donations welcome). The digi_* pseudo-drivers are not drivers themselves but contain the BIOS and FEP/OS binaries for various digiboard cards and are auto-loaded and auto-unloaded by the digi driver at initialisation time. They *may* be configured into the kernel, but waste a lot of space if they are. They're intended to be left as modules. The digictl program is (mainly) used to re-initialise cards that have external port modules attached such as the PC/Xem.
* Formatting fix for rev 1.298 where I did not take enough care.obrien2001-03-271-30/+30
|
* Don't call the fictious `MAKEDEV' from the path "/sbin:/bin" when weobrien2001-03-271-69/+69
| | | | recurse. Rather recurse on ourself (as we know our own name).
* Bah. 'ln -sf' -> 'ln -fs'. I need to read my email more closely in thescottl2001-03-251-1/+1
| | | | | | mornings. Pointy hat again Obtained from: roam@orbitel.org
* 'ln -s' -> 'ln -sf' for the afa link.scottl2001-03-251-1/+1
| | | | Pointy hat Obtained from: roam@orbitel.bg
* Create afaN as a simlink to aacN. Add a comment about the aac device.scottl2001-03-221-0/+2
|
* Add back the wd* entries. It turns out they're still used by the PC98.jkh2001-03-221-0/+2
| | | | Noted by: nyan
* Don't create legacy wd* devices by default. Let the user do this ifjkh2001-03-221-2/+0
| | | | | | they so desire it. Suggested by: rwatson
* Add the ata control devicesos2001-03-151-0/+8
|
* Comment style fixesobrien2001-03-061-9/+9
|
* Add an entry for the nmdm devicesjulian2001-02-271-0/+13
|
* Add the 'mly' device nodes.msmith2001-02-251-0/+6
|
* Don't specify root:wheel for tun*, it's the default.brian2001-02-031-1/+1
| | | | Pointed out by: bde
* Change the permissions on /dev/tun* to 0600 root:wheelbrian2001-02-031-1/+1
|
* D'oh! Forgot to link to /dev/voodoo.cokane2001-01-261-1/+2
|
* Give the USB devices sensible default permissions.n_hibma2001-01-071-12/+28
| | | | Suggested by: Kaltashkin Eugene <zhecka@klondike.ru>
* Add the "mdctl" device under the "std" stanza.phk2000-12-281-0/+1
|
* Create the vn%d.ctl devices.phk2000-12-161-0/+6
| | | | | | | | | | In a few days I will commit a patch which changes vn(4) to use the disk-minilayer. This will make vn(4) fully DEVFS friendly but have the side effect that vnconfig needs the vn%d.ctl devices to be able to configure vn(4). Please remake your /dev/vn entries with this revision of MAKEDEV if you don't rung DEVFS already.
* Add MAKEDEV support for jogdial device, the first cut of which will bensayer2000-12-111-2/+7
| | | | committed shortly.
* Add the 'amr' control device.msmith2000-11-281-0/+5
|
* Back out change to prepend /sbin:/bin to $PATH, just overwrite $PATHtruckman2000-11-051-1/+1
| | | | | | | with these in the normal case. Set MAKEDEVPATH in sysinstall to include the /mnt2 stuff before starting the fixit shell.
OpenPOWER on IntegriCloud