Commit Graph

307 Commits

Author SHA1 Message Date
jdolecek c84fb609f6 add comment regarding /dev/io 2002-10-23 22:57:40 +00:00
lukem bc22c3f4d9 whitespace consistency cleanup 2002-10-21 04:14:47 +00:00
jdolecek 06436e36df add GENERIC.MP to KERNEL_SETS on architectures with MP support 2002-10-10 16:58:06 +00:00
elric f31269d0d9 Include cgd on the list of things to be mknod(8)ed on all arches. 2002-10-04 18:53:22 +00:00
lukem fa4442cae4 - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all)  (for consistency)
2002-08-09 02:39:15 +00:00
thorpej 6f79106887 Add dmoverio. 2002-08-02 00:45:37 +00:00
thorpej 7f2925365c Add the kttcp device. 2002-06-28 23:29:26 +00:00
christos 1cbe550fe4 create /dev/ttyEstat 2002-06-27 15:08:12 +00:00
wiz b097765198 Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
2002-06-18 13:40:14 +00:00
christos 4bef4356c3 Add device creation support for systrace. 2002-06-17 16:21:03 +00:00
simonb cb4eb5a74c Fix some white space niggles. 2002-05-07 11:29:37 +00:00
jdolecek 074863cac2 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 19:43:57 +00:00
lukem 2d1f93d643 - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
2002-05-02 15:09:40 +00:00
wiz c6dc851f64 Remove opms(4) and its device, /dev/pms0, from the i386 port, because
it has been obsoleted by pms(4).

