Commit Graph

69 Commits

Author SHA1 Message Date
abs 039df638d6 Switch default console tty from /dev/console to /dev/constty
With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users
2019-09-25 23:09:19 +00:00
flxd 117684898e Add PCI devices for vlpci(4). 2017-04-11 17:27:49 +00:00
nat 03783bb56a Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
2016-12-08 11:31:08 +00:00
abs 7e916bb8a9 Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
  which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
2012-08-16 13:31:24 +00:00
martin c2e51849fc Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
2012-06-13 20:49:11 +00:00
tsutsui 82527754bc Copy ramdisk INSTALL.aout kernel into installation/instkernel in ${RELEASEDIR}
where it had been put and documented. Actually closes PR port-shark/41672.
2010-10-04 13:45:28 +00:00
is cc125f84ea Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
2009-11-06 12:31:44 +00:00
abs 3388ad407f Add a constty entry, marked 'off', with otherwise the same settings
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
2008-10-07 10:00:00 +00:00
tsutsui d6a9de7378 Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf.  Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.
2008-09-13 11:46:18 +00:00
lukem 2c1c2b60b2 Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
2008-03-18 04:20:36 +00:00
tsutsui 6abcd959b3 Restore targets for sd(4) devices, which can be attached at atapibus(4).
Closes PR port-shark/36693.
2007-08-08 13:12:06 +00:00
jmmv 9de952fb19 sysinst needs wskbd0 to set the keyboard encoding, so generate all wscons
devices instead of just ttyE0.
2007-08-01 14:19:32 +00:00
jmmv 458be06c42 Switch the console to use vt100, as done in almost all other platforms.
GENERIC has provided wscons for a while, with "options WSEMUL_VT100"
enabled by default.
2007-07-31 19:55:03 +00:00
jmmv d291012153 Switch NetBSD/shark's installation kernel and disk image to use wscons
instead of pccons, just like its GENERIC kernel does.

This obsoletes pccons in this platform, which will probably be removed
later.
2007-07-31 19:51:58 +00:00
jmmv a556f30fda In the shark's installation image, create the bpf device from the
'ramdisk' MAKEDEV goal instead of from a Makefile definition.  As there
is just one configuration for the ramdisk, it's better to keep everything
in one place.
2007-07-30 14:03:17 +00:00
pavel de89ac5321 Add a comment reminding to update the release notes if the list of
kernels change.
2007-07-24 10:49:23 +00:00
jmmv a9a41f6c67 Convert shark's installation kernel image (netbsd-INSTALL) to a.out format
so that it can be loaded by the machine's firmware.  Put the resulting
image inside the 'installation/instkernel' release subdirectory, as the
installation instructions explain.

Fixes port-shark/35563.
2007-03-10 17:57:41 +00:00
tsutsui 14a351eefe Create wscons devices. 2005-01-09 15:50:53 +00:00
christos 0553899e97 remove ad-hok list of pty's from port tty files, and auto-generate it so
that it is consistent, and in the proper order.
2004-06-20 21:30:26 +00:00
jdolecek 1b00681156 switch over to unified MAKEDEV 2003-10-24 20:12:04 +00:00
jdolecek 930959c6c0 fix floppy & ramdisk targets 2003-10-24 11:05:23 +00:00
jdolecek 9e9c552bb7 g/c SCSI-related entries 2003-10-24 10:26:44 +00:00
jdolecek 1eeb241e42 sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
2003-10-24 08:20:26 +00:00
jdolecek 7a46124ea4 determine the platform number of disk partitions by looking
at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't
need to be specified separately in MAKEDEV.conf

change platform MAKEDEV.conf to contain only MD targets and nothing else;
simplify the parsing in MAKEDEV.awk accordingly
2003-10-19 19:07:26 +00:00
jdolecek 46bdb9f87e target 'audio' creates /dev/audio0-3, g/c the duplicit entries creating
the files again
2003-10-19 17:22:42 +00:00
jdolecek 20282f8b2e change minor of /dev/zero for ARM ports to 12, so that it is same as on other
ports; follows the kernel change
2003-10-17 17:56:28 +00:00
jdolecek 7126da0813 MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
2003-10-15 19:13:32 +00:00
jdolecek 2d42eb283b reassing majors for crypto and pf to use the newly defined MI major range 2003-10-10 22:47:10 +00:00
dsl 5c2824bce4 Revert 'console' back to /dev/console (from /dev/constty) 2003-10-04 07:41:11 +00:00
dsl e5217087d8 Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
2003-10-03 14:54:20 +00:00
dsl fca3294820 Add a /dev/constty == /dev/console but with minor 1.
Use for tty sessions on 'console' so that output doesn't pinched by anyone
using TIOCCONS to get kernel and system messages.
2003-10-03 14:35:36 +00:00
pooka 12cd483962 add isdn telephony dialout devices 2003-09-19 11:11:37 +00:00
dsl 35bb292640 Put back port specific majors for ptys 2003-09-05 17:02:52 +00:00
dsl 818622e67a Change the way pseudo tty devices are generated in order to avoid
any pipes and running other commands (eg dd).
Measurable speeds up creating pseudo ttys.
(there has to be a better way than editing 51 files! - tedious at only
6 key presses per file)
2003-08-30 11:00:20 +00:00
itojun 4440262659 create /dev/crypto 2003-08-22 05:06:22 +00:00
itojun 3f14c71f75 reserve cdev major # for PF. ok'ed by technical-exec 2003-07-27 14:17:57 +00:00
wiz b0b2ab2055 Not much point in creating a device node for a driver that doesn't exist
(qms in this case).
2003-05-15 19:01:38 +00:00
christos e98429f32c fix ugen issue from latest shell changes that treat numeric constants
differently depending on their prefix.
2003-05-07 13:41:34 +00:00
ragge ce0bf5c28d Add ksyms to "std" devices. 2003-04-27 13:15:28 +00:00
fvdl 750b5b8327 Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
2003-04-17 18:03:10 +00:00
wiz 8c98a58428 Make it "Risc PC" instead of RiscPC.
Noted by Ben Harris who pointed at
	http://www.riscos.com/faqs/spelling_and_pronunciation.htm .
2003-04-14 11:57:10 +00:00
wiz c08f5994be Correct casing of RiscPC. From Igor Sobrado in PR 21144. 2003-04-14 06:32:02 +00:00
perry 2f1f870fa8 make ipl consistently "IP Filter" 2003-03-31 03:58:55 +00:00
wiz 8dab8f4d58 Miscellaneous fixes from Igor Sobrado, in PRs 20943-20959. 2003-03-30 17:41:51 +00:00
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
jdolecek 67705b22ff use single minimal default disktab file for most archs, replacing
MD disktab where possible (everything but vax)
the MD disktab was often either empty, or contained entries even for disks
which support geometry autodetection (SCSI), and/or non-interesting/long
obsolete entries

the old records are still available in example disktab in
/usr/share/examples/disktab/disktab in case anyone would need them
2002-12-19 20:03:46 +00:00
lukem fe5f6ce974 - add snap_post, which makes "clean depend all release" in ../distrib/
for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
2002-12-02 13:18:03 +00:00
lukem bc22c3f4d9 whitespace consistency cleanup 2002-10-21 04:14:47 +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