Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha Hook in the `stic' device. With any luck this...
details: https://anonhg.NetBSD.org/src/rev/939fffc39ea5
branches: trunk
changeset: 515189:939fffc39ea5
user: ad <ad%NetBSD.org@localhost>
date: Tue Sep 18 19:54:10 2001 +0000
description:
Hook in the `stic' device. With any luck this should be temporary.
diffstat:
sys/arch/alpha/alpha/conf.c | 9 +++++++--
sys/arch/alpha/conf/files.alpha | 8 ++++----
2 files changed, 11 insertions(+), 6 deletions(-)
diffs (74 lines):
diff -r 0039023f3084 -r 939fffc39ea5 sys/arch/alpha/alpha/conf.c
--- a/sys/arch/alpha/alpha/conf.c Tue Sep 18 19:53:15 2001 +0000
+++ b/sys/arch/alpha/alpha/conf.c Tue Sep 18 19:54:10 2001 +0000
@@ -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 @@
#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 @@
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 @@
/* 65 */ NODEV,
/* 66 */ NODEV,
/* 67 */ NODEV,
+ /* 68 */ NODEV,
};
/*
diff -r 0039023f3084 -r 939fffc39ea5 sys/arch/alpha/conf/files.alpha
--- a/sys/arch/alpha/conf/files.alpha Tue Sep 18 19:53:15 2001 +0000
+++ b/sys/arch/alpha/conf/files.alpha Tue Sep 18 19:54:10 2001 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index