Hook in the `stic' device. With any luck this should be temporary.

This commit is contained in:
ad 2001-09-18 19:54:10 +00:00
parent baec33e155
commit d29ceae643
2 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.c,v 1.58 2001/09/15 04:40:21 thorpej Exp $ */
/* $NetBSD: conf.c,v 1.59 2001/09/18 19:54:10 ad Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -37,7 +37,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.58 2001/09/15 04:40:21 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.59 2001/09/18 19:54:10 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -215,6 +215,9 @@ cdev_decl(pci);
#include "agp.h"
cdev_decl(agp);
#include "stic.h"
cdev_decl(stic);
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@ -295,6 +298,7 @@ struct cdevsw cdevsw[] =
cdev__oci_init(NMLX,mlx), /* 65: Mylex DAC960 control interface */
cdev_pci_init(NPCI,pci), /* 66: PCI bus access device */
cdev__ocim_init(NAGP,agp), /* 67: AGP graphics aperture device */
cdev__ocm_init(NSTIC,stic), /* 68: PixelStamp mmap interface */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
@ -404,6 +408,7 @@ static int chrtoblktbl[] = {
/* 65 */ NODEV,
/* 66 */ NODEV,
/* 67 */ NODEV,
/* 68 */ NODEV,
};
/*

View File

@ -1,4 +1,4 @@
# $NetBSD: files.alpha,v 1.143 2001/09/15 04:33:38 thorpej Exp $
# $NetBSD: files.alpha,v 1.144 2001/09/18 19:54:10 ad Exp $
#
# alpha-specific configuration info
@ -193,17 +193,17 @@ 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
file dev/tc/stic.c stic needs-flag
# XXX: PX PMAG-C
device px: wsemuldisplaydev, stic
attach px at tc
file dev/tc/px.c px needs-flag
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
file dev/tc/pxg.c pxg needs-flag
# 8530 UARTs
device scc: tty