Home | History | Annotate | only in /src/etc/etc.shark
History log of /src/etc/etc.shark
RevisionDateAuthorComments
 1.31 24-Oct-2003  jdolecek switch over to unified MAKEDEV
 1.30 17-Oct-2003  jdolecek change minor of /dev/zero for ARM ports to 12, so that it is same as on other
ports; follows the kernel change
 1.29 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major range
 1.28 03-Oct-2003  dsl 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.
 1.27 19-Sep-2003  pooka add isdn telephony dialout devices
 1.26 05-Sep-2003  dsl Put back port specific majors for ptys
 1.25 30-Aug-2003  dsl 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)
 1.24 22-Aug-2003  itojun create /dev/crypto
 1.23 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.22 15-May-2003  wiz Not much point in creating a device node for a driver that doesn't exist
(qms in this case).
 1.21 07-May-2003  christos fix ugen issue from latest shell changes that treat numeric constants
differently depending on their prefix.
 1.20 27-Apr-2003  ragge Add ksyms to "std" devices.
 1.19 17-Apr-2003  fvdl 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.
 1.18 14-Apr-2003  wiz Make it "Risc PC" instead of RiscPC.
Noted by Ben Harris who pointed at
http://www.riscos.com/faqs/spelling_and_pronunciation.htm .
 1.17 14-Apr-2003  wiz Correct casing of RiscPC. From Igor Sobrado in PR 21144.
 1.16 31-Mar-2003  perry make ipl consistently "IP Filter"
 1.15 30-Mar-2003  wiz Miscellaneous fixes from Igor Sobrado, in PRs 20943-20959.
 1.14 21-Oct-2002  lukem whitespace consistency cleanup
 1.13 04-Oct-2002  elric Include cgd on the list of things to be mknod(8)ed on all arches.
 1.12 09-Aug-2002  lukem - 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)
 1.11 27-Jun-2002  wiz Add comment for audio device.
Please, don't forget to add comment lines when adding/enabling device
nodes.
 1.10 26-Jun-2002  abs The shark has a builtin audio device - create /dev/audio and friends
 1.9 19-Jun-2002  wiz By default, make ugen0 in the usbs target too, as i386 and x86_64 already did.
 1.8 18-Jun-2002  wiz 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.
 1.7 17-Jun-2002  christos Add device creation support for systrace.
 1.6 16-Mar-2002  martin branches: 1.6.2;
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).
 1.5 13-Mar-2002  simonb Remove trailing semicolons from lines that don't need them.
TABify many lines.
 1.4 04-Mar-2002  lukem 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...)
 1.3 03-Mar-2002  toshii Use a tab instead of 7 spaces.
 1.2 25-Feb-2002  atatat Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
 1.1 10-Feb-2002  pooka Breathe life into etc.shark files by moving them over from etc.arm32
and modifying them appropriately in the process.