Reviewed by fvdl and christos.
2002-04-18 12:54:09 +00:00
tv 99249da7dd Do sums of installation/* correctly. 2002-04-13 00:00:20 +00:00
tv df1d86fd88 Go into the new stand/misc directory to grab the host-OS prebuilt tools
for installation/misc.
2002-04-12 23:13:23 +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 b91dc87fb8 Add a comment to the "floppy288" entry that it is needed for the
FFS regression test.
2002-04-09 12:40:01 +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
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
lukem 1f04f759a5 remove chown root:wheel . that I added in 1.164; too many warnings with fdesc 2002-02-25 13:03:36 +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
tron 17e6126494 Back out last change as suggested by Hubert Feyrer in private e-mail:
The "ttys" file is modified by "sysinst" during installation.
2002-02-17 21:04:31 +00:00
tron b08c6b723c Enable for "getty" processes because because the i386 port used wscons(4)
default these days and the default "wsconf.conf" creates four screens.
2002-02-17 20:41:42 +00:00
martti 8f0fa118e2 Added ttyp[g-zA-Z] (bin/15594). 2002-02-13 09:46:01 +00:00
lukem 9ee14b2e73 be consistent, and use "mkdir foo 2>/dev/null" instead of "mkdir -p foo"
(to suppress errors if foo already exists)
2002-02-11 12:54:13 +00:00
martti 52d30cc560 Use "mkdir -p" instead of "mkdir" to create /dev/altq 2002-02-11 12:27:10 +00:00
lukem bfa72435ba remove unnecessary 'chown root.wheel' and be consistent with the rest
of this file...
2002-02-05 09:14:12 +00:00
augustss 2f3db30ca0 Make ulpn device nodes (no reset on open). 2002-02-05 00:45:46 +00:00
lukem 205eb9cc73 - ensure . is owned by root:wheel (so new entries inherit the correct group)
- wrap the main parser code in a function makedev(), and call makedev
  instead of 'sh $0'. (this is a bit faster)
- 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
2002-02-04 08:21:27 +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 85383e6e68 fix another typo in previous commit: the version committed was missing the end of the opty) case. 2002-02-02 05:57:47 +00:00
tls 9f05a494a9 fix typo in previous commit -- pty device number is 6, not 5! 2002-02-02 05:55:19 +00:00
tls c6652502b9 Add support for up to 930 pty devices (instead of the current 256).
The openpty() routine has been modified to use the extra pty names
before the "traditional" names, so that programs too dumb to use
openpty() will, hopefully, find one of the "traditional" ptys free
even if many others are in use.  The modifications to MAKEDEV are
courtesy Andrew Brown, and are pretty clever: the unit numbers used
by the "traditional" names stay the same, to avoid trouble when
upgrading existing systems.  The unusual use of "dd" to index an
array in MAKEDEV is because no other simple method seemed feasible
using only the programs on the install media for all ports.
2002-02-02 05:48:30 +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
deberg dd427cee59 add nsmb device 2002-01-14 06:18:20 +00:00
manu 8f66a3364c Added clockctl 2002-01-13 14:18:35 +00:00
lukem d5767e945e fix a couple of spelling mistakes in the i4b* descriptions 2002-01-08 02:46:10 +00:00
wiz b84c911d8e Fix typo in last. 2002-01-01 22:55:49 +00:00
augustss 63efc4537f Make radio devices. 2002-01-01 22:49:32 +00:00
wiz b83df16226 Standardize ch* and uk* descriptions. 2001-12-19 18:29:56 +00:00
augustss 47cad643f9 Make cir and irframe. 2001-12-02 10:50:26 +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 6424a6316a Make more USB controller devices. You can easily have 6 these days. 2001-11-15 22:16:17 +00:00
augustss 8abd9b8182 Create wsmuxN and wsmuxctlN together.
Use separate nodes for wsmouse and wskbd.
2001-10-29 22:50:40 +00:00
augustss 9cf0f0364b Allow creation of wsmuxctl devices. 2001-10-13 20:20:54 +00:00
ad fcf00dcc00 Add `dpti', which is an I2O vendor extension implementing the DPT/Adaptec
control interface. This makes it possible to run the Linux versions of
dptmgr, raidutil, dptelog and other tools under NetBSD.
2001-09-21 23:44:19 +00:00
veego 06eedf1e47 Create wsfont in the wscons target, so it would be created during a
MAKEDEV all.
2001-09-16 08:19:06 +00:00
thorpej e27d25403e Fix a typo. 2001-09-15 04:42:45 +00:00
thorpej 6813f628ef Make pci device nodes. 2001-09-13 22:09:15 +00:00
jdolecek 41f3e70221 build GENERIC_PS2TINY and make kern-ps2tiny kern set 2001-09-13 18:08:13 +00:00
augustss 504f009161 Add an entry to make wsmux devices. 2001-09-10 21:23:53 +00:00
fvdl a00e8936cb Add agp device(s) 2001-09-10 12:58:35 +00:00
drochner c2335854a1 add comments for automatic manpage creation
(pointed out by Thomas Klausner)
2001-09-03 18:37:15 +00:00
drochner 19e9e70941 add vmegen and wsfont devices 2001-09-03 18:18:25 +00:00
yamt 4f36ab62b6 chown user.group -> chown user:group
according to cvs log of basesrc/etc/etc.sun3/ttyaction and
archive of source-changes, it was backed out with MAKEDEV
because of portability issue.
but i think ttyaction doesn't have that issue as it's never
executed on non-NetBSD environment.
2001-08-21 15:16:59 +00:00
ad aaf3c7c88b Hook in the mly control interface on i386. 2001-08-01 20:54:16 +00:00
jdolecek 5241fef795 add INSTALL_PS2 to BUILD_KERNELS 2001-07-21 13:38:22 +00:00
tv 6a7dd372b3 Do what we should have been doing long ago; use /dev/console by default as the
boot console tty, so that the console is on the same place that the kernel
dmesg output goes, whether wscons or serial.  Users who want to use tty00
or ttyE0 explicitly can change /etc/ttys themselves.

Also use "vt100" as terminal type for /dev/console (for a reasonable baseline
that also works with wscons; pccons is long since no longer default).

This addresses PR install/13249, i386-specific, but may be appropriate to
apply to all ports.
2001-06-19 20:06:46 +00:00
jdolecek e3dc57afeb Make also ed1 for 'all', create ed0, ed1 for 'floppy' 2001-06-17 11:48:09 +00:00
fvdl 17e856341b Add GENERIC_DIAGNOSTIC to the list of kernels to be distributed. 2001-04-21 20:56:50 +00:00
jdolecek 30f8b9b5fd add ed disk (MCA ESDI disk) 2001-04-19 07:49:00 +00:00
thorpej 62b732f7ac Add ALTQ control devices. 2001-04-05 23:04:10 +00:00
ad 8d75ab98d3 Add a driver for the Mylex DAC960 family (including DEC SWXCR). 2001-02-04 17:05:11 +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
martin 7b07af406e Add ISDN devices. 2001-01-06 13:47:44 +00:00
tron 0ce4a9a0de Use highest bit of minor as an extra bit for the partition number to
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)
2001-01-02 23:06:54 +00:00
hubertf 47a48d2057 Add two more SCSI disks for the floppy. See PR 9912. 2000-12-19 22:39:34 +00:00
wrstuden 02031bda76 Add MAKEDEV support for Cyclom-Y multiport serial boards. Driver
support was already in $MACHINE/$MACHINE/conf.c.
2000-12-05 18:18:04 +00:00
ad 0889c2ba96 Make iop device files. 2000-12-03 13:23:12 +00:00
jmc da9feda63a Remove watchdog before creating it. Keeps the same behavior as the rest of the creates 2000-11-30 07:33:52 +00:00
ad 57ea462da2 lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00
thorpej 0c8f484437 Make the `watchdog' device node. 2000-11-05 02:13:35 +00:00
ad 23f6f01a0d ca -> lsu 2000-10-19 14:35:41 +00:00
augustss 517687da81 Get the major no right for uscanner. 2000-10-14 12:36:05 +00:00
fvdl 2e9564263d Enable building of additional kernel sets. 2000-10-02 12:51:33 +00:00
fvdl a912989e45 Add INSTALL_LAPTOP to kernels to be built. 2000-09-27 20:05:54 +00:00
augustss 8e735041d9 Prepare for USB scanners, and add Rio 500 support while messing. 2000-09-23 04:27:17 +00:00
hubertf b4b75848de Add standalone "iso-image" target that can be run with DESTDIR and RELEASEDIR
set in src/etc after a "make release" in both "src" and "xsrc", to create a
ISO-image of the release in $RELEASEDIR/installation/cdrom.

Hook for architecture dependent pre/post-processing in etc/etc.*/Makefile.inc
are available as 'iso-image_md_post' and 'iso-image_md_pre', see
etc/etc.i386/Makefile.inc as an example. Might be useful for setting up
bootable CDs on alpha, sparc, ...

