37d37e0791
with pk: Use dev/rcons/files.rcons in the pmax config file. Use "rasterconsole" as the tag in pmax/conf, and modify the pmax framebuffer pseudo-device drivers (fb and rcons) to us rasterconsole.h and RASTERCONSOLE for compile-time configuration of the rcons pseudo-device. Modify the pmax rcons pseudo-device driver to initialize a little-endian, QVSS-compatible font (set its ascent, and set the rconsole structure to point to that font) before calling rcons_connect(). Tested on a cfb. The ascent may be wrong (or at least, not be aligned with the hw cursor sprite) on a 3100.
180 lines
4.6 KiB
Plaintext
180 lines
4.6 KiB
Plaintext
# $NetBSD: files.pmax,v 1.24 1995/10/05 01:53:05 jonathan Exp $
|
|
# DECstation-specific configuration info
|
|
|
|
# maxpartitions must be first item in files.${ARCH}.
|
|
maxpartitions 8
|
|
|
|
maxusers 2 8 64
|
|
|
|
#
|
|
# Bus-independent devices
|
|
#
|
|
device mainbus at root { } # no locators
|
|
|
|
device cpu at mainbus # not optional
|
|
file arch/pmax/pmax/cpu.c cpu
|
|
|
|
|
|
#
|
|
# Auto-configuration driver for the turbochannel bus itself.
|
|
#
|
|
device tc at mainbus { } #{ slot = -1, offset = -1 }
|
|
file arch/pmax/tc/tc.c tc needs-flag
|
|
|
|
|
|
#
|
|
# The TurboChannel IOCTL ASIC. Present on IOASIC machines,
|
|
# which is all turbochannel machines ever built except the 3MAX (5000/200).
|
|
#
|
|
device ioasic at tc { } #{ } # not really optional
|
|
file arch/pmax/tc/asic.c ioasic
|
|
|
|
|
|
# Real-time clock (not optional)
|
|
device clock at ioasic,tc,mainbus
|
|
file arch/pmax/pmax/clock.c clock
|
|
|
|
|
|
#
|
|
# Machine-independent SCSI driver.
|
|
#
|
|
|
|
include "../../../scsi/files.scsi"
|
|
#major { st = 10 }
|
|
#major { cd = 3 }
|
|
#major { sd = 21 }
|
|
major { tz = 10 }
|
|
major { rz = 21 }
|
|
|
|
#
|
|
# Old 4.4bsd pmax-specific scsi driver (deprecated).
|
|
#
|
|
define oldscsi {}
|
|
device oldscsibus at oldscsi {target = -1, drive = -1}
|
|
|
|
# asc: system-slot or turbochannel-option SCSI interface
|
|
device asc at ioasic,tc: oldscsi,scsi
|
|
file arch/pmax/dev/asc.c asc needs-flag
|
|
|
|
# sii: kn01 SCSI interface
|
|
device sii at mainbus: oldscsi,scsi
|
|
file arch/pmax/dev/sii.c sii needs-flag
|
|
|
|
|
|
device tz at oldscsibus: tape
|
|
file arch/pmax/dev/tz.c tz needs-count
|
|
|
|
device rz at oldscsibus: disk
|
|
file arch/pmax/dev/rz.c rz needs-count
|
|
|
|
#
|
|
# Optional device-drivers
|
|
#
|
|
|
|
# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines.
|
|
# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an ASIC.
|
|
device dc at mainbus,ioasic
|
|
file arch/pmax/dev/dc.c dc needs-count
|
|
|
|
# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
|
|
device dtop at ioasic
|
|
file arch/pmax/dev/dtop.c dtop needs-count
|
|
|
|
# LANCE ethernet driver.
|
|
# XXX Should use new machine-independent one instead.
|
|
device le at ioasic,tc,mainbus: ifnet, ether
|
|
file arch/pmax/tc/if_le.c le needs-flag
|
|
|
|
# 3100 (pmax) onboard framebuffer
|
|
device pm at mainbus
|
|
file arch/pmax/dev/pm.c pm needs-count
|
|
file arch/pmax/dev/bt478.c pm
|
|
|
|
########################################################################
|
|
# Turbochannel options.
|
|
########################################################################
|
|
|
|
device cfb at tc
|
|
file arch/pmax/dev/cfb.c cfb needs-count
|
|
|
|
device sfb at tc
|
|
file arch/pmax/dev/sfb.c sfb needs-count
|
|
|
|
device mfb at tc
|
|
file arch/pmax/dev/mfb.c mfb needs-count
|
|
|
|
# Zilog 8350/Intel 82350(?) SCC UART.
|
|
device scc at ioasic
|
|
file arch/pmax/tc/scc.c scc needs-count
|
|
|
|
# MAXINE onboard framebuffer
|
|
device xcfb at tc
|
|
file arch/pmax/dev/xcfb.c xcfb needs-count
|
|
file arch/pmax/dev/ims332.c xcfb
|
|
|
|
# DECWRL 45Mbit T3 interface
|
|
device tt at tc
|
|
file arch/pmax/dev/if_tt.c tt needs-count
|
|
|
|
## bogus pmax-specific SCSI code. Leave in until new-style config done.
|
|
file arch/pmax/dev/scsi.c
|
|
|
|
file arch/pmax/pmax/autoconf.c
|
|
file arch/pmax/pmax/conf.c
|
|
#file arch/pmax/pmax/kadb.c optional kadb
|
|
#file arch/pmax/pmax/machdep.c standard config-dependent
|
|
file arch/pmax/pmax/machdep.c
|
|
file arch/pmax/pmax/cpu_exec.c
|
|
file arch/pmax/pmax/mem.c
|
|
file arch/pmax/pmax/pmap.c
|
|
file arch/pmax/pmax/process_machdep.c
|
|
file arch/pmax/pmax/sys_machdep.c
|
|
file arch/pmax/pmax/trap.c
|
|
file arch/pmax/pmax/vm_machdep.c
|
|
file arch/pmax/pmax/disksubr.c
|
|
file arch/pmax/stand/libsa/callvec.c
|
|
file arch/pmax/pmax/elf.c
|
|
file arch/pmax/pmax/mainbus.c
|
|
|
|
# Console autoconfiguration code: selects between a framebuffers
|
|
file arch/pmax/pmax/cpu_cons.c
|
|
file dev/cons.c
|
|
|
|
# pmax configuration glue for rconsole. Requires fb pseudo-device.
|
|
|
|
include "../../../dev/rcons/files.rcons"
|
|
|
|
pseudo-device rasterconsole
|
|
file arch/pmax/dev/rcons.c rasterconsole needs-flag
|
|
file arch/pmax/dev/font.c rasterconsole # rcons fontdef
|
|
|
|
file netinet/in_cksum.c
|
|
file netns/ns_cksum.c ns
|
|
|
|
## Support code for LK-201 keyboards, mice, and qvss ring buffers
|
|
file arch/pmax/dev/lk201.c pm or cfb or sfb or mfb or xcfb
|
|
file arch/pmax/dev/qvss_compat.c fb
|
|
|
|
|
|
# VDAC/RAMDAC support for framebuffers. Other devices supported by
|
|
# NetBSD may use the same chips, too.
|
|
file arch/pmax/dev/bt459.c cfb or sfb
|
|
|
|
#
|
|
# Pseudo-device driver for framebuffers. All user-level requests,
|
|
# including open(), go through the fb driver, which presents a consistent
|
|
# interface to all framebuffers. Configure as many units as you
|
|
# have framebuffers. Provides qvss-style interface compatible with
|
|
# X11R5 servers.
|
|
#
|
|
pseudo-device fb
|
|
file arch/pmax/dev/fb.c fb needs-count
|
|
|
|
# Glue for old-style config
|
|
file arch/pmax/pmax/conf-glue.c
|
|
|
|
# Ultrix Binary Compatibility (COMPAT_ULTRIX)
|
|
include "../../../compat/ultrix/files.ultrix"
|
|
|
|
# Configs
|