Commit Graph

68 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
skrll c31b12547a Add MIPSSIM{,64} as appropriate 2021-11-03 08:05:39 +00:00
christos d25e0fedfb Handle mipsn64 2021-04-25 23:40:51 +00:00
simonb 389e112e68 Remove a misleading space in a ".elif". 2020-08-15 05:03:06 +00:00
jmcneill 70370e75d4 evbmips: add ofctl(8) and /dev/openfirm support 2020-07-24 12:07:09 +00:00
jmcneill 4813953ca0 Create an "octeon.img.gz" bootable image for evbmips64-eb release builds. 2020-07-17 15:16:34 +00:00
simonb bc6a081a98 Rename the evbmips ERLITE kernel to OCTEON now that it supports more
than just the EdgeRouter Lite.
2020-07-15 12:15:30 +00:00
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
maxv 65d06f3f0e Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.
2019-01-27 08:53:28 +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
mrg c62a157eb2 merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet.  also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
2017-08-15 10:11:31 +00:00
mrg e640aa5924 create sysmon nodes, so wdogctl works. 2016-12-24 07:07:06 +00:00
skrll 5dae601e33 Add ub and elf32 to KERNEL_SUFFIXES 2016-09-05 07:23:43 +00:00
macallan 1e3e6fea31 generate iic* entries 2015-11-05 16:47:29 +00:00
matt ee4600c1cb Build ERLITE and INSTALL_ERLITE if mips64eb 2015-05-01 23:55:14 +00:00
joerg b4ee0ddd0f Add CI20 install kernel and build that and the normal image as kernel set. 2015-04-06 14:18:08 +00:00
bouyer 9f200f93cc Add a INSTALL_LOONGSON kernel with a ramdisk.
build LOONGSON and INSTALL_LOONGSON for evbmips-mip64el
2011-08-29 18:32:18 +00:00
matt b26c11e6b8 Build the GDIUM64 kernel (since it tests 16KB pages). 2011-08-24 16:03:34 +00:00
matt ebed4b3440 Add CPMBR1400 and GDIUM as kernels to be built 2011-08-01 23:18:10 +00:00
matt b8272261e5 Don't build 64bit kernel for evbmips-el 2011-07-14 05:31:16 +00:00
matt adf6b492c9 Add algor kernels 2011-07-10 23:49:31 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
matt 3c68128777 Build different kernel when mips64e[bl] 2011-02-20 08:27:32 +00:00
matt 1819481222 Merge from matt-nb5-mips64 2009-12-14 01:11:02 +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
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
gdamore 232fbf8220 OMSAL-400 and MTX-1 should only be built little endian. 2006-04-07 15:26:59 +00:00
gdamore f212995691 Remove AR531X. Its too soon for this to be released, IMO. We may need
to change this kernel to AP30 and add other configs for AP43, AP51, etc.
2006-04-07 05:08:04 +00:00
he 588e007881 If we're building for mipsel, we need to build the INSTALL_OMSAL400 kernel
so that the build of the install image works.
2006-03-31 21:25:59 +00:00
gdamore dc7ac4a98c Added kernels for AR531X, DBAU1500, DBAU1550, and MTX-1. 2006-03-28 18:18:12 +00:00
shige c4e1d3e7c7 Add OMSAL400. 2006-03-28 18:00:30 +00:00
simonb f265cb64ba Use "default" instead of "std.38400" for console and tty entries.
38400 doesn't seem to work well on 115200 baud consoles...
2006-02-24 10:15:23 +00:00
he 121de2c74e Follow up the rename of the PB1000 kernel to ALCHEMY. 2006-02-06 20:14:36 +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 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 c852a48a4f g/c audio0-3 (created by target 'audio')
g/c wscons-related devices (all created by target 'wscons')
2003-10-19 17:32:13 +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
simonb dd0c7f2f44 Get rid of "$highpartoffset" baggage and use fill 16-number ranges for
sd,fd,wd, etc devices.  Fixes problems with disk-style devices greater
than unit 0.

Thanks to Charles Hannum for clue-stick.
2003-09-22 04:25:16 +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