summaryrefslogtreecommitdiff
path: root/etc/etc.hp300
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2011-02-06 18:26:51 +0000
committertsutsui <tsutsui@NetBSD.org>2011-02-06 18:26:51 +0000
commit7908a815698f30be56090354ab8eca232b8b6871 (patch)
tree18548ce96ba7f4cccdceb62133f707f7f07ea818 /etc/etc.hp300
parent27a9361e18a07a693071a3c74e415fc60c07a473 (diff)
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.
Diffstat (limited to 'etc/etc.hp300')
-rw-r--r--etc/etc.hp300/MAKEDEV.conf33
-rw-r--r--etc/etc.hp300/ttys9
2 files changed, 8 insertions, 34 deletions
diff --git a/etc/etc.hp300/MAKEDEV.conf b/etc/etc.hp300/MAKEDEV.conf
index 6f949ea4a13..092fedd02a8 100644
--- a/etc/etc.hp300/MAKEDEV.conf
+++ b/etc/etc.hp300/MAKEDEV.conf
@@ -1,10 +1,9 @@
-# $NetBSD: MAKEDEV.conf,v 1.11 2007/01/15 23:35:12 hubertf Exp $
+# $NetBSD: MAKEDEV.conf,v 1.12 2011/02/06 18:26:51 tsutsui Exp $
all_md)
makedev ct0 ct1 rd0 rd1 rd2
-# makedev wscons # should be after 'std'
+ makedev wscons
makedev sd0 sd1 sd2 cd0 cd1 st0 st1 ch0
- makedev hil grf0 ite0
makedev ttyC0 ttyC1 ttyC2 ttyC3
makedev ttyM0 ttyM1 ttyM2 ttyM3 ttyM4 ttyM5 ttyM6 ttyM7
makedev ttyM8 ttyM9 ttyMa ttyMb ttyMc ttyMd ttyMe ttyMf
@@ -43,34 +42,6 @@ ct*)
esac
;;
-hil)
- for unit in 0 1 2 3 4 5 6 7
- do
- mkdev hil${unit} c 14 ${unit} 666
- if [ -f /usr/sbin/hilinfo ]; then
- case $(/usr/sbin/hilinfo -t hil${unit}) in
- mouse)
- if [ ! -f locator ]; then
- lndev hil${unit} locator
- fi
- ;;
- keyboard)
- if [ ! -f keyboard ]; then
- lndev hil${unit} keyboard
- fi
- ;;
- *)
- ;;
- esac
- fi
- done
- if [ ! -f /usr/sbin/hilinfo ]; then
- lndev hil1 keyboard
- lndev hil3 locator
- fi
-# warn "hil: use $0.hpux to make HP-UX names for devices"
- ;;
-
rd*)
name=rd; unit=${i#rd}; blk=2; chr=9
%MKDISK% $name $unit $blk $chr
diff --git a/etc/etc.hp300/ttys b/etc/etc.hp300/ttys
index 3269a0046b4..ae882046dd1 100644
--- a/etc/etc.hp300/ttys
+++ b/etc/etc.hp300/ttys
@@ -1,12 +1,15 @@
-# $NetBSD: ttys,v 1.14 2008/10/07 10:00:01 abs Exp $
+# $NetBSD: ttys,v 1.15 2011/02/06 18:26:51 tsutsui Exp $
# from: @(#)ttys 5.1 (Berkeley) 4/17/89
#
# 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
-constty "/usr/libexec/getty Pc" hp300h off secure
+console "/usr/libexec/getty Pc" vt220 on secure
+constty "/usr/libexec/getty Pc" vt220 off secure
+
+# Workstation console
+ttyE0 "/usr/libexec/getty Pc" vt220 off secure
# Hardwired lines are marked off, by default, so getty(8)
# is quiet when they don't exist.