Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax - Nuke xasc_ioasic.h and xasc_pmaz.h as no cod...



details:   https://anonhg.NetBSD.org/src/rev/bacfae45e0de
branches:  trunk
changeset: 499566:bacfae45e0de
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Thu Nov 23 09:44:14 2000 +0000

description:
- Nuke xasc_ioasic.h and xasc_pmaz.h as no code uses the symbols they define.
- Hide #include <pmax/dev/device.h> for "pmax oldscsi" inside
  #if NRZ > 0 || NTZ > 0.

diffstat:

 sys/arch/pmax/conf/files.pmax |   6 +++---
 sys/arch/pmax/pmax/autoconf.c |  11 ++++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (62 lines):

diff -r 8b6d14360b10 -r bacfae45e0de sys/arch/pmax/conf/files.pmax
--- a/sys/arch/pmax/conf/files.pmax     Thu Nov 23 02:35:10 2000 +0000
+++ b/sys/arch/pmax/conf/files.pmax     Thu Nov 23 09:44:14 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pmax,v 1.88 2000/10/10 10:25:55 ad Exp $
+#      $NetBSD: files.pmax,v 1.89 2000/11/23 09:44:14 nisimura Exp $
 # DECstation-specific configuration info
 
 # maxpartitions must be first item in files.${ARCH}.
@@ -138,9 +138,9 @@
 #
 device  xasc: ncr53c9x,scsi
 attach  xasc at tc with xasc_pmaz
-file    arch/pmax/tc/asc_pmaz.c         xasc_pmaz needs-flag
+file    arch/pmax/tc/asc_pmaz.c         xasc_pmaz
 attach  xasc at ioasic with xasc_ioasic   
-file    arch/pmax/tc/asc_ioasic.c       xasc_ioasic needs-flag
+file    arch/pmax/tc/asc_ioasic.c       xasc_ioasic
 
 
 # DC7085 (DZ-like four-port serial device) on ibus
diff -r 8b6d14360b10 -r bacfae45e0de sys/arch/pmax/pmax/autoconf.c
--- a/sys/arch/pmax/pmax/autoconf.c     Thu Nov 23 02:35:10 2000 +0000
+++ b/sys/arch/pmax/pmax/autoconf.c     Thu Nov 23 09:44:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.55 2000/11/21 14:21:36 ad Exp $ */
+/*     $NetBSD: autoconf.c,v 1.56 2000/11/23 09:44:15 nisimura Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.55 2000/11/21 14:21:36 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.56 2000/11/23 09:44:15 nisimura Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -55,7 +55,6 @@
 #include <machine/intr.h>
 #include <machine/sysconf.h>
 
-#include <pmax/dev/device.h>
 #include <pmax/pmax/pmaxtype.h>
 
 #include <dev/tc/tcvar.h>
@@ -66,10 +65,12 @@
 
 #include "rz.h"
 #include "tz.h"
-#include "xasc_ioasic.h"
-#include "xasc_pmaz.h"
 #include "opt_dec_3100.h"
 
+#if NRZ > 0 || NTZ > 0
+#include <pmax/dev/device.h>
+#endif
+
 struct intrhand intrtab[MAX_DEV_NCOOKIES];
 struct device *booted_device;
 static struct device *booted_controller;



Home | Main Index | Thread Index | Old Index