Remove the obsolete etc.arm32 files
 1.6.2.4 12-Apr-2004  jmc Pullup patch (requested by taca in ticket #1664)

Fix ugen issue from latest shell changes that treat numeric constants
differently depending on their prefix.
 1.6.2.3 10-Aug-2002  lukem Pull up revision 1.12 (requested by lukem):
- 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)
 1.6.2.2 29-Jun-2002  lukem Pull up revision 1.11 (requested by abs in ticket #400):
Add comment for audio device.
Please, don't forget to add comment lines when adding/enabling device
nodes.
 1.6.2.1 29-Jun-2002  lukem Pull up revision 1.10 (requested by abs in ticket #400):
The shark has a builtin audio device - create /dev/audio and friends
 1.15 11-Apr-2017  flxd Add PCI devices for vlpci(4).
 1.14 08-Dec-2016  nat branches: 1.14.2;
Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.13 16-Aug-2012  abs branches: 1.13.16;
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.
 1.12 13-Sep-2008  tsutsui branches: 1.12.18;
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.
 1.11 08-Aug-2007  tsutsui branches: 1.11.10; 1.11.14;
Restore targets for sd(4) devices, which can be attached at atapibus(4).
Closes PR port-shark/36693.
 1.10 01-Aug-2007  jmmv branches: 1.10.2;
sysinst needs wskbd0 to set the keyboard encoding, so generate all wscons
devices instead of just ttyE0.
 1.9 31-Jul-2007  jmmv 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.
 1.8 30-Jul-2007  jmmv 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.
 1.7 09-Jan-2005  tsutsui branches: 1.7.10; 1.7.12;
Create wscons devices.
 1.6 24-Oct-2003  jdolecek fix floppy & ramdisk targets
 1.5 24-Oct-2003  jdolecek g/c SCSI-related entries
 1.4 24-Oct-2003  jdolecek sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
 1.3 19-Oct-2003  jdolecek 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
 1.2 19-Oct-2003  jdolecek target 'audio' creates /dev/audio0-3, g/c the duplicit entries creating
the files again
 1.1 15-Oct-2003  jdolecek 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
 1.7.12.1 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.7.10.1 26-Aug-2007  liamjfoy Pull up following revision(s) (requested by tsutsui in ticket #838):
etc/etc.shark/MAKEDEV.conf: revision 1.11
sys/arch/shark/conf/majors.shark: revision 1.23
Restore a device major for sd(4), which can be attached at atapibus(4).
Fixes part of PR port-shark/36693.
Restore targets for sd(4) devices, which can be attached at atapibus(4).
Closes PR port-shark/36693.
 1.10.2.2 01-Aug-2007  jmmv sysinst needs wskbd0 to set the keyboard encoding, so generate all wscons
devices instead of just ttyE0.
 1.10.2.1 01-Aug-2007  jmmv file MAKEDEV.conf was added on branch matt-mips64 on 2007-08-01 14:19:33 +0000
 1.11.14.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.11.10.1 05-Oct-2008  mjf Sync with HEAD.
 1.12.18.1 30-Oct-2012  yamt sync with head
 1.13.16.2 26-Apr-2017  pgoyette Sync with HEAD
 1.13.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.14.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.12 04-Oct-2010  tsutsui Copy ramdisk INSTALL.aout kernel into installation/instkernel in ${RELEASEDIR}
where it had been put and documented. Actually closes PR port-shark/41672.
 1.11 06-Nov-2009  is Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
 1.10 18-Mar-2008  lukem branches: 1.10.6;
Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
 1.9 24-Jul-2007  pavel branches: 1.9.4; 1.9.10; 1.9.12; 1.9.14;
Add a comment reminding to update the release notes if the list of
kernels change.
 1.8 10-Mar-2007  jmmv 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.
 1.7 03-Jan-2003  lukem branches: 1.7.16;
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
 1.6 02-Dec-2002  lukem - 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
 1.5 31-Mar-2002  bjh21 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
 1.4 31-Mar-2002  thorpej Add "aout" to KERNEL_SUFFIXES.
 1.3 30-Mar-2002  thorpej Fix shark release building targets.
 1.2 20-Mar-2002  bjh21 Correct "makesums" calls to use the correct directory name for installation
kernels. This should fix PR port-arm/14145.
 1.1 10-Feb-2002  pooka Breathe life into etc.shark files by moving them over from etc.arm32
and modifying them appropriately in the process.

Remove the obsolete etc.arm32 files
 1.7.16.1 22-Mar-2007  jdc Pull up revision 1.8 (requested by jmmv in ticket #509).

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.
 1.9.14.2 24-Jul-2007  pavel Add a comment reminding to update the release notes if the list of
kernels change.
 1.9.14.1 24-Jul-2007  pavel file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:29 +0000
 1.9.12.1 03-Apr-2008  mjf Sync with HEAD.
 1.9.10.1 24-Mar-2008  keiichi sync with head.
 1.9.4.1 23-Mar-2008  matt sync with HEAD
 1.10.6.2 22-Nov-2010  riz Pull up following revision(s) (requested by tsutsui in ticket #1127):
distrib/shark/instkernel/instkernel/Makefile: revision 1.21
etc/etc.shark/Makefile.inc: revision 1.12
Copy ramdisk INSTALL.aout kernel into installation/instkernel in ${RELEASEDIR}
where it had been put and documented. Actually closes PR port-shark/41672.
 1.10.6.1 22-Nov-2010  riz Pull up following revision(s) (requested by is in ticket #1127):
distrib/shark/instkernel/instkernel/Makefile: revision 1.20
etc/etc.shark/Makefile.inc: revision 1.11
distrib/shark/instkernel/instkernel/Makefile: revision 1.19
Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
2nd part of "install kernel -> release" fix, inspired by tsutsui@'s patch
to PR 41672.
 1.4 19-Dec-2002  jdolecek 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
 1.3 09-Apr-2002  tron Back out last change because we now have a special disktab for the
FFS regression test.
 1.2 09-Apr-2002  tron Add missing "floppy288" entry required for FFS regression test.
 1.1 10-Feb-2002  pooka Breathe life into etc.shark files by moving them over from etc.arm32
and modifying them appropriately in the process.

Remove the obsolete etc.arm32 files
 1.2 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.1 10-Feb-2002  pooka Breathe life into etc.shark files by moving them over from etc.arm32
and modifying them appropriately in the process.

Remove the obsolete etc.arm32 files
 1.9 25-Sep-2019  abs 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
 1.8 13-Jun-2012  martin branches: 1.8.34; 1.8.36;
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.
 1.7 07-Oct-2008  abs branches: 1.7.18; 1.7.20;
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
 1.6 31-Jul-2007  jmmv branches: 1.6.10; 1.6.16;
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.
 1.5 20-Jun-2004  christos 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.
 1.4 04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.3 03-Oct-2003  dsl Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
 1.2 13-Feb-2002  martti Added ttyp[g-zA-Z] (bin/15594).
 1.1 10-Feb-2002  pooka Breathe life into etc.shark files by moving them over from etc.arm32
and modifying them appropriately in the process.

Remove the obsolete etc.arm32 files
 1.6.16.2 31-Jul-2007  jmmv 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.
 1.6.16.1 31-Jul-2007  jmmv file ttys was added on branch matt-mips64 on 2007-07-31 19:55:04 +0000
 1.6.10.1 17-Jan-2009  mjf Sync with HEAD.
 1.7.20.1 24-Jun-2012  riz Pull up following revision(s) (requested by martin in ticket #342):
etc/etc.shark/ttys: revision 1.8
etc/etc.hpcsh/ttys: revision 1.11
etc/etc.amiga/ttys: revision 1.24
etc/etc.arc/ttys: revision 1.8
etc/etc.alpha/ttys: revision 1.12
etc/etc.amigappc/ttys: revision 1.3
etc/etc.ofppc/ttys: revision 1.9
etc/etc.hp300/ttys: revision 1.16
etc/etc.rs6000/ttys: revision 1.2
etc/etc.i386/ttys: revision 1.20
etc/etc.acorn26/ttys: revision 1.4
etc/etc.iyonix/ttys: revision 1.4
etc/etc.netwinder/ttys: revision 1.8
etc/etc.mac68k/ttys: revision 1.20
etc/etc.evbarm/ttys: revision 1.7
etc/etc.pmax/ttys: revision 1.15
etc/etc.hpcmips/ttys: revision 1.10
share/terminfo/terminfo: revision 1.5
etc/etc.mvmeppc/ttys: revision 1.6
etc/etc.next68k/ttys: revision 1.10
etc/etc.acorn32/ttys: revision 1.9
etc/etc.ibmnws/ttys: revision 1.4
etc/etc.atari/ttys: revision 1.10
etc/etc.sgimips/ttys: revision 1.10
etc/etc.newsmips/ttys: revision 1.9
etc/etc.hpcarm/ttys: revision 1.6
etc/etc.cats/ttys: revision 1.7
etc/etc.amd64/ttys: revision 1.6
etc/etc.prep/ttys: revision 1.8
etc/etc.zaurus/ttys: revision 1.3
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.
Add a delete key capability to our wsvt25 entry. Fixes a problem noted by
David Lord on netbsd-users.
 1.7.18.1 30-Oct-2012  yamt sync with head
 1.8.36.1 28-Oct-2019  martin Pull up following revision(s) (requested by abs in ticket #384):

etc/etc.evbmips/ttys: revision 1.7
etc/etc.sparc64/ttys: revision 1.12
etc/etc.shark/ttys: revision 1.9
etc/etc.amiga/ttys: revision 1.25
etc/etc.arc/ttys: revision 1.9
etc/etc.sbmips/ttys: revision 1.6
etc/etc.landisk/ttys: revision 1.4
etc/etc.alpha/ttys: revision 1.13
etc/etc.amigappc/ttys: revision 1.4
etc/etc.mmeye/ttys: revision 1.8
etc/etc.ia64/ttys: revision 1.2
etc/etc.sandpoint/ttys: revision 1.8
etc/etc.hp300/ttys: revision 1.17
etc/etc.riscv/ttys: revision 1.2
etc/etc.i386/ttys: revision 1.21
etc/etc.aarch64/ttys: revision 1.2
etc/etc.algor/ttys: revision 1.6
etc/etc.sparc/ttys: revision 1.17
etc/etc.mipsco/ttys: revision 1.7
etc/etc.luna68k/ttys: revision 1.9
etc/etc.iyonix/ttys: revision 1.5
etc/etc.evbcf/ttys: revision 1.3
etc/etc.netwinder/ttys: revision 1.9
etc/etc.mvme68k/ttys: revision 1.10
etc/etc.evbarm/ttys: revision 1.8
etc/etc.evbsh3/ttys: revision 1.7
etc/etc.pmax/ttys: revision 1.16
etc/etc.hpcmips/ttys: revision 1.12
etc/etc.vax/ttys: revision 1.10
etc/etc.news68k/ttys: revision 1.10
etc/etc.mvmeppc/ttys: revision 1.7
etc/etc.hppa/ttys: revision 1.2
etc/etc.next68k/ttys: revision 1.11
etc/etc.ews4800mips/ttys: revision 1.3
etc/etc.epoc32/ttys: revision 1.2
etc/etc.emips/ttys: revision 1.2
etc/etc.evbppc/ttys: revision 1.7
etc/etc.sgimips/ttys: revision 1.11
etc/etc.or1k/ttys: revision 1.2
etc/etc.cesfic/ttys: revision 1.6
etc/etc.amd64/ttys: revision 1.7
etc/etc.playstation2/ttys: revision 1.7
etc/etc.zaurus/ttys: revision 1.4
etc/etc.newsmips/ttys: revision 1.10

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
 1.8.34.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed