Commit Graph

294 Commits

Author SHA1 Message Date
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
veego
ce6e7b1e81 Add tun2 and tun3 to the all target and create the ugen0 devices in the
usbs target.
2000-05-07 19:15:21 +00:00
wiz
d690122a5e add devices for bktr; also add them to all target 2000-05-07 01:39:27 +00:00
mycroft
5c2de4c3fa Build INSTALL_SMALL. 2000-05-06 05:31:58 +00:00
augustss
0f7d1d56ff Add a comment about urio. 2000-05-02 12:01:13 +00:00
augustss
7eb7e0a9cd Make urio(4) device node. 2000-05-02 11:59:40 +00:00
abs
9e96565f2e pcmcia modems end up at com3 with a GENERIC kernel, so create a tty03 in std 2000-04-29 00:10:37 +00:00
fredb
c4ae664105 Revert last two changes. As pointed out by enami tsugutomo, snap_md_post
is the wrong place to do the splits, as the tar files are not yet made!
2000-03-29 23:47:53 +00:00
enami
a1e356450f Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 03:43:32 +00:00
fredb
630e63cb47 Don't include ${RELEASDIR} in INSTALLATION_DIRS. Error pointed out by
Urban Boquist in PR install/9689.
2000-03-28 16:26:30 +00:00
fredb
7b0e557100 Build the split sets in place on "make release". 2000-03-26 15:48:22 +00:00
ad
d52bc434ce Device entries for ca(4). 2000-03-16 14:58:09 +00:00
groo
327c7e4af9 add lm0 to 'all' target 2000-03-07 17:55:06 +00:00
christos
9e721e2455 Don't use grep to find if we have fdesc mounted. case is faster and
works without having /usr mounted.
2000-03-01 19:03:17 +00:00
augustss
ab5e19cc9f Make /dev/usb, a node where USB events can be read.
Also add ttyU to hpcmips.
2000-02-29 19:07:41 +00:00
augustss
66ee7c2e15 No need to make audio devices twice in all. 2000-02-29 18:48:05 +00:00
groo
a41f67cc02 Add `lm*' for LM7[89] hardware monitor 2000-02-25 02:35:49 +00:00
mycroft
01b2f6e1de Sum the floppy directory, too. 2000-02-20 03:38:04 +00:00
mycroft
58895df429 Clean up a bit. 2000-02-20 03:11: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
mycroft
868dc892af Put a copy of GENERIC in the kernel directory, too. 2000-01-19 08:36:30 +00:00
itojun
72a5ed2e26 allow "sh MAKEDEV ttyNN", where NN is 00 to 99.
single-digit "sh MAKEDEV ttyN" works in backward-compatible way.
XXX should bring it to other ports as well?
2000-01-09 02:37:06 +00:00
tsutsui
e2c4e62e16 Correct md* entries. 1999-12-18 03:09:44 +00:00
christos
47523083ea support fully qualified machdep names. 1999-12-15 05:23:13 +00:00
christos
a87378c54a Prototype file that selects i387 if the fpu is present. 1999-12-13 10:17:49 +00:00
he
eafd8f707f Provide some more automation in the "make release" process. Also build
and install:
 o INSTALL and INSTALL_TINY kernels (for boot floppy images)
 o GENERIC_TINY kernel
 o Boot floppy images
Ideas borrowed from etc/etc.sun3/ setup.
1999-11-09 00:22:39 +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
augustss
62d46f73e8 Improve the USB comments. 1999-09-15 21:18:10 +00:00
augustss
bcf1e2dcad Add a comment about ttyU*. 1999-08-27 14:13:32 +00:00
augustss
5ca2c8ac27 Make creation of wsmux devices a little less confusing. 1999-08-25 23:06:46 +00:00
augustss
243ba7a176 Rename umodem to ttyU. If it walks like a tty and quacks like a tty
it's a tty.
1999-08-17 20:06:57 +00:00
augustss
db574ba708 Add umodem device. 1999-08-16 22:27:08 +00:00
augustss
595da53663 Make wsmux devices. 1999-07-29 19:24:37 +00:00
tron
735b324857 Add "audio" target to create links "audio", "audioctl", "mixer" and
"sound" pointing to the first unit's device nodes.
1999-07-12 09:33:59 +00:00
christos
412733582c typo 1999-06-09 01:45:49 +00:00
christos
efffa3db54 Make sure fd is a directory before we df it. 1999-06-09 01:39:29 +00:00
is
7658a91815 Create *wd[23]? device nodes, so that machines with more than two IDE
drives can be installed.
XXX The 1.4 single-floppy install has only 24 free inodes, but 32 are needed
by this. Some more work is needed (e.g., change newfs parameters for the
ram disk, or switch back to a 2-floppy install).
1999-05-31 11:14:07 +00:00
christos
a3f17d2959 Don't barf when we have fdesc mounted. Just skip the devices fdesc provides 1999-05-28 21:00:50 +00:00
perry
7c5c9764b5 turn off ttyE[123] by default -- default installs don't configure them. 1999-05-01 00:23:27 +00:00
mrg
202cdd3fa1 build audio[0123] links. 1999-03-26 04:37:29 +00:00
he
1fad0940a8 Need pseudo-ttys on INSTALL disk now (due to sysinst). 1999-03-09 19:31:00 +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
drochner
275e4ce247 wscons is default now - replace the "ttyv0" getty by a number of
"ttyEn" lines.
Thanks to "Johnny C. Lam" <lamj@stat.cmu.edu> for pointing out.
1999-02-02 14:33:04 +00:00
he
37ac3cf82a Add an entry for 2.88MB floppies, even though we can't write them
directly yet.  Useful for El Torito bootable CDs, though.
1999-02-01 20:20:00 +00:00
bouyer
93fc448539 Add tty2 to 'all' and 'floppy' targets (that's how a PnP or pcmcia modem
will get called with a standart kernel).
1999-01-27 10:26:08 +00:00
tron
d7ec8ee3a8 Because PCVT only offers 8 virtual consoles by default create only 8
device nodes. Fixes PR port-i386/6876 by Scott Telford.
1999-01-25 21:44:22 +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
drochner
3b8254b9e8 add "ttyEcfg" (for display-global wscons configuration) 1999-01-13 17:41:44 +00:00
augustss
d31303074e Make ugen devices. None are created by default. 1998-12-09 01:11:26 +00:00
sommerfe
034bc394ac Add wscons to `all' since its absence annoyed perry. 1998-12-07 18:46: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
perry
e72f64b7ee Nuke symlink /dev/ttyv0 -> /dev/vga It isn't needed any more.
(If any linux emulation needs this, it can go in the linux emul
directory in the emulation package.)
1998-10-12 21:05:24 +00:00
itohy
03cde6e019 Use "${MAKE}" instead of "make" for cross compilation. 1998-10-09 10:40:59 +00:00
phil
86c53e4e63 /dev/cfs* for Coda. 1998-09-14 16:06:27 +00:00
augustss
78f049b041 Make some MIDI devices. 1998-08-13 12:44:11 +00:00
augustss
48bae9ee88 Add MIDI support. The MIDI devices can be accessed as ``raw'' through
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).
1998-08-07 00:00:55 +00:00
thorpej
fef5ca08bf Use wsmouse' and wskbd' rather than wms' and wkbd', and make some
wskbds in the `wscons' meta-target.
1998-08-03 11:43:14 +00:00
augustss
e9ae0b13b4 Nuke ums and ukbd (USB mouse and keyboard), add wms and wkbd (wscons dito). 1998-07-27 18:49:43 +00:00
augustss
5a25642848 Add some comments about USB and make the USB devices in `all'. 1998-07-12 20:28:24 +00:00
augustss
deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +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
drochner
d099dd6212 change wscons tty names to ttyE* to avoid clashes with the pty namespace 1998-06-18 15:02:34 +00:00
drochner
edcf4a0ca1 add nwscons tty nodes 1998-06-12 15:39:35 +00:00
mycroft
573bdc9331 Introduce a couple of variables to make this clearer. 1998-03-22 02:26:48 +00:00
mycroft
352ec2fb25 Create dty (dialout) device nodes for the com driver. 1998-03-22 01:15:00 +00:00
fvdl
9a6d991cf2 Make some more disk devices; people may have more than 2 wd disks
or 4 sd disks these days.
1997-12-15 01:05:01 +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
lukem
5629b8d007 * st* and wt* have perms 660 instead of 640
* add enss* to ss*
* invoke MAKEDEV.local as $0.local
* reset umask to 077 after running MAKEDEV.local
* warn on unknown devices
1997-08-22 11:19:43 +00:00
augustss
912c4ee11f Create /dev/audioctl and allow creation of multiple audio devices. 1997-08-18 21:23:12 +00:00
perry
e77a6f04d3 Finally finish fixing pr-230 by assigning minor+8 and minor+16 device
names for the lower density minor dev numbers. My shell code would
even work for a wt1 device, but I would seriously pity anyone trying
to get two of these things to work on one machine. Heck, no one should
even try to use ONE wt device.
1997-08-04 03:50:26 +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
851aef5327 Add ta=4.2BSD to both floppy3 and floppy5 entries. (If you are
disklabeling your floppy, you are most likely putting on a 4.2BSD
file system.  This is in support of the distrib/i386/floppies
building via vnds.)
1997-07-29 18:46:06 +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
hpeyerl
91e0832cae Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:16:59 +00:00
veego
a902cc2ba7 Added a new device entry for ipfilter: /dev/ipauth 1997-07-07 22:26:51 +00:00
perry
0bea2a15f6 Note that you now must have swap entries to satisfy swapctl(8) 1997-06-16 00:58:49 +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
mycroft
6f6e264129 Use a shell loop to build fd/*, rather than an awk script. 1997-03-31 21:28:24 +00:00
mycroft
736a7ada1e Unroll the pty creation loop. 1997-03-31 21:23:34 +00:00
mikel
d015ce73e5 GENERIC{AHA,OTHER} have been merged into GENERIC; fixes PR port-i386/3274. 1997-03-04 06:30:01 +00:00
veego
2fadfb1a2f add 'ipl' device node entry, for ip-filter. 1997-01-07 08:04:19 +00:00
pk
4bb3612c55 Device rename: rd' => md' 1997-01-01 23:46:17 +00:00
perry
18a4f7f093 change rd* target to produce rd?[abc] and rrd?[abc] devices.
add "ramdisk" target which is basically floppy + rd0, needed for
new install system.
1996-10-21 19:58:25 +00:00
perry
d98e97aa8a New and improved fstab samples, now with examples of procfs, kernfs
and cd9660 file systems, an mfs mounted /tmp, an example swap
partition, correct fsck scheduling, and even comments pointing users
at man pages for more information. I'm still not sure we need these
sample files at all, but at least they are now useful to the new user.
1996-10-16 15:20:12 +00:00
perry
c1436aa832 restore snap_md target (sigh...) 1996-10-16 02:25:08 +00:00
perry
187216b4e6 removed obsolete garbage associated with obsolete snapshot
functionality. Snapshots are built with tools in src/distrib
1996-10-15 17:45:31 +00:00
perry
7739c57905 Remove obsolete snapshot functionality (which is now in
/usr/src/distrib) -- Makefile.inc is now a no-op. I chose not to
remove it completely because port specific stuff might show up someday.
1996-10-15 17:43:57 +00:00
perry
b1dfe12b2f Remove very obsolete kernel copy floppy construction tools -- these
are all now in /usr/src/distrib/i386
1996-10-15 17:30:58 +00:00
perry
725b03db3a RCS ID police 1996-10-15 03:42:50 +00:00
mycroft
21784a56b6 Correct char device major number for `rd'. 1996-09-08 03:33:55 +00:00
mycroft
69b13f156d Document `ch'. 1996-09-08 03:16:28 +00:00
mycroft
838bd1a7ae Add ss' and uk'. Sync `all'. General cleanup. (No more expr!) 1996-09-08 03:12:23 +00:00
jtk
b86b695240 add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
1996-08-25 23:38:57 +00:00
thorpej
103e63b59a Fix the snap_md target to use the correct kernel names; GENERICAHA and
GENERICBT were replaced with GENERICADP and GENERICOTHER some time ago.
XXX The kc_* targets here are still broken, but aren't currently used
XXX anyhow.  This change allows one to at least do a "make snapshot".
1996-04-23 17:39:39 +00:00
perry
1044d1ac8a forgot about joy1 1996-03-31 00:50:47 +00:00
perry
0dcdd69b42 Added joystick support (from Matthieu Herrb); also RCS/CVS ID police. 1996-03-31 00:04:06 +00:00
mycroft
82b57c7135 Collapse some cases together. 1995-12-08 06:55:38 +00:00
mycroft
cc119bf4a3 Allow more than one wt, and fix up permissions. Unclutter st. 1995-12-08 06:44:07 +00:00
jtc
eeba73b02d Add no rewind device nodes for the wt driver 1995-12-07 11:04:37 +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
brezak
cdff76dff7 etc/etc.i386/MAKEDEV create mixer device. PR# port-i386/1208. 1995-07-19 19:55:27 +00:00
jtc
81447b8322 Use "${BINOWN}" and "${BINGRP}" instead of "bin" 1995-06-26 22:17:38 +00:00
glass
7f03929ef8 add tun to all 1994-12-26 21:41:53 +00:00
mycroft
6be039584f Remove silly unit number limitations on several items. 1994-09-19 02:18:05 +00:00
mycroft
3f372179d4 Change vga to ttyv0, with a symlink for X. 1994-07-31 08:44:31 +00:00
glass
f1145c19b4 now using sh builtin 'echo'... so kill 'echo' entry in FLOPPYBINS 1994-07-18 06:37:20 +00:00
mycroft
497a6cedf0 Fix minor numbers for pms. 1994-07-17 19:08:16 +00:00
mycroft
06588a9270 Fix typo. 1994-06-18 00:41:20 +00:00