Reviewed by Todd Whitesel and Thomas Klausner.
2000-09-11 21:53:30 +00:00
jhawk 2ea44b1dd4 install dosboot.com in the release(7) hierarchy. 2000-08-23 21:00:46 +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
toddpw e36c17d6c2 Have port-i386 use installation/floppy, for conformance with release(7). 2000-08-11 09:20:38 +00:00
veego 3e53e60091 Really, we don't need a 2nd pty0 in the floppy target. 2000-07-27 19:09:57 +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
thorpej 81a51455cd Fix brain'o in last, pointed out by Johan Danielsson. 2000-06-25 16:25:33 +00:00
thorpej 685a0649a8 lm* -> sysmon 2000-06-24 00:43:26 +00:00
veego a32605d17c pcvt is gone and therefore ttyv[1-7] as well. 2000-06-11 09:13:51 +00:00
wrstuden 63698a2c60 Revert to decemal numbering. From talking w/ Jason, we really should
support more than 256 ports. That would mean 3 digits in hex, and I
don't want to write the script for that..
2000-06-09 17:58:29 +00:00
wrstuden 00ee1c57fc Cyclades-Z tty's are now ttyCZ??, not ttyCZ????. Add support for them
to macppc's MAKEDEV.
2000-06-09 16:59:03 +00:00
tron 0377727ee6 Fix typo in last commit. 2000-06-04 09:34:58 +00:00
tron 306acd3e78 Handle "bktr" related devices like audio devices:
- Create device nodes with numbered names (e.g. "tuner0").
- Create softlinks with unnumbered names (e.g. "tuner") pointing to device
  nodes of unit 0.
2000-06-04 09:34:06 +00:00
perry e3fc70bd16 Add a ttyaction file for port-i386 that properly sets the ownership
on the console device when you log in using wscons on the console.

Why haven't we had defaults for this all this time?
2000-06-04 00:04:59 +00:00
thorpej adbdfe4a4e Fix this so that release notes are build properly upon `make release'. 2000-05-28 17:31:27 +00:00
thorpej 75db01943c Add `ses' devices. 2000-05-22 17:01:30 +00:00
thorpej 41b9e77eff MAKEDEV goo for Cyclades-Z multi-port serial. 2000-05-17 18:14:10 +00:00