Commit Graph

131 Commits

Author SHA1 Message Date
riastradh cc725e3507 viocon(4): New virtio tty driver imported from OpenBSD.
viocon* at virtio?

/dev/ttyVI??

Tested under qemu with:

qemu-system-aarch64 ... \
  -device virtio-serial \
  -chardev socket,path=/tmp/ttyVI00,server=on,wait=off,id=ttyVI00 \
  -device virtconsole,chardev=ttyVI00,name=org.NetBSD.dev.ttyVI00 \
  ...

I updated MAKEDEV.conf to create /dev/ttyVI?? on all ports where it
looks likely to work based on:
(a) having pci or a non-pci virtio attachment,
(b) `qemu-system-$ARCH -M ?' mentioned something resembling the port,
    and
(c) `qemu-system-$ARCH -device virtio-serial' launched without
    complaining about the virtio-serial device.

(Criterion (c) excluded sparc and sparc64.)
2022-08-12 11:15:40 +00:00
mrg a8fd7c84b2 partial port to powerpc64. 2020-09-15 08:14:31 +00:00
sevan 841fdb7e60 Support the use of DHCP in the install environment 2020-04-05 14:36:43 +00:00
sevan 4d4f75cea8 Build the UP & SMP kernels for G5s to ease testing.
Currently these kernels have to be netbooted directly from Open Firmware.
Warning: SMP kernel still has issues.
2019-02-19 23:46:33 +00:00
scole 061a76feb8 install kernel for ppc601 floppies and iso 2018-11-12 20:07:47 +00:00
maxv ebec90347e Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
2018-09-23 09:20:57 +00:00
macallan dfcdd5e31d create more /dev/pci* nodes, for PCIe systems 2017-11-15 04:31:48 +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
macallan ff8e33c9e6 since we support 601 hardware now, let's build the kernel for it as well 2014-07-20 14:52:29 +00:00
macallan be2c1ce5d3 use a more appropriate terminal type for ttyE* 2012-01-22 06:13:55 +00:00
macallan e911228872 enable powerd by default 2012-01-22 06:10:35 +00:00
abs d5409df303 Add wd2 and wd3 to the default device set - noted by Donald Lee on port-macppc 2010-12-01 22:06:19 +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
macallan 3b2abbc7b0 add ttyE1-3 2008-05-08 16:15:05 +00:00
tsutsui a48fac26d7 vt100 is better than unknown for ttyZ[01]. 2008-05-08 16:03:09 +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
hubertf 6a5bb11672 Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@
2007-01-15 23:35:11 +00:00
rpaulo 6c7e5e5535 Enable altq for macppc. 2006-06-19 21:36:56 +00:00
rpaulo 995861ac50 Replace tty0[0-1] with ttyZ[0-1] because if we list symlinks, PAM
would break and remove tty0[2-7] since they don't exist.
2005-10-07 11:38:19 +00:00
tron abba7e56c8 Enable RAIDframe support in the NetBSD-macppc installation media.
Based on patches submitted by Ian Spray in PR port-macppc/30465.
2005-06-09 13:29:57 +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
lukem fcdfdbba5c Rework MAKEDEV:
*	Use "mknod -F netbsd -r" to create nodes, instead of
	"rm ; mknod; chmod; chown".
	This means permissions & ownership of existing nodes will
	not be changed.
	This is up to 30% faster when populating an empty /dev,
	and nearly 2x faster when re-running on an existing /dev.

    *	New options:
    	-f		force change of permission & ownership of existing
			devices
    	-m mknod	override name/path of mknod program
			(which defaults to $TOOL_MKNOD, then "mknod").
	-s		generate mtree(8) specfile instead of creating devices

    *	Remove /usr/etc from $PATH; not needed anymore.

    *	Provide functions to create devices & directories:
	    mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
		create device node `name' with the appropriate permissions
	    lndev src target
		create a symlink from src to target
	    makedir dir mode
		create directory with appropriate mode

    *	UIDs and GIDs are hardcoded in at MAKEDEV generation time.
	(Unfortunately there's not a simple way of determining a GID
	a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
2003-12-21 17:37:26 +00:00
jdolecek 1b00681156 switch over to unified MAKEDEV 2003-10-24 20:12:04 +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 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
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 a20ec90fe2 Uppercase ITE. Addresses PRs 21138 to 21141 by Igor Sobrado. 2003-04-14 05:45:40 +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
matt 8344279675 Synchronize macppc and evbppc majors when possible. Add a lot of missing
devices to evbppc.
2003-03-13 17:02:52 +00:00
fair 50c44f90f7 Add bktr* and radio* 2003-01-14 08:49:07 +00:00
wiz 74994bbeaf Add comments for ld and mlx (hi allen!). 2003-01-06 19:14:51 +00:00
briggs f23e0c65e4 Understand how to create device nodes for mlx and ld.
As part of 'all', create mlx0 and ld0-3.
Pointed out by Daniel Eggert in PR 18487.
2003-01-05 19:24:05 +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 efbc87e9ab consistency tweaks 2002-12-02 13:31:16 +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