Home | History | Annotate | only in /src/etc/etc.hp300
History log of /src/etc/etc.hp300
RevisionDateAuthorComments
 1.63 24-Oct-2003  jdolecek switch over to unified MAKEDEV
 1.62 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major range
 1.61 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.60 05-Sep-2003  dsl Put back port specific majors for ptys
 1.59 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.58 22-Aug-2003  itojun create /dev/crypto
 1.57 01-Aug-2003  tsutsui Add some MI SCSI devices.
 1.56 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.55 27-Apr-2003  ragge Add ksyms to "std" devices.
 1.54 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.53 31-Mar-2003  perry make ipl consistently "IP Filter"
 1.52 30-Mar-2003  perry IPilter->IP filter
 1.51 21-Oct-2002  lukem whitespace consistency cleanup
 1.50 04-Oct-2002  elric Include cgd on the list of things to be mknod(8)ed on all arches.
 1.49 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.48 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.47 17-Jun-2002  christos Add device creation support for systrace.
 1.46 13-Mar-2002  simonb branches: 1.46.2;
Remove trailing semicolons from lines that don't need them.
TABify many lines.
 1.45 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.44 04-Mar-2002  lukem be consistent with every other port and use symlinks rather than hardlinks
 1.43 03-Mar-2002  toshii Use a tab instead of 7 spaces.
 1.42 25-Feb-2002  atatat Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
 1.41 02-Feb-2002  tls Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
 1.40 02-Feb-2002  tls Add support for many more (930 or 992) ptys than the current 256.

Changes taken from the i386 MAKEDEV. Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
 1.39 21-Jan-2002  abs Move 'wscons' to directly after 'std'. Various MAKEDEVs had it pretty much
at the end, and as wscons (actually ttyE0) is required to login on the console,
it is probably better that an out of space MAKEDEV fail on some other device.
 1.38 19-Jan-2002  oster Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices.
 1.37 13-Jan-2002  manu Added clockctl
 1.36 19-Dec-2001  wiz Standardize scsibus* description.
 1.35 08-Nov-2001  gmcgarry placeholders for wscons
 1.34 29-Oct-2000  tsutsui Make md(4) device files on "all" target.
 1.33 27-Jul-2000  mason Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
 1.32 21-Jan-2000  tsutsui branches: 1.32.4;
- rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
 1.31 18-Dec-1999  tsutsui Correct md* entries.
 1.30 18-Oct-1999  ad Back out previous
 1.29 06-Oct-1999  ad Final chown user.group -> chown user:group changes.
 1.28 18-Sep-1999  hubertf branches: 1.28.2;
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.
 1.27 16-Jan-1999  abs On platforms that have GENERIC kernels containing 'bpfilter 8' or greater,
create at least eight bpf dev entries. (All except atari).
 1.26 13-Nov-1998  oster Added RAID devices for everyone!
 1.25 15-Oct-1998  thorpej Add /dev/scsibus* device nodes.
 1.24 26-Nov-1997  tv 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).
 1.23 20-Nov-1997  fair add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
 1.22 22-Aug-1997  lukem branches: 1.22.2;
ttyv* shouldn't be treated specially on the hp300 (it's an i386-ism)
 1.21 22-Aug-1997  lukem * use $0 instead of MAKEDEV
* set ct* mt* and st* to root.operator 660 (not root.wheel 666)
 1.20 31-Jul-1997  perry 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.
 1.19 23-Jul-1997  phil 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.
 1.18 22-Jul-1997  phil 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.
 1.17 07-Jul-1997  veego Added a new device entry for ipfilter: /dev/ipauth
 1.16 31-May-1997  thorpej Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
 1.15 23-May-1997  kleink Create /dev/ttyaN device nodes for Frodo-based APCIs.
 1.14 05-Jan-1997  thorpej Add "ipl" device.
 1.13 05-Jan-1997  thorpej Use shell arithmetic rather than expr(1), per Charles Hannum. (Wow,
a major speed improvement on an hp319!)
 1.12 05-Nov-1995  thorpej Remove device nodes before trying to create new ones.
 1.11 30-Sep-1995  thorpej branches: 1.11.2;
