Hook in px & pxg devices.

This commit is contained in:
ad 2001-03-04 13:36:19 +00:00
parent 571ef6d823
commit 8a4900c534
3 changed files with 24 additions and 10 deletions

View File

@ -1,10 +1,10 @@
# $NetBSD: TCWSCONS,v 1.19 2001/02/23 07:21:41 nisimura Exp $
# $NetBSD: TCWSCONS,v 1.20 2001/03/04 13:36:20 ad Exp $
#
# TURBOchannel Alpha DEC3000
include "arch/alpha/conf/std.alpha"
#ident "TCWSCONS-$Revision: 1.19 $"
#ident "TCWSCONS-$Revision: 1.20 $"
maxusers 32
@ -133,6 +133,8 @@ asc* at tcds? chip ?
#cfb* at tc? slot ? offset ?
sfb* at tc? slot ? offset ?
#sfbp* at tc? slot ? offset ?
#px at tc? slot ? offset ?
#pxg at tc? slot ? offset ?
le* at tc? slot ? offset ?
fta* at tc? slot ? offset ? # DEC DEFTA FDDI cards
@ -152,6 +154,8 @@ st* at scsibus? target ? lun ? # SCSI tape drives
# Workstation Console attachments
#wsdisplay* at cfb?
wsdisplay* at sfb?
#wsdisplay* at px?
#wsdisplay* at pxg?
wskbd* at lkkbd? console ?
wsmouse* at vsms?

View File

@ -1,4 +1,4 @@
# $NetBSD: files.alpha,v 1.133 2001/02/23 07:21:41 nisimura Exp $
# $NetBSD: files.alpha,v 1.134 2001/03/04 13:36:19 ad Exp $
#
# alpha-specific configuration info
@ -181,6 +181,20 @@ device sfbp: wsemuldisplaydev, rasops32
attach sfbp at tc
file dev/tc/sfbplus.c sfbp needs-flag
# XXX: STIC (stamp interface chip) for PX and PXG
define stic
file dev/tc/stic.c stic
# XXX: PX PMAG-C
device px: wsemuldisplaydev, stic
attach px at tc
file dev/tc/px.c px needs-flag
# XXX: PXG PMAG-D, PMAG-E, PMAG-F
device pxg: wsemuldisplaydev, stic
attach pxg at tc
file dev/tc/pxg.c pxg needs-flag
# 8530 UARTs
device scc: tty
attach scc at ioasic

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcasic.c,v 1.33 2001/02/22 07:46:01 nisimura Exp $ */
/* $NetBSD: tcasic.c,v 1.34 2001/03/04 13:36:20 ad Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: tcasic.c,v 1.33 2001/02/22 07:46:01 nisimura Exp $");
__KERNEL_RCSID(0, "$NetBSD: tcasic.c,v 1.34 2001/03/04 13:36:20 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -174,10 +174,8 @@ tcasicprint(aux, pnp)
#include "cfb.h"
#include "sfb.h"
#include "sfbp.h"
#ifdef notyet
#include "px.h"
#include "pxg.h"
#endif
extern void sfb_cnattach __P((tc_addr_t));
extern void cfb_cnattach __P((tc_addr_t));
@ -189,7 +187,7 @@ extern int tc_checkslot __P((tc_addr_t, char *));
struct cnboards {
const char *cb_tcname;
void (*cb_cnattach)(tc_addr_t);
} static cnboards[] = {
} static const cnboards[] = {
#if NSFB > 0
{ "PMAGB-BA", sfb_cnattach },
#endif
@ -199,7 +197,6 @@ struct cnboards {
#if NSFBP > 0
{ "PMAGD ", sfbp_cnattach },
#endif
#ifdef notyet
#if NPX > 0
{ "PMAG-CA ", px_cnattach },
#endif
@ -210,7 +207,6 @@ struct cnboards {
{ "PMAGB-FA", pxg_cnattach },
{ "PMAGB-FB", pxg_cnattach },
#endif
#endif
};
/*