Remove implicit include <dev/sbus/sbusvar.h> from autoconf.h, and

add it explicitly in files depending on it.
This commit is contained in:
nakayama 2011-03-12 11:43:38 +00:00
parent 51279a6946
commit 4887604bc0
4 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: auxio.c,v 1.20 2008/06/13 13:10:49 cegger Exp $ */
/* $NetBSD: auxio.c,v 1.21 2011/03/12 11:43:38 nakayama Exp $ */
/*
* Copyright (c) 2000, 2001 Matthew R. Green
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: auxio.c,v 1.20 2008/06/13 13:10:49 cegger Exp $");
__KERNEL_RCSID(0, "$NetBSD: auxio.c,v 1.21 2011/03/12 11:43:38 nakayama Exp $");
#include "opt_auxio.h"
@ -49,7 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: auxio.c,v 1.20 2008/06/13 13:10:49 cegger Exp $");
#include <dev/ebus/ebusreg.h>
#include <dev/ebus/ebusvar.h>
#include <sparc64/dev/sbusvar.h>
#include <dev/sbus/sbusvar.h>
#include <sparc64/dev/auxioreg.h>
#include <sparc64/dev/auxiovar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdc.c,v 1.33 2010/02/24 22:37:55 dyoung Exp $ */
/* $NetBSD: fdc.c,v 1.34 2011/03/12 11:43:38 nakayama Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -101,7 +101,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.33 2010/02/24 22:37:55 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.34 2011/03/12 11:43:38 nakayama Exp $");
#include "opt_ddb.h"
#include "opt_md.h"
@ -141,7 +141,7 @@ __KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.33 2010/02/24 22:37:55 dyoung Exp $");
#elif SUN4U
#include <dev/ebus/ebusreg.h>
#include <dev/ebus/ebusvar.h>
/* #include <sparc/sparc/auxreg.h> */
#include <dev/sbus/sbusvar.h>
#include <sparc64/dev/auxioreg.h>
#include <sparc64/dev/auxiovar.h>
#include <sparc64/dev/fdcreg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: zs.c,v 1.69 2009/10/26 19:55:11 martin Exp $ */
/* $NetBSD: zs.c,v 1.70 2011/03/12 11:43:38 nakayama Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.69 2009/10/26 19:55:11 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.70 2011/03/12 11:43:38 nakayama Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -68,6 +68,7 @@ __KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.69 2009/10/26 19:55:11 martin Exp $");
#include <dev/sun/kbd_ms_ttyvar.h>
#include <ddb/db_output.h>
#include <dev/sbus/sbusvar.h>
#include <sparc64/dev/cons.h>
#include "ioconf.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.h,v 1.28 2008/04/28 20:23:36 martin Exp $ */
/* $NetBSD: autoconf.h,v 1.29 2011/03/12 11:43:38 nakayama Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -75,7 +75,6 @@
#include <machine/bus.h>
#include <machine/promlib.h>
#include <dev/sbus/sbusvar.h>
/* This is used to map device classes to IPLs */
struct intrmap {