New-style RCS id.
 1.10 17-Aug-1995  thorpej Fix the ccd case.
 1.9 06-Jan-1995  mycroft Add mt.
 1.8 05-Jan-1995  mycroft Separate fd.
 1.7 16-Sep-1994  mycroft Correct bpf and tun major numbers.
 1.6 03-Aug-1994  hpeyerl cd -> ccd so as to match the driver-name.
 1.5 04-Apr-1994  cgd branches: 1.5.2;
hilinfo lives in /usr/sbin on hp300's now...
 1.4 06-Mar-1994  deraadt add "all" entry, and support lkm/tun/vnd drivers
 1.3 27-Feb-1994  deraadt support bpf properly
 1.2 17-Feb-1994  mycroft Add `zero'.
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add files for /usr/src/etc for the hp300
 1.5.2.2 16-Sep-1994  cgd From trunk
 1.5.2.1 03-Aug-1994  mycroft update from trunk
 1.11.2.1 07-Nov-1995  thorpej Update from trunk; remove device nodes before creating them.
 1.22.2.1 20-Nov-1997  mellon Pull rev 1.23 up from trunk (fair)
 1.28.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.32.4.1 11-Aug-2000  mason Create 64 PTYs in "all" target by default.
Requested by mason, approved by jhawk.
 1.46.2.1 10-Aug-2002  lukem Pull up revision 1.49 (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.15 09-Jul-2021  tsutsui Create rd3 device nodes, for HPDisk.
 1.14 28-Apr-2013  tsutsui branches: 1.14.32;
Fix yet another "openpty() failed" error during sysinst.

Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.

We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.

Should be pulled up to both netbsd-6 and netbsd-6-0.
 1.13 06-Sep-2011  apb branches: 1.13.2; 1.13.4; 1.13.8; 1.13.10;
Change foo*) case patterns to foo[0-9]*) in MD MAKEDEV.conf files,
as was done earlier today for the MI MAKEDEV.tmpl. There are
also a few instances of slightly different changes in the
case patterns.
 1.12 06-Feb-2011  tsutsui Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.11 15-Jan-2007  hubertf branches: 1.11.32;
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@
 1.10 07-Oct-2005  tsutsui branches: 1.10.4;
Remove compat symlink entries for old dca(4), dcm(4) and apci(4).
Now they might cause other problems.
 1.9 22-Dec-2003  lukem Add warn() to display message to stderr prefixed by the script name,
and use appropriately.
 1.8 21-Dec-2003  lukem 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"
 1.7 14-Dec-2003  he Change "ln -sf" to "ln -fs" to placate makedev2spec.awk.
 1.6 22-Nov-2003  tsutsui Update MD entries for DCA, DCM and APCI serial ports to migrate MI com(4):
- use ttyC[0123] for DCA and APCI with MI com(4)
- use ttyM[0-f] for DCM instead of tty0[0-f] to avoid confusion with MI com(4)
- create the foloowing symlnks to compatibility:
tty0 -> ttyC0 (for DCA)
ttya0 -> ttyC1 (for APCI)
ttya1 -> ttyC2 (for APCI)
ttya2 -> ttyC3 (for APCI)
tty0? -> ttyM? (for DCM)
- note the above symlinks should be removed after the next release

As per discussion on recent port-hp300 (ok'ed by thorpej).
 1.5 01-Nov-2003  he 'rd' under 'all' should be 'rd2', so make it so.
 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 remove copyright notice accidentaly carried over from the hp300
MAKEDEV script
 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.10.4.1 18-Feb-2007  tron Pull up following revision(s) (requested by hubertf in ticket #429):
etc/etc.bebox/MAKEDEV.conf: revision 1.5
etc/etc.x68k/MAKEDEV.conf: revision 1.8
etc/etc.next68k/MAKEDEV.conf: revision 1.3
etc/etc.ofppc/MAKEDEV.conf: revision 1.5
etc/etc.hpcmips/MAKEDEV.conf: revision 1.4
etc/etc.amd64/MAKEDEV.conf: revision 1.8
etc/etc.algor/MAKEDEV.conf: revision 1.4
etc/etc.sparc64/MAKEDEV.conf: revision 1.12
etc/etc.hp300/MAKEDEV.conf: revision 1.11
etc/etc.sgimips/MAKEDEV.conf: revision 1.8
etc/etc.pc532/MAKEDEV.conf: revision 1.5
etc/etc.mvmeppc/MAKEDEV.conf: revision 1.6
etc/etc.mvme68k/MAKEDEV.conf: revision 1.6
etc/etc.pmppc/MAKEDEV.conf: revision 1.6
etc/etc.cobalt/MAKEDEV.conf: revision 1.4
etc/etc.evbmips/MAKEDEV.conf: revision 1.4
etc/etc.sparc/MAKEDEV.conf: revision 1.11
etc/etc.hpcarm/MAKEDEV.conf: revision 1.7
etc/etc.i386/MAKEDEV.conf: revision 1.12
etc/etc.acorn32/MAKEDEV.conf: revision 1.8
etc/etc.evbppc/MAKEDEV.conf: revision 1.5
etc/etc.amiga/MAKEDEV.conf: revision 1.10
etc/etc.prep/MAKEDEV.conf: revision 1.4
etc/etc.sandpoint/MAKEDEV.conf: revision 1.4
etc/MAKEDEV.tmpl: revision 1.71
etc/etc.alpha/MAKEDEV.conf: revision 1.7
etc/etc.ibmnws/MAKEDEV.conf: revision 1.6
etc/etc.macppc/MAKEDEV.conf: revision 1.7
etc/etc.mmeye/MAKEDEV.conf: revision 1.5
etc/etc.mac68k/MAKEDEV.conf: revision 1.7
etc/etc.vax/MAKEDEV.conf: revision 1.10
etc/etc.arc/MAKEDEV.conf: revision 1.6
etc/etc.hp700/MAKEDEV.conf: revision 1.4
etc/etc.mipsco/MAKEDEV.conf: revision 1.3
etc/etc.atari/MAKEDEV.conf: revision 1.7
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@
 1.11.32.1 08-Feb-2011  bouyer Sync with HEAD
 1.13.10.1 29-Apr-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #880):
etc/etc.hp300/MAKEDEV.conf: revision 1.14
distrib/hp300/ramdisk/Makefile: revision 1.32
Fix yet another "openpty() failed" error during sysinst.
Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.
We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.
Should be pulled up to both netbsd-6 and netbsd-6-0.
 1.13.8.1 23-Jun-2013  tls resync from head
 1.13.4.1 29-Apr-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #880):
etc/etc.hp300/MAKEDEV.conf: revision 1.14
distrib/hp300/ramdisk/Makefile: revision 1.32
Fix yet another "openpty() failed" error during sysinst.
Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.
We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.
Should be pulled up to both netbsd-6 and netbsd-6-0.
 1.13.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.14.32.1 14-Jul-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1323):

sys/arch/hp300/dev/rd.c: revision 1.109
sys/arch/hp300/stand/Makefile.buildboot: revision 1.37
sys/arch/hp300/stand/common/ct.c: revision 1.8
sys/arch/hp300/dev/hpibvar.h: revision 1.22
sys/arch/hp300/dev/ct.c: revision 1.62
sys/arch/hp300/dev/hpibvar.h: revision 1.23
sys/arch/hp300/dev/ct.c: revision 1.63
sys/arch/hp300/dev/hpibvar.h: revision 1.24
sys/arch/hp300/dev/mt.c: revision 1.55
sys/arch/hp300/dev/rdreg.h: revision 1.14
sys/arch/hp300/dev/hpib.c: revision 1.43 (via patch)
sys/arch/hp300/dev/rdreg.h: revision 1.15
sys/arch/hp300/dev/rdreg.h: revision 1.16
sys/arch/hp300/dev/rdreg.h: revision 1.17
etc/etc.hp300/MAKEDEV.conf: revision 1.15
sys/arch/hp300/stand/common/hpibvar.h: revision 1.6
sys/arch/hp300/stand/common/rd.c: revision 1.11
sys/arch/hp300/dev/ctreg.h: revision 1.11
sys/arch/hp300/dev/rdvar.h: revision 1.24
sys/arch/hp300/dev/rdvar.h: revision 1.25
sys/arch/hp300/dev/rdvar.h: revision 1.26
sys/arch/hp300/dev/rd.c: revision 1.103
sys/arch/hp300/dev/rd.c: revision 1.104
sys/arch/hp300/dev/rd.c: revision 1.105
sys/arch/hp300/dev/rd.c: revision 1.106
sys/arch/hp300/dev/rd.c: revision 1.107
sys/arch/hp300/dev/rd.c: revision 1.108

Consistently use #define<tab> here.

Consistently use #define<tab> as rdreg.h.

No need to bother to use aprint_debug(9) inside #ifdef DEBUG block.

Pull HP-IB probe fixes from OpenBSD/hp300.
https://marc.info/?l=openbsd-cvs&m=113217630426615&w=2

Overhaul the way HP-IB devices are probed. We will now do an exhaustive
probe of the (slave, punit) tuple space, since this is the only way we
can get a dual disk or dual tape enclosure to attach two devices of the
same kind.

This allows using multiple rd(4) disk images on the same slave emulated
by HPDisk (and probably the real 9122D with dual floppy disk drives).

Thanks to Miod Vallat for suggesting this fix.

Move attach messages from common rdident() to explicit rdattach().

Cleanup duplicated CS/80 indentify structures. From OpenBSD.
https://marc.info/?l=openbsd-cvs&m=113227249626888&w=2

Define the CS/80 identify structure only once and correctly, instead of
duplicating it in every CS/80 driver and using an hardcoded number for
its size.
No functional change.
https://marc.info/?l=openbsd-cvs&m=113273001020159&w=2

Pick HP-IB describe structures changes from main kernel code here as well.

Add support of multiple rd(4) disks on all punits for HPDisk.

Special thanks to Anders Gustafsson, the author of "HPDisk"
(GPIB disk emulator) http://www.dalton.ax/hpdisk/
for providing bare boards and improving firmwares for NetBSD/hp300.

Specify -fno-unwind-tables to shrink binaries.

Before:
text data bss dec hex filename
77902 4328 137120 219350 358d6 uboot

After:
text data bss dec hex filename
64186 4328 137120 205634 32342 uboot

Create rd3 device nodes, for HPDisk.

Add Device and drive info of 2202A, 7908A, 7911A, and 7941A.

Geometries and description info are taken from hpdrive.ini.sample
in HPDrive. Briefly tested on HPDisk.

Print rd(4) capacity and geometry info as sd(4) and wd(4) do.

Before:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block

After:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 544 MB, 698 cyl, 13 head, 123 sec, 512 bytes/block x 1116102 blocks
 1.22 02-Jun-2023  lukem etc.hp300, etc.sparc64: fix MKUPDATE handling

UPDATE was replaced with MKUPDATE 20 years ago,
but these directories were missed in the conversion.
 1.21 18-Mar-2008  lukem Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
 1.20 24-Jul-2007  pavel branches: 1.20.4; 1.20.10; 1.20.12; 1.20.14;
Add a comment reminding to update the release notes if the list of
kernels change.
 1.19 22-Jan-2006  tsutsui Do ${MAKESUMS} for miniroot image.
 1.18 03-Jan-2003  lukem 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.17 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.16 02-May-2002  lukem - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
for a given platform
 1.15 22-Apr-2002  gmcgarry Use INSTALLATION_DIRS for directory creation.
 1.14 19-Apr-2002  gmcgarry Make the install notes before trying to install them.
 1.13 14-Apr-2002  gmcgarry Drop into ${.CURDIR}/../distrib/${MACHINE} and make release.
 1.12 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.11 13-Feb-2002  gmcgarry EXTRA_KERNELS -> BUILD_KERNELS
 1.10 10-Feb-2002  gmcgarry Compile new installation kernel.
 1.9 29-Nov-2001  thorpej Change the way kernel sets are specified, and make them
more consistent. To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port. A port may
# specify the following kernels:
#
# KERNEL_SETS The list of kernels that will be
# packaged into sets, named
# kern-${kernel}.tgz. These kernels
# are also placed in the binary/kernels
# area of the release package as
# netbsd-${kernel}.gz.
#
# EXTRA_KERNELS Additional kernels to place in the
# binary/kernels area of the release
# package as netbsd-${kernel}.gz, but
# which are not placed into sets. This
# allows a port to provide e.g. a netbootable
# installation kernel containing a ramdisk.
#
# BUILD_KERNELS Additional kernels to build which are
# not placed into sets nor into the
# binary/kernels area of the release
# package. These are typically kernels
# that are built for inclusion only in
# installation disk/CD-ROM/tape images.
#
 1.8 21-Apr-2001  he Make sure to depend and build in hp300/stand before doing ``make release''.
 1.7 31-May-2000  he branches: 1.7.2;
Build boot media and release notes under "snap_md_post", to complete
the "make release". Largely copied from the i386 port, and adapted.
 1.6 05-Feb-1999  cjs branches: 1.6.2; 1.6.8;
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.
 1.5 09-Oct-1998  itohy Use "${MAKE}" instead of "make" for cross compilation.
 1.4 28-Jun-1998  fair 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.
 1.3 06-Mar-1997  mikel eliminate dangling references to config.old;
from Klaus Klein in PR misc/3295.
 1.2 22-Mar-1996  scottr Overwrite existing snapshot kernel files when gzip'ing.
 1.1 06-Sep-1995  thorpej hp300-specific `etc' targets
 1.6.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.6.2.1 13-Jul-2000  he Pull up revision 1.7 (requested by he):
