Commit Graph

152 Commits

Author SHA1 Message Date
simonb
f5612134fc Remove trailing semicolons from lines that don't need them.
TABify many lines.
2002-03-13 01:26:54 +00:00
lukem
6b68804273 various cleanups inspired by etc.i386/MAKEDEV:
* use "ln -fs foo bar" instead of "rm -f bar; ln -s foo bar"

* remove unnecessary chown root or chgrp wheel directives; older code here
  didn't bother doing this, so why be inconsistent

* when making directories, don't use -p and don't redirect stdout to /dev/null

* clean up whitespace

* wrap the main parser code in a function makedev(), and call makedev
  instead of "sh $0". (this is a bit faster)

* don't barf when we have fdesc mounted; just skip the devices fdesc provides


(these files should really be automagically generated...)
2002-03-04 14:02:29 +00:00
atatat
681a706ec7 Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
2002-02-25 07:34:55 +00:00
martti
8f0fa118e2 Added ttyp[g-zA-Z] (bin/15594). 2002-02-13 09:46:01 +00:00
is
725d029d19 Remove INSTWDCPCM, because for a while now, GENERIC (and INSTALL) have
included both pcmcia support, and wdc instead of idesc as the driver for
the Amiga internal ATA connector.
2002-02-10 20:43:33 +00:00
tls
59b84cdaa8 Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
2002-02-02 20:58:43 +00:00
tls
1977a7b24e Add support for many more (930 or 992) ptys than the current 256.
Changes taken from the i386 MAKEDEV.  Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
2002-02-02 07:04:44 +00:00
abs
b537fda1d5 Move 'wscons' to directly after 'std'. Various MAKEDEVs had it pretty much
at the end, and as wscons (actually ttyE0) is required to login on the console,
it is probably better that an out of space MAKEDEV fail on some other device.
2002-01-21 16:19:17 +00:00
oster
e474b1951e Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices. 2002-01-19 18:59:17 +00:00
lukem
d5767e945e fix a couple of spelling mistakes in the i4b* descriptions 2002-01-08 02:46:10 +00:00
wiz
b83df16226 Standardize ch* and uk* descriptions. 2001-12-19 18:29:56 +00:00
wiz
864c94c933 Standardize scsibus* description. 2001-12-19 17:58:05 +00:00
thorpej
44f4566e1a Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
2001-11-29 22:45:53 +00:00
lukem
69c7349d44 fix mfs examples 2001-11-26 16:34:56 +00:00
augustss
8abd9b8182 Create wsmuxN and wsmuxctlN together.
Use separate nodes for wsmouse and wskbd.
2001-10-29 22:50:40 +00:00
mhitch
4d316af9ee Fix typo in md* device creation. 2001-03-21 20:59:35 +00:00
is
4a733c4de9 Device nodes for wscons. 2001-02-02 22:11:52 +00:00
martin
fd6a417d77 Group isdn devices, so "sh MAKEDEV isdn" will create them all.
Add apropriate entries to the archs that already have isdn support
enabled in their cdev array.
2001-01-08 06:21:19 +00:00
tsutsui
90ac46632d Make md(4) device files on "all" target. 2000-10-29 13:03:37 +00:00
is
eefbc5a70e When building a release, build miniroot and installation notes automatically,
too. Patch by Michael Hitch.
2000-09-17 19:04:39 +00:00
is
e2f977d871 Add smaller install kernels. 2000-08-29 21:14:31 +00:00
mason
ee4a3af175 This should be the final part of moving to 64 PTYs by default. Added
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.

