diff options
author | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2014-04-16 12:01:34 +0000 |
---|---|---|
committer | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2014-04-16 12:01:34 +0000 |
commit | 4996567438ccba9f4d7be798894b816ce339ed1b (patch) | |
tree | 7b3794819e44d77bd26824bb1284e5d6ea6444d3 /sys/arch/luna88k/conf | |
parent | f835eee727683f1f21e319510529b3bf48777c3f (diff) |
Add generic driver for "NEC PC-9801(*) extension board slot" on
LUNA-88K.
LUNA-88K{,2} has one or two slot(s) that can attach the extension
board designed for PC-9801. This driver provides dedicated mmap(2)
and capability for waiting specified interrupt on that slot so that we
can use the extension board from userland program.
(*)PC-9801 is a Japanese popular personal computer, mainly used in
1980-90's. (see http://en.wikipedia.org/wiki/NEC_PC-9801)
ok miod@, and man pages jmc@
Diffstat (limited to 'sys/arch/luna88k/conf')
-rw-r--r-- | sys/arch/luna88k/conf/GENERIC | 5 | ||||
-rw-r--r-- | sys/arch/luna88k/conf/files.luna88k | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/luna88k/conf/GENERIC b/sys/arch/luna88k/conf/GENERIC index 9d6da0619e8..9f9382661e4 100644 --- a/sys/arch/luna88k/conf/GENERIC +++ b/sys/arch/luna88k/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.16 2013/04/28 23:33:12 aoyama Exp $ +# $OpenBSD: GENERIC,v 1.17 2014/04/16 12:01:33 aoyama Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -42,6 +42,9 @@ fb0 at mainbus0 spc0 at mainbus0 spc1 at mainbus0 +# PC-9801 extension board slot +pcex0 at mainbus0 + # Workstation Console attachments wsdisplay* at fb? wskbd* at ws? mux 1 diff --git a/sys/arch/luna88k/conf/files.luna88k b/sys/arch/luna88k/conf/files.luna88k index 27d0dc84ed1..1a8818b53d8 100644 --- a/sys/arch/luna88k/conf/files.luna88k +++ b/sys/arch/luna88k/conf/files.luna88k @@ -1,4 +1,4 @@ -# $OpenBSD: files.luna88k,v 1.19 2013/11/16 22:45:37 aoyama Exp $ +# $OpenBSD: files.luna88k,v 1.20 2014/04/16 12:01:33 aoyama Exp $ # maxpartitions 16 @@ -70,6 +70,10 @@ file arch/luna88k/dev/mb89352.c spc #file arch/luna88k/dev/nec86hw.c pcm needs-flag #file arch/luna88k/dev/nec86_luna88k.c pcm needs-flag +device pcex +attach pcex at mainbus +file arch/luna88k/dev/pcex.c pcex needs-flag + # list of standard files file arch/luna88k/luna88k/clock.c |