Commit Graph

285 Commits

Author SHA1 Message Date
Jordan K. Hubbard
17ed57a625 Add device entries for new parallel port radio clock driver.
We were supposed to get these in far earlier and didn't, hence
the commit after feature freeze.  A promise is a promise. :)

Submitted by:	Sascha Schumann <sascha@schumann.cx>
2000-01-19 18:16:24 +00:00
Matt Jacob
e49ff0841a add SES driver 2000-01-15 21:04:13 +00:00
Guido van Rooij
0a2f446f08 Readd ipfilter devices
PR:		16093
2000-01-13 20:27:22 +00:00
David E. O'Brien
6c3acb8c18 Remove usage of chgrp(1) and wrap long lines. 2000-01-07 16:20:25 +00:00
Mike Smith
155af3ba26 Now that chown is no longer available, we shouldn't try to use it.
Improve the internal mknod() to understand being passed an (optional)
user:group specification.

Don't apply root:wheel to nodes explicitly anywhere, it's the default.

Remove an odd looking uucp:wheel assignment, as it's inconsistent with
all the other tty?? devices.
2000-01-06 10:56:46 +00:00
Mike Smith
184a6f3512 Add support for building the 'mlx?' devices, which will be used by the
upcoming 'mlxcontrol' utility.
1999-12-29 01:11:29 +00:00
KATO Takenori
6fb89845b4 Added following modes:
5in     HD 2 heads, 77 cylinders, 8 sectors/track, 1024 bytes/sector
 5/3.5in DD 2 heads, 80 cylinders, 8 sectors/track, 512 bytes/sector

Meanings of the rogrammer-readeble fd name were explained by Brian
Fundakowski Feldman and Peter Wemm in hackers list and NOKUBI
Hirotaka.

Reviewed by:	nyan
1999-12-28 07:38:38 +00:00
Bruce Evans
bcf269395d Moved $FreeBSD$ to its usual place after the CSRG id.
Fixed some style bugs for cam (superflous umask and missing newline).

Fixed bogons for apm.  The pattern "apm*" matched too many things; apm
and apmctl were both made twice by `MAKEDEV all'.  Hopefully no one
depends on `MAKEDEV apm0' making apm or on `MAKEDEV apm' making apmctl.
1999-12-26 15:24:58 +00:00
Brian Feldman
1d1811b172 Remove all vestiges of /usr programs (awk, sed, grep...) from MAKEDEV.
MAKEDEV can now run (with /sbin/chown and /bin/chgrp, still) without
any /usr.  The default PATH for MAKEDEV is now "/sbin:/bin" to prevent
against further spammage of /usr programs in MAKEDEV.  In the event
of an emergency, the variable "MAKEDEVPATH" can be used to replace
PATH, but I don't know what that emergency could be.
   Let me know if you have any problems.  I've tested it as well as
I could, which basically means everything except for RocketPorts.

Reviewed in principle by:	peter
1999-12-19 09:42:15 +00:00
Joerg Wunsch
204a8f7283 The target `all' evoluted into a kitchen-sink these days... It's no
longer really suitable as a default to create the various /dev nodes
to be contained on the fixit floppy, since all our proud new devide
nodes finally made the fixit floppy run over...

So instead create a new target titled `fixit' which creates just the
dev nodes for a single unit per each default driver; whoever needs
more of them is free to create whatever he needs, perhaps after
killing unused nodes before.  There were more than 700 /dev nodes on
the floppy before that action, and it's still around 350 now.  I doubt
all the various /dev/ugen* entries are really useful on such a tool,
so people, please check, and if you feel like more could be eliminated
from that floppy, kill'em.

While i was at it, removed traces of ft(8) that still survived even
though the driver has long since been dead.

That's step #1.  #2 will follow...
1999-12-14 22:36:03 +00:00
Mike Smith
cd052235cd As promised long ago, remove the last evidence of the 'sd' driver.
SCSI disks are only known as 'da' now.
1999-11-27 21:17:02 +00:00
Poul-Henning Kamp
86e88eb492 Do not create bdev nodes anymore. Instead create cdev nodes with the
same names:

        rover# ls -l /dev/*wd0a
        crw-r-----  1 root  operator    3,   0 Nov 26 20:20 /dev/rwd0a
        crw-r-----  1 root  operator    3,   0 Nov 26 20:20 /dev/wd0a

