diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-14 22:39:41 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-14 22:39:41 +0000 |
commit | 273b900d6597bdaa55c8f7565ccfcfd87910c84f (patch) | |
tree | de2ec91a3754bec3aeefc49cac97832f7dc43bea /etc/etc.hp300 | |
parent | 09195bcd50c1ebbc578d97af2b759602c1b64b16 (diff) |
Switch OpenBSD/hp300 to wscons, still using on-board ROM fonts for now.
Main features:
- MI hil drivers, allowing live plug/unplug of devices, and the keyboard
does not need to be at id 1 anymore.
- SGC bus support on 4xx models. SGC frame buffers are supported too, but
not as console, though you can use them as a regular glass terminal if
you run a getty on ttyC0. Currently not compiled-in, awaiting for an sti(4)
fix to be commited.
- HP-UX compatibility interfaces are removed. grfinfo and hilinfo are removed.
X11 support is currently broken by these changes; X.org X11R6 support will
be available very soon.
Tested on hyperion and 4 different flavours of catseye/topcat/kathmandu; other,
older frame buffers (davinci, gatorbox and renaissance) could not been tested
but should work; please report any regression.
Diffstat (limited to 'etc/etc.hp300')
-rw-r--r-- | etc/etc.hp300/MAKEDEV.md | 52 | ||||
-rw-r--r-- | etc/etc.hp300/fbtab | 2 | ||||
-rw-r--r-- | etc/etc.hp300/ttys | 13 |
3 files changed, 15 insertions, 52 deletions
diff --git a/etc/etc.hp300/MAKEDEV.md b/etc/etc.hp300/MAKEDEV.md index cab4c45e608..1a16a0a61a5 100644 --- a/etc/etc.hp300/MAKEDEV.md +++ b/etc/etc.hp300/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.22 2004/08/03 21:46:46 miod Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.23 2005/01/14 22:39:15 miod Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> @@ -41,7 +41,6 @@ _mkdev(ct, ct*|mt*, echo bad unit for tape in: $1 ;; esac-})dnl -__devitem(grf, grf*, Raw interface to HP300 graphics devices)dnl dnl dnl _TITLE(make) @@ -71,14 +70,17 @@ _DEV(ptm, 52) _DEV(pty, 5) _DEV(tty, 4) _TITLE(cons) -_DEV(grf, 10) -_DEV(ite) +_DEV(wscons) +_DEV(wsdisp, 40) +_DEV(wskbd, 41) +_DEV(wsmux, 43) +_TITLE(point) +_DEV(wsmouse, 42) _TITLE(prn) _DEV(ppi, 11) _TITLE(spec) _DEV(bpf, 22) _DEV(fdesc, 21) -_DEV(hil, 14) _DEV(lkm, 24) _DEV(pf, 33) _DEV(rnd, 32) @@ -93,7 +95,7 @@ dnl ramdisk) _recurse std ct0 ct1 st0 st1 hd0 hd1 hd2 hd3 hd4 _recurse sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 pty0 - _recurse hil grf0 apci0 ite0 dca0 dcm0 dcm1 + _recurse apci0 dca0 dcm0 dcm1 _recurse bpf0 bpf1 tun0 tun1 lkm random ;; @@ -160,37 +162,6 @@ ppi*) esac ;; -ite*) - case $U in - 0|1|2|3) - M ttye$U c 13 $U 600 - ;; - *) - echo bad unit for ite in: $i - ;; - esac - ;; - -grf*) - case $U in - 0|1|2|3) - M grf$U c major_grf_c $U 600 - ;; - *) - echo bad unit for grf in: $i - ;; - esac - ;; - -hil) - for U in 0 1 2 3 4 5 6 7 - do - M hil$U c 14 $U 600 - done - MKlist="$MKlist;ln hil1 keyboard" - MKlist="$MKlist;ln hil3 locator" - RMlist="$RMlist keyboard locator" - ;; dnl target(all, ses, 0)dnl target(all, ch, 0)dnl @@ -209,14 +180,10 @@ target(all, st, 0, 1)dnl target(all, uk, 0)dnl target(all, vnd, 0, 1, 2, 3)dnl target(all, ccd, 0, 1, 2, 3)dnl -target( all, grf, 0)dnl -dnl XXX target( all, hil, 0, 1, 2, 3, 4, 5, 6, 7)dnl -target( all, hil, )dnl target( all, dca, 0, 1)dnl target( all, dcm, 0, 1, 2, 3)dnl target( all, hd, 0, 1, 2)dnl target( all, ct, 0, 1)dnl -target( all, ite, 0)dnl target( all, ttye, 0, 1, 2, 3, 4, 5, 6)dnl target(ramd, cd, 0, 1)dnl target(ramd, ct, 0, 1)dnl @@ -225,10 +192,7 @@ target(ramd, sd, 0, 1, 2)dnl target(ramd, st, 0, 1)dnl target(ramd, rd, 0, 1)dnl target(ramd, pty, 0)dnl -target(ramd, hil, )dnl -target(ramd, grf, 0)dnl target(ramd, apci, 0)dnl -target(ramd, ite, 0)dnl target(ramd, dca, 0)dnl target(ramd, dcm, 0, 1)dnl target(ramd, bpf, 0, 1)dnl diff --git a/etc/etc.hp300/fbtab b/etc/etc.hp300/fbtab index 32fb4f357f4..d0c58313610 100644 --- a/etc/etc.hp300/fbtab +++ b/etc/etc.hp300/fbtab @@ -1 +1 @@ -/dev/console 0600 /dev/grf0:/dev/hil0:/dev/hil1:/dev/hil2:/dev/hil3:/dev/hil4:/dev/hil5:/dev/hil6:/dev/hil7 +/dev/console 0600 /dev/ttyC0:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg diff --git a/etc/etc.hp300/ttys b/etc/etc.hp300/ttys index 71c3d707c90..356f59b9349 100644 --- a/etc/etc.hp300/ttys +++ b/etc/etc.hp300/ttys @@ -1,14 +1,13 @@ # -# $OpenBSD: ttys,v 1.6 2002/06/09 06:15:14 todd Exp $ +# $OpenBSD: ttys,v 1.7 2005/01/14 22:39:15 miod Exp $ # # name getty type status comments # -# If the console is marked insecure, single-user requires -# the root password. -console "/usr/libexec/getty Pc" hp300h on secure - -# Hardwired lines are marked off, by default, so getty(8) -# is quiet when they don't exist. +# main console device +console "/usr/libexec/getty std.9600" vt220 on secure +# graphics console +ttyC0 "/usr/libexec/getty std.9600" vt220 off secure +# serial lines tty00 "/usr/libexec/getty std.9600" unknown off secure tty01 "/usr/libexec/getty std.9600" unknown off secure tty02 "/usr/libexec/getty std.9600" unknown off secure |