Commit Graph

81 Commits

Author SHA1 Message Date
jkh
2fbf3422ed Fix apm and gsc rules to allow <blah>0' or just <blah>' to be shorthand.
[Actually, it's `<blah>*' but I'm not telling anyone]
1995-03-21 06:31:00 +00:00
ache
203c57da8b Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
bde
0fcaf7139a Clean up white space. 1995-03-12 15:25:32 +00:00
dufault
9b4b6386ec Noticed by: Nate
Fixed the MAKEDEV pattern for SCSI processor type driver so it doesn't
screw up ptys.  Does anyone want to suggest a better name than "pt0" for
SCSI processor devices before 2.1?
1995-03-11 12:07:57 +00:00
dufault
75d2a55de3 Add processor and worm drivers 1995-03-04 20:54:24 +00:00
bde
03e0899381 For sd, vn and wd:
Support sliced devices better.  E.g.:
`sh MAKEDEV sd0' creates [r]sd0 and [r]sd0s[1-4] as well as [r]sd0[a-h]
(the extra devices created by default won't hurt apart from wasting inodes).
`sh MAKEDEV sd0s1[a-h]' creates [r]sd0s1[a-h] (any partition creates all).
`sh MAKEDEV sd0s5' creates [r]sd0s5.

Support unit numbers 0-31 (was 0-6).

For wd:

Remove support for creating DOSpartitions wd*[i-m].  These will get removed
if you run MAKEDEV on `all' or on wd*.
1995-03-04 12:22:14 +00:00
jkh
b31a4ac53d Add Matsushita CDROM device entries.
Submitted by: Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-03-02 04:11:47 +00:00
ache
2c783960a6 Cleanup device names, add more devices for Linux sounddriver 1995-02-27 18:54:27 +00:00
joerg
f148c03229 Allow tty0? to be an alias for tty? when creating the dev nodes.
People tend to be confused unnecessarily otherwise.
1995-02-24 19:26:59 +00:00
jmz
48e2735922 Change permissions and ownership of joystick device files. 1995-02-22 23:52:58 +00:00
bde
5395aa40b4 Fix some bogus and missing chowns:
444 -> root.wheel
root -> root.wheel
uucp -> uucp.wheel (perhaps this should be .dialer, but .wheel is safer)
missing -> root.wheel

chown to root is usually bogus because mknod had to be run by root to
create the inode.  Setting the group explictly is currently necessary
because MAKEDEV does nothing to ensure that its working directory has
a suitable group.

Driver authors!  Please fix any bogons in MAKEDEV that involve your
drivers.  The sound devices are still world writable...
1995-02-17 12:32:34 +00:00
bde
519080d6b6 Adjust for rearranged slice numbers. Only create partitions on slice 0
for now (there are too many minors to create by default).  The special
sliced disk case ssd*|svn*|swd*) can almost replace the standard disk
case sd*|vn*|wd*) now (it just creates a few more devices), but there
will have to be special cases to allow creating slices 6-31 and partitions
on slices 2-31.

Fix bogus default cases.
1995-02-16 16:03:29 +00:00
jkh
86c5f007ce Add device entries for ISDN driver. 1995-02-14 23:48:05 +00:00
ugen
1538491f9d Added /dev/snp? entry.. 1995-02-14 21:13:14 +00:00
bde
b05d6b2adc Add chowns for pty's, ttyv's and ttyd's. Correct the chown for lptctl's.
The group was wrong if MAKEDEV was run in a directory with group other
than wheel.  This may have messed up the group in recent SNAPs
(sysinstall/obj should have group bin).