Notice: Over time, no earlier than FreeBSD 5.0, the "r*" names may
be discontinued.  A fair number of programs and scripts need to
(un)learn some tricks before then.

This will take no effect until you either run MAKEDEV by hand or
reinstall your system.

WARNING:  Kernels older than approx November 22 will not be happy
about a /dev created with MAKEDEV after this commit.  Please update
your /kernel.good etc.
1999-11-26 20:45:26 +00:00
Nick Hibma
efb9fba1e1 Make the devices for the endpoints 0-15, not only for 0. This creates
ugen0 and ugen0.1 - ugen0.15, not only ugen0 (control endpoint).
1999-11-24 21:05:59 +00:00
Poul-Henning Kamp
d21c76f6ef Remove /dev/drum 1999-11-24 19:14:11 +00:00
Poul-Henning Kamp
a886b6851f Remove leftover reference to the "od" devices. 1999-11-24 19:07:31 +00:00
Nick Hibma
bdf1e3f204 Add the entry for usb (as opposed to usb<number>). It's minor is equivalent
to usb255 and will be used for the event queue of the usb daemon.
1999-11-17 23:02:34 +00:00
Søren Schmidt
2e43037a03 cleanup the IDE cases a bit, add the ad driver to the all: target. 1999-11-09 12:53:01 +00:00
Nik Clayton
7444245a73 Document the ch* devices.
PR:             docs/14401
Submitted by:   Crist J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
1999-11-01 19:45:59 +00:00
David E. O'Brien
a6f694bda1 Fix ownership of /dev/fd/*. We still had a bin:bin hangover from pre-3.0.
Noticed by:	bde
1999-10-30 07:00:13 +00:00
Brian Somers
ae409c2b97 Fix ``MAKEDEV acd''
Spotted by: Mark Knight <mkn@FreeBSD.org.uk>
1999-10-15 16:20:58 +00:00
Justin T. Gibbs
118b8f31d3 Remove references to the od driver. These devices are no attached by
the da driver and using the same major/minor scheme with the old name
only leads to confusion.

PR: misc/14279
1999-10-12 15:51:58 +00:00
Peter Wemm
41c2fcf401 remove ipl hooks 1999-10-10 15:13:48 +00:00
Mike Smith
dbb1a3463c Add entries for the 'amrd' and 'mlxd' disk nodes used by the AMI MegaRAID
and Myles drivers respectively.
1999-10-07 02:37:04 +00:00
Poul-Henning Kamp
589dd32c10 Add support for md driver.
sort some comments
1999-09-21 11:11:26 +00:00
Bruce Evans
c0d43b32c1 Fixed some disordering (mainly of case lists for disks).
Fixed bitrot in the `wcd*)' case.
1999-09-13 16:15:58 +00:00
Sheldon Hearn
321704296f Apply a consistent style to most of the etc scripts. Particularly, use
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by:	Doug Barton <Doug@gorean.org>
1999-09-13 15:44:20 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Masahide MAEKAWA
509dbe19d2 added usb0 to 'all' target for usbd(8) 1999-08-21 18:01:42 +00:00
Sheldon Hearn
a0c6c4d6ce Use a colon (:) instead of a period (.) to distinguish the group name
from the user name when using chown(8).

PR:	13157
Reported by:	Patrick Powell <papowell@astart.com>
1999-08-16 16:00:23 +00:00
Mitsuru IWASAKI
701279af09 Put apmd configuration and rc files in /etc.
Update some files for apmd.
1999-07-10 18:02:42 +00:00
Poul-Henning Kamp
4466b0f0ab Add a pseudo target called "jail" which DTRT for a jail(2)'ed /dev 1999-07-09 21:35:17 +00:00
Sheldon Hearn
68d0ed40e4 Fix typo in previous commit.
Reported by:	bde
1999-07-09 13:37:59 +00:00
Sheldon Hearn
60c29c409f Add the pps (Pulse per second timing interface) device.
PR:	12568
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1999-07-09 12:52:04 +00:00
Bruce Evans
c65e877457 Removed bogus quotes in descriptions of disk devices. Only "Winchester"
disk devices are so-called.
1999-07-07 12:00:42 +00:00
Mike Smith
6af3ef182b Add support for the 'ida' driver. 1999-07-05 09:18:57 +00:00
Jordan K. Hubbard
f667e26eed Bump the number of vtys created to compensate for new demands created
by /etc/ttys.

Forgotten by:   des
1999-07-05 08:39:00 +00:00
Poul-Henning Kamp
9992be1a37 Fix my DOC2k CHRDEV goof 1999-05-29 19:36:55 +00:00
Hellmuth Michaelis
3172992e9d Fix i4bteld entry, the section of the sh case for "i4teld*)" should be
BEFORE the case for "i4tel*)". (match the longest prefix first!)
Recognized by: Harry Starr
1999-05-24 18:01:03 +00:00
Hellmuth Michaelis
80037d6e9e upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
Tatsumi Hosokawa
b1e24098cc added card1 and card2 to 'all' target.
(for machines with more than two PC-card slots)
1999-05-04 17:03:58 +00:00
Peter Wemm
7c01dc0998 Zap default creation of /dev/lkm - it doesn't point to anything anymore 1999-04-24 20:57:39 +00:00
Mike Smith
466cab62de Make the USB devices by default, comment them. 1999-04-08 21:23:18 +00:00
Søren Schmidt
d99434fb80 Rewert the atapi CDROM driver's name to wcd.
This is to avoid confusion with the new system.
Also provide real entires in MAKEDEV for the new system.
1999-03-16 13:34:03 +00:00
Justin T. Gibbs
b2f2e3bbdb Add targ.ctl, a device node for allocating and configuring instances
of the "targ" processor target target mode emulator.
1999-03-05 23:08:45 +00:00
Roger Hardiman
69c9ce13b9 Put back the bktr update to generate /dev/vbi
which I managed to delete yesterday.
1999-03-02 16:04:27 +00:00
Roger Hardiman
ba2e7a498e Updated the bktr entry to generate bktr*, tuner* and now vbi*
/dev/vbi will allow vbi capture from the bt848 card for software
teletext decoding.
1999-03-01 12:13:24 +00:00
Roger Hardiman
ad0677d4f0 Updated the bktr entry to add vbi*
bktr now makes bktr, tuner and vbi
1999-02-26 16:14:22 +00:00
Nick Hibma
089b18c205 Change to a proper numbering scheme for the ugen device. It requires
a unit and endpoint number. This is combined into a minor number.
The naming of the devices in /dev is now /dev/ugen<unit>.<endpoint>
1999-02-18 21:17:16 +00:00
Jordan K. Hubbard
905c3aead2 DTRT for acd/wcd backwards compatibility 1999-02-14 19:41:36 +00:00
Matt Jacob
7f897c3ce4 Bruce gently nudged me into doing this right 1999-02-05 22:54:37 +00:00
Matt Jacob
c5145ee62d add back ctl for sa and add more units 1999-02-04 20:35:07 +00:00
Mark Murray
7582c823d5 Replace a bunch of "ln foo bar"'s with "ln -f foo bar".
This means that if(when) you go "sh MAKEDEV all" in /dev
the devices get remade; you don't get errors.
A lot of the changes are for info only; they are commented out.

Not exactly shot to pieces by:	bde
1999-01-24 13:51:26 +00:00
Nick Hibma
fa99797979 Take cdev major # 114 for ugen 1999-01-12 01:31:13 +00:00
Nick Hibma
34dced2c1a Added file handling to ulpt (USB printer) driver 1999-01-11 00:03:59 +00:00
Hellmuth Michaelis
c999877cc4 add generation of ISDN (i4b) devicefiles 1999-01-08 16:03:57 +00:00
Kazutaka YOKOTA
9620286730 Added kbd*. 1999-01-06 16:18:05 +00:00
Nick Hibma
0d3c3d3942 Corrected the major number for usb and added ums as major 111 1999-01-03 16:48:03 +00:00
Nicolas Souchu
d551f05381 Arrg, ppi*) corrected 1998-11-12 22:48:16 +00:00
Nicolas Souchu
5f3f114afa Add ppi*) iic*) and smb*) 1998-11-12 22:45:24 +00:00
David E. O'Brien
255e0e14be Backout rev 1.175. 1998-10-31 05:27:02 +00:00
David E. O'Brien
5b3ac95f28 ``MAKEDEV ccd3'' is now consistant with many of the other devices in that
*ccd{0,1,2}* will be created.
1998-10-30 06:02:48 +00:00
David E. O'Brien
ff51c4f27c ``MAKEDEV bpf3'' is now consistant with many of the other devices in that
bpf{0,1,2} will be created.
1998-10-29 22:16:29 +00:00
David E. O'Brien
2795f965bb Re-enable creating sd*s* devices.
Add note, that one should use da*s* however.
1998-10-02 22:33:52 +00:00
Kenneth D. Merry
90377c4bc7 Change the permissions for the transport layer (xpt) and passthrough (pass)
devices from 644 to 600.

Reviewed by:	imp, gibbs
1998-09-16 00:10:26 +00:00
Justin T. Gibbs
712f3941ea Update for CAM. 1998-09-15 10:21:35 +00:00
Poul-Henning Kamp
efc22bbdd3 make the fla stuff actually work. 1998-09-10 18:47:20 +00:00
Søren Schmidt
e778b30d48 Add the wst device (ATAPI tape)
Allow 8 wcd devices instead of 4.
1998-09-09 18:59:46 +00:00
Poul-Henning Kamp
885dc3a91a A long time ago, in a galaxy far, far away, someone made the (bonehead)
decision to limit the sound driver to one device.  With Luigi's pcm
driver, the unit number for the PnP detected cards is nearly always 1,
and so you can't create the symlinks that will make your sound work.

PR:		7564
Submitted by:	Doug White <dwhite@resnet.uoregon.edu>
1998-08-14 06:21:34 +00:00
Poul-Henning Kamp
190693af18 Add devices for M-systems DiskOnChip 1998-08-10 10:17:46 +00:00
Brian Somers
7931ccb86a dgm uses devices cuaM* and ttyM*
Submitted by:   "IBS / Andre Oppermann" <andre@pipeline.ch>
1998-08-04 21:45:20 +00:00
Dag-Erling Smørgrav
bb2d4c7e76 Not so fast, that was one '0+' too many.
PR:		7124
1998-07-03 15:43:20 +00:00
Dag-Erling Smørgrav
dfcb23c332 Make sure the node count is an integer when mknod'ing pty, tty and vty.
PR:		misc/7124
1998-07-02 07:39:01 +00:00
Peter Wemm
70dd0b6188 Hmm, silly me. I should have read what everything else was doing.
The initial/lock devices for cua are owned by uucp.dialer as well.

Also, remove redundant chmod on si_control
1998-03-27 04:35:10 +00:00
Peter Wemm
3eddd15d49 Fix permissions on initial/lock specialix cua device nodes.
PR: 6137
1998-03-27 04:19:30 +00:00
Peter Wemm
420cfceb6b I misunderstood Bruce's hint. The chown/chmod are unneeded.
Submitted by: bde
1998-03-22 13:18:07 +00:00
Peter Wemm
45c404388e Fix alphabetical ordering and and excessive cut/pasting.
Submitted by: bde
1998-03-22 11:42:03 +00:00
Peter Wemm
edf346c404 /dev nodes for ipfilter 1998-03-21 14:26:02 +00:00
Bruce Evans
97f5477490 Improved comments and order for the `all' case:
- fixed comment about vn0.
- improved other comments.
- sorted lists alphabetically within lines.
- split up and sorted lines more logically.
1998-03-12 12:00:26 +00:00
Steve Price
eff98671a6 Create the cuaiA* and cualA* devices.
PR:		5872
Submitted by:	Adam Baran <badam@mw.mil.pl>
1998-03-01 22:18:28 +00:00
Amancio Hasty
fd4bd521b8 Reserve Major device 92 for the bktr (Bt848 video capture driver) 1998-02-20 03:59:53 +00:00
Mike Smith
a2ea470e7b Remove qcam entries
Submitted by:	pst
1998-02-18 13:54:45 +00:00
Jordan K. Hubbard
1a4a509dbb New rocketport device entries, merged again (gack). 1998-02-17 15:28:29 +00:00
Paul Traina
2e1e3ab060 Change wfd major block device to 1 as part of the effort to make wfd's
bootable.
1998-02-13 22:40:32 +00:00
Chris Timmons
c601e62cb3 Adjustments for ccd devices:
1) Resulting special files now in group operator.  (Reviewed by bde)
2) Use $disk_umask when creating ccd device specials.  (Suggested by
   bde)
3) No longer create rccd{n}.ctl; ccd's are not necessarily scsi.
   (Suggested by bde)
4) No need to split short lines.  (Suggested by bde)
1998-02-09 08:41:49 +00:00
Jordan K. Hubbard
5dcabf2d07 Add wfd to all target, reorder devs to put like with like since we lost
all pretense of an alphabetical ordering some time back.
1998-01-22 21:26:22 +00:00
Paul Traina
aaf862068b Bring in IDE ATAPI floppy support.
This is Junichi's v1.0 driver.

NOTE: Major device numbers have been changed to avoid conflict with other
      FreeBSD 3.0 devices.  The new numbers should be considered "official."
      This driver is still considered "beta" quality, although we have been
      playing with it.  Please submit bugs to junichi and myself.

Submitted by:	junichi@astec.co.jp
1998-01-16 22:13:07 +00:00
Steve Price
62778de06e Fix generation of Comtrol RocketPort devices.
PR:		5468
Submitted by:	Steve Gericke <steveg@comtrol.com>
1998-01-09 18:32:51 +00:00
Jordan K. Hubbard
432ce8f092 strengthen mknod().
Submitted by:	bde
1998-01-03 11:53:52 +00:00
Jordan K. Hubbard
5c986ed210 Fix jkh typo in VTY rule.
PR:		5411
Submitted by:	Brian Tao <taob@netcom.ca>
1998-01-02 22:16:15 +00:00
Jordan K. Hubbard
26b044dc2e Normalize default owner/group handling, fix bogons in a couple of
printf arg lists.
1997-12-29 09:45:23 +00:00
Jordan K. Hubbard
d0cc10a88b Yet another slight bogon that I just noticed needed cleaning up. The for
loop was sloppily written, taking advantage of a default for argument
handling which few are probably aware of rather than stating its purpose
more explicitly.  Can't also help but notice that the fd* entry also contains
far more comment lines than actual statements - can we please clean that
up?  The wt* entry could use a bit of the same.
1997-12-29 00:10:20 +00:00
Jordan K. Hubbard
0259912885 Whoops - one small tweak: I eliminated the deprecated isdn case,
so also remove mention of it in the comments.
1997-12-29 00:03:36 +00:00
Jordan K. Hubbard
62f6fce717 Remove all explicit rm's (with and without wildcards) and replace them
with a function which does the rm/mknod in one step, eliminating the
gratuitous device node removal behavior of before.

Reviewed by:	bde
1997-12-29 00:02:18 +00:00
Brian Somers
867ca4ed97 The ``super scsi'' device is /dev/scc.
I'm not sure it's fully functional though !
1997-12-19 14:14:26 +00:00
Jordan K. Hubbard
f9e0c4246c Add entries for Comtrol Rocketport driver.
Submitted by:	Amir Farah <amir@comtrol.com>
1997-08-28 12:14:14 +00:00
John-Mark Gurney
94021764b0 add a bktrX target (for Bt848 based cards) 1997-05-11 00:34:36 +00:00
Daniel O'Callaghan
8a96b3a58d Update MAKEDEV to handle lots of tun devices, consistent with the tun device
selection code in usr.sbin/ppp/os.c (tun0-tun127, rather than tuna and tunb).
Also, make it make all devices up to and including the requested one.
1997-03-10 02:10:58 +00:00
Joerg Wunsch
7030cda054 Now that we can read from a worm device, handle their permissions as
we do for other disk devices, too.
1997-03-05 14:04:00 +00:00
Bruce Evans
01645cb5c9 Merged Cortex frame grabber entry from 2.2. 1997-03-03 16:13:35 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00