Commit Graph

179 Commits

Author SHA1 Message Date
lukem 2d1f93d643 - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
2002-05-02 15:09:40 +00:00
tron ddec80a3a4 Back out last change because we now have a special disktab for the
FFS regression test.
2002-04-09 14:11:22 +00:00
tron 78e9ad7e9c Add missing "floppy288" entry required for FFS regression test. 2002-04-09 12:40:33 +00:00
bjh21 3f0d7066b3 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
2002-03-31 16:07:53 +00:00
martin 093f5dbc55 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 17:03:28 +00:00
simonb f5612134fc Remove trailing semicolons from lines that don't need them.
TABify many lines.
2002-03-13 01:26:54 +00:00
thorpej f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +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
toshii 0d030b3347 Use a tab instead of 7 spaces. 2002-03-03 14:15:58 +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
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
oster e474b1951e Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices. 2002-01-19 18:59:17 +00:00
manu 98572ccabc Added clockctl 2002-01-13 14:21:26 +00:00
lukem d5767e945e fix a couple of spelling mistakes in the i4b* descriptions 2002-01-08 02:46:10 +00:00
mrg efaa45dd2e add clcd device support, plus document magma support. 2002-01-01 07:55:26 +00:00
wiz b83df16226 Standardize ch* and uk* descriptions. 2001-12-19 18:29:56 +00:00
wiz cd49e4ea2b Add ss, uk, ch descriptions. 2001-12-19 18:11:22 +00:00
uwe 0c7d92c1c1 Add pci bus device. 2001-12-11 04:48:15 +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
mrg 703e80624d build GENERIC_SUN4U kernel. 2001-03-04 10:14:55 +00:00
mjacob ff6391eccb add knowledge of SES device (4) 2001-02-28 00:07:26 +00:00
martin a93eaf9bc7 Add isdn devices 2001-01-08 22:26:24 +00:00
pk 63a0bbd711 * Add `installation/floppy' and `installation/tape' directories to the
release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
  in the instfs.tgz which can be used to setup an NFS root directory (for
  installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
  in the cd driver prevents us from running directly from a CD filesystem.
2000-10-31 21:18:36 +00:00
tsutsui 90ac46632d Make md(4) device files on "all" target. 2000-10-29 13:03:37 +00:00
pk ccbcb60028 Do `make release' in distrib/sparc/instfs. 2000-10-22 14:22:08 +00:00
pk b3aa184674 Add target to make a bootable CD-R image. 2000-10-20 14:13:12 +00:00
pk 8d8ff0fb3f Remove references to {bootfs,ramdisk}.sysinst. 2000-10-20 14:12:01 +00:00
abs 5aa0a5abb1 Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST. 2000-09-28 12:46:43 +00:00
abs 9b2fc1ecc4 Create two devices for framebuffers that can have more than one card installed
Now a dual head cgsix box (for example) will work in X by default.
2000-09-14 10:00:32 +00:00
abs 23551b0530 Run 'make release' in sysinst distrib dirs 2000-09-04 16:34:13 +00:00
jdc 6e3eddc4dd Make the 3rd and 4th serial ports on a 4/300 work again - ttyc and ttyd are
now minors 2 and 3 respectively.
2000-08-23 10:43:08 +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 2ff2883ec7 pty{0,1} created more than once for "floppy" target. Corrected. 2000-07-27 19:16:09 +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
matt 934311a24b Update instfs to current ramdisk size. 2000-05-31 17:39:55 +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
pk 49b3458319 Expand `instfs' to 1.8MB. 2000-01-14 13:50:11 +00:00
tsutsui e2c4e62e16 Correct md* entries. 1999-12-18 03:09:44 +00:00
garbled a2f13ea762 Create devices for apm, apmctl and tctrl0 1999-12-15 09:17:24 +00:00
pk c528d95e74 Remove unnecessary inclusion. 1999-11-14 16:23:36 +00:00
ad 652f0f8841 Back out previous 1999-10-18 22:41:23 +00:00
pk 569ef0062c Add sparc MD parts to `make release'. 1999-10-18 20:39:01 +00:00
phil bd6a470b1b Make the coda pseudo device cfs0. 1999-10-14 17:02:25 +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
matt 8e2f403f42 Add ttyC? devices for com devices. 1999-07-31 00:00:03 +00:00
abs adb6375b6b Add a 'ramdisk' target, and create ptys on both ramdisk and floppy
(Needed for sysinst).
1999-04-26 04:20:04 +00:00
mrg ff5615a44f build ipfilter devices by default. 1999-04-13 06:45:36 +00:00
mrg 202cdd3fa1 build audio[0123] links. 1999-03-26 04:37:29 +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
mrg b8f30a5c4b fix some space lossage. 1999-01-26 07:35:54 +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
mrg 1b4e37c926 grow the instfs a little, inline with bootfs changes. 1999-01-10 13:23:37 +00:00
mrg 20b53e9bfb do not create xd or xy devices for the floppy. add a cd1 and some more sdNs 1999-01-10 12:56:06 +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
mrg c827c05064 call it "instfs" not "floppyinstfs" as it is not for a floppy 1998-08-28 01:55:43 +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
fair 2312085057 an experiment in OBJDIR support for "make snapshot" for sparc 1998-06-24 08:15:47 +00:00
mrg d7624ddf03 create more than just mdN and rmdN, and add md0 to "floppy" list. 1998-06-20 12:15:52 +00:00
mrg dad728f592 add support for building bootable floppies. 1998-06-06 05:22:20 +00:00
pk 12c0ef69ad Add `magma' nodes. 1998-05-20 00:01:06 +00:00
pk e837c98ca8 For the ch & uk device, unit number == minor 1998-03-22 20:22:08 +00:00
mycroft 573bdc9331 Introduce a couple of variables to make this clearer. 1998-03-22 02:26:48 +00:00
mycroft 72c495dc7c Create dty (dialout) device nodes for the zs driver.
Also add support for creating ttyc and ttyd, for the 4/300s.
1998-03-22 01:22:10 +00:00
perry 31a32e5502 RCS Id Police. 1998-01-09 06:09:38 +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
mikel b7c59de85d RCSid police 1997-09-20 03:09:17 +00:00
pk 46ac7ce9eb Don't copy files which are no longer here. 1997-08-31 23:22:02 +00:00
lukem f27e440f72 * remove superfluous umasks
* st* perms are 660 not 640
* ttyv* isn't a special case on the sparc (it's an i386-ism)
* add enss* to ss*
* use $0.local instead of MAKEDEV.local, and reset the umask afterwards
1997-08-22 12:25:16 +00:00
lukem 49d132729c these are *way* out of date... 1997-08-22 12:24:25 +00:00
augustss 912c4ee11f Create /dev/audioctl and allow creation of multiple audio devices. 1997-08-18 21:23:12 +00:00
leo b9906e7600 Use DISKUNIT macro to encode md's unit in the minor number. 1997-08-01 19:38:30 +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
thorpej 7f29bb4668 Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
1997-05-31 23:52:55 +00:00
pk c8f5ee730d Add sound & mixer device nodes (Jesper Nilsson; PR#3342) 1997-04-16 23:19:25 +00:00
mrg 8607697348 create ipl device. 1997-01-05 13:49:32 +00:00
pk 4bb3612c55 Device rename: `rd' => `md' 1997-01-01 23:46:17 +00:00
pk c27ed88032 Deal with missing `cgtwo', `uk' and `ss' devices. 1996-11-12 00:00:45 +00:00
pk 618f2d5911 Eliminate lots of expr(1) calls, as suggested by Charles. 1996-11-11 22:34:51 +00:00
pk d5a4ec3087 Add tcx framebuffer.
Add rd memory disk device.
1996-06-20 20:26:53 +00:00
pk acdf5dbd30 More disks descriptions from Matthew Green. 1995-10-30 20:37:33 +00:00
pk 195ce9c98e Some small disks found in Sun systems. 1995-10-20 01:01:24 +00:00
pk 4ba75e6c70 Lump cd and vnd device together with rest of disk devices. This also
takes care of PR#1626.
1995-10-19 21:50:54 +00:00
pk 7ddac63472 Use suncons gettytab entry for console. 1995-10-11 20:01:55 +00:00
pk b37707367c Add xd and xy devices.
Add fd,xd,xy to all target.
1995-10-10 21:39:09 +00:00
jtc 4086abf6dd ufs -> ffs; PR #1381 1995-08-22 19:52:25 +00:00
thorpej 7b8694c512 Add entries for the ccd. 1995-08-17 18:02:27 +00:00
pk 9905cdf5a6 Compute `unit' up front (snarfed from sun3 MAKEDEV). 1995-06-02 09:25:16 +00:00
pk b842247a6c config.new => config; use GENERIC kernels. 1995-05-12 08:51:55 +00:00
pk 9ad457b5d1 One dot too many in cgfour rule. Noticed by David Brownlee. 1995-03-13 23:28:37 +00:00
pk b9f375d24f Add cgfour/cgeight. 1995-03-01 09:21:13 +00:00
pk f838083b66 st is bdev 11 1995-02-15 14:33:57 +00:00