Reset the umask to 77 after running MAKEDEV.local.  Some cases depend on
the 77 default.  MAKEDEV.local and all cases should probably set the
umask explictly and not depend on a default.  Most cases already set it.
1995-02-10 20:08:25 +00:00
jkh
05810ff0ed Device entries for >32 PTYs.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:10:02 +00:00
jkh
5d2cd114db Video Spigot entries.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-07 12:07:18 +00:00
jkh
9b15d8ef61 Add tun to list of devices.
Submitted by:	mr
1995-02-01 23:15:11 +00:00
jmz
152d1bd214 Add joystick 1995-01-25 21:21:28 +00:00
jkh
7acc81dc27 Gunther Schadow <gusw@fub46.zedat.fu-berlin.de>'s
driver for the Genius GS-4500 hand scanner.
Submitted by:	gusw@fub46.zedat.fu-berlin.de
1995-01-07 14:52:08 +00:00
ats
4dcc6483b0 Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
bde
4b9c4e466a Add support for sliced disk devices ssd*, svn*, swd*. The `s' at the start
of these names is so that they can be distinguished in MAKEDEV until the
non-sliced devices go away.
1994-12-16 15:59:44 +00:00
ache
3772939b8c Fix wrong regexps 1994-12-08 00:44:55 +00:00
ache
9eb8d28049 Fix wrong unit=expr for tty? cua? 1994-12-06 23:06:10 +00:00
bde
bc0e9de8d2 Name the serial ports tty* and cua* in comments. ttyd* and cuaa* don't
match all the port names.

Start using shell functions to avoid duplication.

Make tty* independent of cua*.  Restore support for old names (tty0 ==
ttyd0, cua0 = cuaa0...).

Restore making of lpt1 and lpt2 by default.

Keep umask 077 for making vty*.  World-ioctable vtys are huge security holes
because of bugs in syscons.

Make vga if a vty is made.  It may still be required for X.  It got nuked
with pc*.

Start using umask consistently to avoid using chmod.
1994-12-06 19:50:17 +00:00
ache
c45aabace0 Remove yet one pccons-related comment 1994-12-04 23:50:40 +00:00
ache
dafd331078 New serial naming convention, remove tty0?, change cua0? --> cuaa?
Remove pccons stuff, we don't have it.
1994-12-04 23:48:38 +00:00
phk
58b2cf4ed5 Added vn*, doing the same thing as sd* and wd*. (Disklabel support will
be added to the vn driver).
1994-12-04 20:15:15 +00:00
jkh
69bb6a6b41 Add back the Croynx stuff I nuked accidently. I'm not touching this
file anymore after this.  My link makes it too painful to make
interactive mods, and I don't have the CVS tree here so making changes
for "previous history" have to get done on freefall, with the corresponding
degree of pain.
1994-12-03 14:01:01 +00:00
jkh
d7649fc477 Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
wollman
35374ac0be Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
jkh
5a68a901c1 |From: Keith Walker <kew@timesink.spk.wa.us>
|Message-Id: <199412011713.JAA03374@timesink.spk.wa.us>
|To: jkh@whisker.hubbard.ie
|Subject: A little problem with MAKEDEV
|
|For a while now, MAKEDEV's been kinda neat: you create the cua* files,
|and it deletes the tty* files; you create the tty* files and it
|deletes the corresponding cua* files. K00l! :-)

[Ed Note - I think this behavior was wrong, and this fix better].
1994-12-02 16:08:53 +00:00
ache
c890ff0027 Wrong raw device was created for cd/mcd: d instead of c 1994-11-12 15:48:54 +00:00
phk
4026933d05 /dev/apm should be /dev/apm0 1994-11-10 02:32:29 +00:00
phk
7df70f140b The last committer didn't know that '*' doesn't start a comment in shell's ???? 1994-11-02 06:36:42 +00:00
pst
125d6c349a Add kernel hooks for /dev/vatio -- a minimalistic BSD audio driver emulator
created by Amancio Hasty (specificly, this, in conjunction with his sound
driver mods for dual-mode DMA will allow VAT compiled for BSD/386 1.1 to
run under FreeBSD 2.x.)
1994-11-01 01:47:22 +00:00
phk
74265c3dfa fixed a typing error. 1994-10-29 10:03:37 +00:00
phk
c513529b1a Make devices for sd2 and sd3 too. If we have them in Generic, we should
have the devices too.
1994-10-26 01:30:47 +00:00
sos
885bdfae21 Added socksys device (for iBCS2 emulation) 1994-10-13 20:10:14 +00:00
dg
416758cb8c Added entry for apm device (needed for Advanced Power Management support). 1994-10-01 03:32:26 +00:00
rgrimes
2a0f9fb71c You must rm -f lkm before attempting to create it. 1994-09-30 07:33:42 +00:00
wollman
dd53ce8c4e Make /dev/lkm as a part of std'. Delete references to ancient com' driver. 1994-09-23 19:17:27 +00:00
phk
8956b2c26c Added wd2 and wd3 to the standard set. They are in GENERICAH, they can
be installed on, so they should be in /dev as well.

Removed the smoking remains of dcf*. I didn't realize that it had made it
into MAKEDEV.  Gone from cdevsw long time ago, gone from /dev now.
1994-09-07 21:35:52 +00:00
csgr
7b6e72a847 Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV:		remove all signs of lpa
			add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile	add lptcontrol
- sys/i386/isa/lpt.c	implement the LP_BYPASS flag: when a unit is
			opened with this flag set, the printer is
			not primed, and no check is made to see that
			the printer is online.  This can only be used
			to pass ioctls.  (giving us /dev/lpctl?)
- lptcontrol.c		use /dev/lpctl? (LP_BYPASS)
			-f flag removed, -u flag added
- lptcontrol.8		document changes in lptcontrol
			rewrite using mandoc macros
Submitted by:	Geoff.
1994-09-03 22:47:08 +00:00
jkh
98677b3c8a Fixes from Bruce Evans:
o insecure and inconsistent permissions for tape devices.
	o didn't make the DOSpartition wd devices.
1994-06-17 21:50:07 +00:00
ache
d342b6820c From Ache:
Add proper devices for new sio initial/locking mechanism
1994-05-30 03:53:01 +00:00
rgrimes
0ae9ac787d Fix all the sound devices to NOT have the absolute path /dev, the makes for
missing device files in releases!!
1994-05-21 08:55:52 +00:00
jkh
dcc3e629af Add 4 VTY's back to the list of things to create by default (the codrv
comments were obsolete), also create a PS/2 mouse entry.
1994-05-19 11:05:09 +00:00
ache
3abdfe3b03 Make dialout devices owned by uucp.dialer with 660 mode 1994-05-10 09:18:11 +00:00
sos
4d31872c3f device support for pcaudio added 1994-04-21 14:08:27 +00:00