Enhance the ``make release'' process:
o Make installation directories
o Build and install the distrib and boot bits
 1.7.2.1 21-Apr-2001  he Pull up revision 1.8 (requested by he):
Make sure to depend and build before doing ``make release'' in
sys/arch/hp300/stand.
 1.20.14.2 24-Jul-2007  pavel Add a comment reminding to update the release notes if the list of
kernels change.
 1.20.14.1 24-Jul-2007  pavel file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:26 +0000
 1.20.12.1 03-Apr-2008  mjf Sync with HEAD.
 1.20.10.1 24-Mar-2008  keiichi sync with head.
 1.20.4.1 23-Mar-2008  matt sync with HEAD
 1.7 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.6 07-May-2002  simonb Fix some white space niggles.
 1.5 09-Apr-2002  tron Back out last change because we now have a special disktab for the
FFS regression test.
 1.4 09-Apr-2002  tron Add missing "floppy288" entry required for FFS regression test.
 1.3 30-Sep-1995  thorpej New-style RCS id.
 1.2 30-Sep-1995  thorpej Make sure there's an entry for each HP-IB disk handled by COMPAT_NOLABEL.
Also, make sure that each HP-IB disk entry has an alias that looks like
what autoconfig reports as the disk model number. Add an entry for
`miniroot'.
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add files for /usr/src/etc for the hp300
 1.3 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 22-Aug-1995  thorpej Example fstab files.
 1.3 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 22-Aug-1995  thorpej Example fstab files.
 1.17 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.16 13-Jun-2012  martin branches: 1.16.34; 1.16.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.15 06-Feb-2011  tsutsui branches: 1.15.4; 1.15.6;
Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.14 07-Oct-2008  abs branches: 1.14.14;
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.13 07-Oct-2005  tsutsui branches: 1.13.20;
Remove old tty0? entries and add new ttyC? and ttyM?.
 1.12 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.11 04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.10 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.9 13-Feb-2002  martti Added ttyp[g-zA-Z] (bin/15594).
 1.8 12-Aug-2000  mason 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.
 1.7 30-Sep-1995  thorpej branches: 1.7.16;
Delete some non-applicable comments.
 1.6 30-Sep-1995  thorpej Default console to hp300h (the emulation used by the ITE), not pc3.
New-style RCS id.
 1.5 23-Aug-1993  cgd changes from 0.9-ALPHA2 to 0.9-BETA
 1.4 10-Jul-1993  mycroft branches: 1.4.2;
Remove a spurious `unknown' that was screwing people over.
 1.3 08-Jul-1993  cgd changes for init...
 1.2 02-Apr-1993  cgd changed `console' to `vga'
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.2.1 20-Aug-1993  cgd add i386-specific instructions. still need to deal with the fact
that the generic console's getty is type "Pc" -- BOGUS!!!
 1.7.16.1 12-Aug-2000  mason This should be the last piece of the move to 64 default PTYs. /etc/ttys now
has entries for 64 ptys.

Thanks to Matthew Green for pointing out the need for this.
 1.13.20.1 17-Jan-2009  mjf Sync with HEAD.
 1.14.14.1 08-Feb-2011  bouyer Sync with HEAD
 1.15.6.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.15.4.1 30-Oct-2012  yamt sync with head
 1.16.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.16.34.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed