Commit Graph

378 Commits

Author SHA1 Message Date
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
Doug Rabson
f92f33e090 Doh! Change the correct version of disktab and backout the change to
the i386 disktab.
1998-10-06 12:42:55 +00:00
Doug Rabson
c51b835505 Add a 2880k disk prototype for building MFS install images. 1998-10-06 12:06:43 +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
Brian Somers
a19eda1f28 Add Id keywords 1998-09-02 01:34:57 +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
Poul-Henning Kamp
ee67ce3672 modstat | grep _saver is used to determine if a screensaver is loaded
already. The modstat output goes to the screen.
PR:		7351
Reviewed by:	phk
Submitted by:	Jos Backus <Jos.backus@nl.origin-it.com>
1998-07-22 05:38:58 +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
John Birrell
aec120dd4b Moved from directory above. It is i386 specific. 1998-05-16 21:29:17 +00:00
Andrey A. Chernov
0c168a81b5 Cosmetique changes in vidcontrol all screens knob 1998-04-02 15:33:49 +00:00
Andrey A. Chernov
1d060622ba Implement vidcontrol knob which allows to set passed flags/modes
for all virtual screens (via for loop)
1998-04-02 15:17:52 +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
Jordan K. Hubbard
bb6531b760 New moused flag.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-07 09:02:08 +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
4ba534c963 DTRT with ${viddev} in the same way as the other vidcontrol entries.
Reminded by:	bde
1997-09-14 12:16:36 +00:00
Jordan K. Hubbard
6ae8628b06 MF22: If moused started, also enable it for console vty.
PR:		4525
1997-09-13 18:03:41 +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
Peter Wemm
0c3af3413e fix rndcontrol invocation.. rndcontrol has the irq after a -s switch, not
just the next argument.  We really need to be able to tag drivers with
their randomness "suitability" so that this can be more automatic.  It
would be nice if all suitable drivers registered their irq automatically,
but still allowed them to be turned on/off etc.
1997-07-06 07:19:14 +00:00
Mark Murray
c8ef8908eb Correct the way IRQs are passed to rndcontrol. If there are more than
one IRQ being used, the -s options must be specified for each of them.
In this case rc.conf would only allow 1, as the -s was coded into
rc.i386.
1997-06-02 06:43:52 +00:00
Jordan K. Hubbard
fbd31922cd YAMF22 1997-05-27 07:17:12 +00:00
Jordan K. Hubbard
919d435ace Neaten up some things which were inconsistent, add a few more flags
to things which need them, general cleanup.
Submitted by:	Brian Somers <brian@awfulhak.org>
1997-05-19 07:46:51 +00:00
John-Mark Gurney
94021764b0 add a bktrX target (for Bt848 based cards) 1997-05-11 00:34:36 +00:00
Jordan K. Hubbard
0862a4aff9 Update the etc world from RELENG_2_2 which is now more up-to-date
(gotta get myself -current again, this is a drag).

Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch
1997-05-03 11:22:17 +00:00
Jordan K. Hubbard
675a840372 YAMF22 1997-04-28 10:07:21 +00:00
Jordan K. Hubbard
4a2d437732 YAMF22 1997-04-28 05:51:57 +00:00
Jordan K. Hubbard
524a1478c8 Bring in rc file changes from -current. 1997-04-27 03:59:19 +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
Julian Elischer
0336b6019b add a disktab entry for those people who need abit of help
with ZIP drives..

use with:
disklabel -r -w -B sdx zip100

Submitted by:	dave blizzard <dblizzar@sprynet.com>
1997-02-10 10:11:54 +00:00
Jordan K. Hubbard
d243e2f7f4 1.2 -> 1.44MB floppies. 1997-02-09 23:17:50 +00:00
Joerg Wunsch
94e7483c11 Add worm(4)'s bdev entry. 1997-02-06 22:23:26 +00:00
Bruce Evans
def920e3ec Use shifts instead of multiplications and |' instead of +' to simplify
dkminor().  Use $((1 << 29)) instead of a mysterious decimal number for
$scisctl.  Use dkminor() instead of repeating part of it for special cases.
Shortened some long lines.
1997-01-27 06:24:10 +00:00
David Greenman
ac9e2a2511 Change to use some unused bits in the 'type' field to extend the unit field
to 9 bits (512 units) for disk devices.
1997-01-24 22:00:35 +00:00
Jordan K. Hubbard
5bdab685d1 As /etc/sysconfig and /etc/rc.i386 is now, you can't modify the syscons
bell type on boot. Slightly annoying when your system doesn't have a speaker.
This adds a `keybell' frob for setting it.  Closes PR#2519

Submitted-By: Jonathan Mini <mini@hydrogen.nike.efn.org>
1997-01-24 10:12:45 +00:00
Joerg Wunsch
3e92fe3bd3 by popular request I submit the following disktab entry for inclusion in
/etc/disktab

Submitted by:	lada@ws2301.gud.siemens.co.at (Hr.Ladavac)
1997-01-17 23:06:25 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Nate Williams
6cebb6a689 Added apm and card[01] devices to all target.
Suggested by:	bde
1997-01-13 17:37:20 +00:00
Joerg Wunsch
513a014830 While being here, also create all the gsc device nodes as described in
the gsc(4) man page, and allow for more than one unit number.
1996-12-30 20:51:36 +00:00
Jordan K. Hubbard
0b3870cb60 Close PR#2198:
I've added an installation from optical disk drive facility.
	This enables FreeBSD to be installed from an optical disk, which
	may be formatted in "super floppy" style or sliced into MSDOS-FS
	and UFS partitions.

	Note:  ncr.c should be reviewed by Stefan Esser <se@freebsd.org>
	and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this
	into 2.2.

Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
1996-12-13 07:55:14 +00:00
Andreas Klemm
fda1c610e8 Added $PATH to the end of PATH. Otherwise the command 'expr' can't be
found by the shell when running MAKEDEV from the fixit floppy environment.
1996-11-14 14:28:26 +00:00
Jordan K. Hubbard
190cca38e9 Add an entry for minimum - that's a lot easier. 1996-11-09 09:23:09 +00:00
Bruce Evans
ce5636f791 Fixed cualc and cualD minor numbers which I broke in the previous commit. 1996-11-01 08:49:13 +00:00
Bruce Evans
fab5b1c43d Restored order of cuac above ttyc.
Fixed some style bugs for cua* and tty*.

Removed superfluous chmod for consolectl.

FIxed a tiny security bug for perfmon and changed the style for
perfmon to match the style of the non-std devices.
1996-10-25 15:01:33 +00:00
Stefan Eßer
d018c1a988 Add character device (78,0): pci
Submitted by:	wollman
1996-10-22 20:41:03 +00:00
David Greenman
4364e32501 Changed ttyc? and cuac? specifications to support multiple controllers.
A "MAKEDEV ttyc0" now creates 32 units for controller 0, ttyc1 for
controller 1, etc..
1996-10-13 01:12:01 +00:00
Andrey A. Chernov
02601dae20 Remove sleep before moused, problem fixed with new consolectl device 1996-09-09 19:59:14 +00:00
Søren Schmidt
a41cbc45be Fix for the problem that moused hangs if it is started from /etc/rc
Introduces the /dev/consolectl device for controlling various
console related things (given syscons is used).
1996-09-09 18:47:47 +00:00
Andrey A. Chernov
d71651da35 Use the same perm/owner for sysmouse as for others mouse devices 1996-09-09 00:02:44 +00:00
Andrey A. Chernov
814c1905ad Make sysmouse device for syscons 1996-09-08 23:56:27 +00:00
Andrey A. Chernov
87dc1283f8 Make moused actually work:
add sleep 20 before moused starts.
It allows all getties to activate screens.
1996-09-07 19:04:48 +00:00
Wolfram Schneider
c4a87a6a59 update comment for tun*
add comment for snp*
1996-07-02 23:11:06 +00:00
Andrey A. Chernov
97f6903efd Add moused hooks (OFF by default) 1996-06-23 20:54:42 +00:00
Andrey A. Chernov
62d543821c IDE cd fixes:
wcd?a is missing
wrong partition number was used for wcd?c
1996-06-07 15:47:15 +00:00
Satoshi Asami
a388db6b9e Bring in ccd support.
Entry to create ccd devices.
1996-05-03 05:37:34 +00:00
Jordan K. Hubbard
582af1726d Add wcd0 to `all' target. The fate of the IDE CDROM support in 2.2
is becoming clearer.. :-)
1996-05-02 09:15:57 +00:00
Garrett Wollman
a98d68cf25 Provide for creation of /dev/perfmon. 1996-03-26 21:04:54 +00:00
Jordan K. Hubbard
9ab75783da Fix Nate's spamming of this file - every backquote needs a matching one.. :-) 1996-03-19 03:48:53 +00:00
Nate Williams
3b9fa99df2 Added some comments regarding the apm device, and added support to
create the PC-CARD devices.

Note: The APM character special device is named /dev/apm and not apm0 as
was prvioiusly since only one APM device can exist in a system at a time
according to the the APM specifications.
1996-03-18 20:28:27 +00:00
Paul Traina
869fc587ed Add support for Connectix QuickCam(tm) 1996-02-02 19:25:24 +00:00
Mike Pritchard
440cac3e51 Another round of spelling fixes. 1996-01-31 15:03:18 +00:00
Bruce Evans
6a188c276a Use umask disk_umask=037 for all (writable) disks. Use umask
tape_umask=017 for all tapes.  This has a significant effect only
for ft and st (they were created with the wrong umask 002 and then
chmod'ed to mode 640; now they are created with mode 660).

Chmod the st control devices (mode 3) to 600.  These need to be
more secure than the st i/o devices, but were less secure.

Use the default umask of 077 for joy0.  002 gave mode 664, which
is insecure.

Use umask 037 for ch*.  Cosmetic.

Removed redundant chmod's.

Sorted case lists for disks.
1996-01-28 19:10:37 +00:00
Jordan K. Hubbard
9372c90cc2 Add an entry for MTA-3230 3.5" magneto-optical drives.
Submitted by:	jbryant@argus.flash.net
1996-01-15 13:17:52 +00:00
Joerg Wunsch
0ac727259c Restrict /dev/io perms to 0600. 1995-12-31 09:30:30 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Mark Murray
7d2bdadb5b Move the creation of the *random devices to the same "target" as the
rest of the memory group - std. Also correct the permissions so as not
to force a security hole. If /dev/*random have the permission 640 and
ownership bin.kmem, it forces applications that need random numbers
to be at least SGID. Picture the scene of a SGID PGP being able to
read /dev/kmem!
1995-12-03 17:26:21 +00:00
Garrett Wollman
c7704e9ce0 Uniformize startup display to follow style of all the others. This means
in particular getting rid of most of the goop that causes syscons options
to be spread out over four separate lines.
1995-11-29 20:40:36 +00:00
Mark Murray
a2c9d3c290 Fix stupid typo.
Pointed out by: Mark Valentine
1995-11-14 06:24:00 +00:00
Mark Murray
cceb2049b4 OOps, nearly missed this bit. Add the call to rndcontrol to set the
chosen interrupts for the entropy gathering  in /dev/random.
1995-11-13 21:33:04 +00:00