Thanks to Matthew Green for pointing out the need.
2000-08-12 13:43:40 +00:00
mason
db8e04e0f8 Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
2000-07-27 18:43:14 +00:00
is
72f77e9fb3 Build the miniroot, too, when building the release. 2000-03-06 21:54:05 +00:00
aymeric
94bfb48ec9 add missing semi-colon 2000-02-09 22:23:32 +00:00
mhitch
4f7848e09f Add IDE wd* devices for MI wdc support. 2000-02-01 05:26:12 +00:00
tsutsui
cac7cebd3e - rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
2000-01-21 12:28:22 +00:00
tsutsui
e2c4e62e16 Correct md* entries. 1999-12-18 03:09:44 +00:00
ad
652f0f8841 Back out previous 1999-10-18 22:41:23 +00:00
ad
993ac32fff Final chown user.group -> chown user:group changes. 1999-10-06 22:26:14 +00:00
hubertf
018c7b4f42 Tidy up comments a bit, to make the manpages generated from the a bit
nicer. Also, add a comment on how to re-generate the manpages if the
MAKEDEV file was changed.
1999-09-18 00:23:35 +00:00
is
4f2d454a07 Synchronize comments with reality. 1999-09-15 20:31:53 +00:00
is
f9a2f82b87 Add off entries for serial boards 1999-08-25 20:53:15 +00:00
is
193cb891af switch ttye* off, and switch /dev/console on.
This way:
- screenblank works
- we don't need to change ttys just to get console login working.
1999-08-25 20:37:10 +00:00
is
c889455b1c Add 4 lpt nodes 1999-05-11 20:45:38 +00:00
cjs
7d1e96cc2f Update all this crap so that `make snapshot' makes snapshots in release(7)
format, rather than in some unknown format. Also clean up the code a bit,
remove some code duplication, and add documentation to the Makefile.
1999-02-05 03:01:49 +00:00
frueauf
15cbf62c66 Remove double line for bpf[0-3]. 1999-01-26 12:49:24 +00:00
abs
a6e0ab6a8c On platforms that have GENERIC kernels containing 'bpfilter 8' or greater,
create at least eight bpf dev entries. (All except atari).
1999-01-16 01:40:27 +00:00
oster
8bfd722a35 Added RAID devices for everyone! 1998-11-13 04:49:01 +00:00
thorpej
7490553d67 Add /dev/scsibus* device nodes. 1998-10-15 21:22:51 +00:00
itohy
03cde6e019 Use "${MAKE}" instead of "make" for cross compilation. 1998-10-09 10:40:59 +00:00
fair
75f8e74b32 These commits do two things:
1. Provide a consistent and extensible framework for compiling
kernels for the "make snapshot" target.

2. Add OBJDIR support for the "make snapshot" target, in the form
of three new make variables: KERNOBJDIR, KERNSRCDIR, and KERNCONFDIR.
Default values are in the Makefile.inc, and for OBJDIR they should
be defined in /etc/mk.conf as

	KERNSRCDIR=${BSDSRCDIR}/sys
	KERNOBJDIR=${BSDOBJDIR}/sys/arch/${MACHINE}/compile

The next step is to make a new target in the src/etc/Makefile for "release"
(or something like that) to make release(7) format files.
1998-06-28 09:38:40 +00:00
is
7dd68289be Support for serial devices with new-style dialout devices (currently, ttyC*
only).
1998-05-02 20:37:30 +00:00
is
4478afe5be - add device nodes for explicit high/middle/low density modes of tape
drives, as some drives (like ARCHIVE VIPER 150S) refuse to work with the
  default.
- add a hint about this to the INSTALL document.
1997-12-14 18:46:51 +00:00
tv
60ac257eb3 Fixes PR #3858: /dev/fd uniformly updated in MAKEDEV to make directory
(and file nodes) owned by root.wheel, and /dev/fd directory mode 755.  Now
it matches mtree (and the rest of the system's permissions/owner layout).
1997-11-26 03:09:23 +00:00
fair
ffa1ced6be add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
1997-11-20 05:57:38 +00:00
veego
9d2b967088 New console entry for the CyberVision64/3D (ttye7). 1997-10-29 20:10:53 +00:00
mhitch
40e258398f Create CDROM devices with correct minor: there are 16 partitions, not 8 per
device.
1997-10-27 23:53:06 +00:00
veego
56c06eb279 Make devices for the CyberVision 64/3D. 1997-10-19 21:35:37 +00:00
is
f44299d859 Add more audio devices. 1997-10-19 21:09:34 +00:00
is
f1c9e3d0d1 - make ttyC* description up-to-date
- make more (8) ttyC's, is enough for 2 HyperCom4, or DraCo + HyperCom3/GVP-IO
  +  HyperCom4.
1997-09-26 15:38:50 +00:00
lukem
93f6aeeee8 use 'sh $0 ...' instead of 'sh MAKEDEV ...' 1997-08-22 10:32:28 +00:00
lukem
237c80a5db * set perms on st* to 660 not 640
* remove superfluous umask
1997-08-22 10:14:45 +00:00
veego
94c1e883f6 Added missing en$name$unit entry for the chmod command in ss*).
Noticed by Luke Mewburn on tech-security.
1997-08-19 18:39:56 +00:00
augustss
912c4ee11f Create /dev/audioctl and allow creation of multiple audio devices. 1997-08-18 21:23:12 +00:00
perry
07a71fdfd0 Make MAKEDEV and MAKEDEV.local mutually consistant. Reported in
pr #2596 by Tatoku Ogaito, but my fix is different from his.
This is purely an aesthetic change.
1997-07-31 04:08:15 +00:00
phil
ffde90f14b Make all tty??/pty?? pairs that can be opened by openpty().
Remove use of awk for generating names.
Make all consistent as possible.
Closes PR 3420.
1997-07-23 01:29:36 +00:00
phil
840d172649 Make all MAKEDEVs make fd/* similar. No need for awk or expr.
Inspired by PR 3420.  Some MAKEDEVS had the fd separated out
of std and fd added to std.
1997-07-22 23:13:05 +00:00
veego
a902cc2ba7 Added a new device entry for ipfilter: /dev/ipauth 1997-07-07 22:26:51 +00:00
veego
4056cdf683 Add a comment that you now must have swap entries to satisfy swapctl(8)
and add a swap entry for sd0b (copied from the i386 fstab.sd).
1997-06-21 15:40:03 +00:00
is
49e47cbf67 Build device nodes for audio device(s). Currently, only unit 0 == custom chip
audio.
1997-06-14 22:43:47 +00:00
thorpej
7f29bb4668 Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
1997-05-31 23:52:55 +00:00
veego
e26b100bee create ipl device. 1997-01-05 20:41:01 +00:00
veego
d9ec74b797 MAKEDEV
- Add ch and uk devices.
- Add ttyC devices nodes for the A2232 board (msc*).
- Remove expr calls.
- Change the ss device number from 25 to 37,
  ATTENTION: you need to rerun /dev/MAKEDEV to update your devices files.
1996-12-20 17:24:45 +00:00
jtc
9df6319a29 merge in 1.2 branch 1996-10-09 00:40:33 +00:00
veego
fc7d845dfa Added missing SCSI scanner entry (ss). 1996-09-10 23:19:43 +00:00
is
50334a801c Set the /dev/reload protection after creating it, not the /dev/mem one.
Thanks to Carsten Hammer for pointing this out.
1996-06-24 18:44:28 +00:00
veego
faf417775b MAKEDEV: updated for grf6 and ttye6
ttys: new entry for ttye6
1996-05-19 21:03:49 +00:00
veego
c4212ae7de the amiga uses the c-partition for the whole cdrom disc and not the
d-partition which is used by the i386 port
don't forget to update the device nodes in /dev before you try cd-audio
players like xmcd2.0
1996-04-13 01:02:18 +00:00
veego
ca51675947 Updated for the new CyberVision64 console (ttye5) 1996-03-02 13:58:04 +00:00
jtc
9e5ad8a853 merge in changes from 1.1 release branch 1995-11-28 05:40:18 +00:00
chopps
2af6bfefb6 convert to new rcs ids 1995-10-09 02:25:41 +00:00
chopps
abacbc4d42 add grf5 1995-10-09 02:23:07 +00:00
chopps
27c7bf6d82 fixes as given by Bernd Ernesti <bernd@arresum.inka.de> in pr#1396, plus cleanup 1995-09-30 07:11:20 +00:00
jtc
4086abf6dd ufs -> ffs; PR #1381 1995-08-22 19:52:25 +00:00
chopps
5392ba988c cleanup and add new devices 1995-08-19 17:28:22 +00:00
thorpej
7b8694c512 Add entries for the ccd. 1995-08-17 18:02:27 +00:00
chopps
d9561ae69c add tun support 1995-03-02 03:04:48 +00:00
chopps
0fceec8cff some cleanup 1994-08-31 18:44:50 +00:00
chopps
16f1b5ab4c remove use of awk, add floppy arg for making install floppies 1994-08-31 17:31:52 +00:00
chopps
8acf01858e add extra special files for newly available partitions. 1994-07-11 14:12:42 +00:00
chopps
2626cf8d85 fix very incorrect comment about partition order in disklabel. 1994-07-06 21:06:27 +00:00
chopps
23a3aee7ea change std.9600 to Pc for local ite's (ttye?) 1994-07-05 04:16:08 +00:00
chopps
ede6b9416d remove blanks. 1994-07-05 03:16:13 +00:00
chopps
496e54d890 add sd7 sd8 and sd9 1994-07-04 23:15:55 +00:00
chopps
64c8393489 update for new disk minor encoding, also add example ados to fstab.tmp 1994-07-04 19:48:50 +00:00
chopps
2fbac8b783 fix wrong target name 1994-06-15 13:04:46 +00:00
chopps
f10a7fc906 add cd to MAKEDEV from tsarna@endicor.com (Ty Sarna)
add some misc additions to disktab and fstab.tmp
1994-06-14 09:10:27 +00:00
chopps
83d4cd6ab9 bring MAKEDEV more current, reverse dumbness of mine in ttys 1994-06-04 12:12:50 +00:00
chopps
b7e0b6d987 add more floppies, mouse link and fix typo from Ty Sarna (tsarna@endicor.com) 1994-04-17 13:26:16 +00:00
chopps
0cc3e54498 oops, typo. 1994-04-09 02:47:12 +00:00
chopps
6d450b4478 add floppy comment out aconf. 1994-04-07 18:06:16 +00:00
chopps
2155f4d97e build generic and a3000 kernels when making snapshot. 1994-04-07 00:34:33 +00:00
chopps
6aadf28e31 zero length place holders for now. 1994-04-06 23:37:47 +00:00
chopps
422736e9c1 fixed up to be current 1994-02-21 12:12:21 +00:00
deraadt
bea88de8ed attempted cleanup 1994-02-07 15:22:31 +00:00
deraadt
18f5b4b01e first stab. from Ty Sarna 1994-02-04 20:39:18 +00:00
cgd
4543c1ebfd changes from 0.9-ALPHA2 to 0.9-BETA 1993-08-23 04:59:38 +00:00
mycroft
37fbd45af1 Remove a spurious `unknown' that was screwing people over. 1993-07-10 21:23:36 +00:00
cgd
d8795500f2 changes for init... 1993-07-08 01:50:42 +00:00