Need sys/device.h

This commit is contained in:
ad 2008-01-04 22:13:55 +00:00
parent 482c583bd7
commit fb1e16b417
9 changed files with 33 additions and 26 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.19 2007/12/05 12:31:26 tsutsui Exp $ */
/* $NetBSD: autoconf.c,v 1.20 2008/01/04 22:13:55 ad Exp $ */
/*
* Copyright (c) 1992, 1993
@ -77,11 +77,12 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.19 2007/12/05 12:31:26 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.20 2008/01/04 22:13:55 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h> /* setroot() */
#include <sys/device.h>
#include <machine/disklabel.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.14 2005/12/11 12:17:33 christos Exp $ */
/* $NetBSD: cpu.c,v 1.15 2008/01/04 22:13:55 ad Exp $ */
/*-
* Copyright (c) 1999 Shin Takemura, All rights reserved.
* Copyright (c) 1999-2001 SATO Kazumi, All rights reserved.
@ -56,13 +56,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.14 2005/12/11 12:17:33 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.15 2008/01/04 22:13:55 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/bus.h>
#include <machine/sysconf.h>
#include <machine/bus.h>
#include <machine/autoconf.h>
/* Definition of the driver for autoconfig. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.29 2006/02/24 13:06:12 cube Exp $ */
/* $NetBSD: mainbus.c,v 1.30 2008/01/04 22:13:56 ad Exp $ */
/*-
* Copyright (c) 1999
@ -35,12 +35,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.29 2006/02/24 13:06:12 cube Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.30 2008/01/04 22:13:56 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/bus.h>
#include <machine/bus.h>
#include <machine/autoconf.h>
#include <machine/platid.h>
#include <machine/bus_space_hpcmips.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.c,v 1.32 2006/03/29 04:16:45 thorpej Exp $ */
/* $NetBSD: isa_machdep.c,v 1.33 2008/01/04 22:13:56 ad Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -37,13 +37,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.32 2006/03/29 04:16:45 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.33 2008/01/04 22:13:56 ad Exp $");
#include "opt_vr41xx.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/reboot.h>
#include <sys/device.h>
#include <dev/isa/isavar.h>
#include <dev/isa/isareg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: tx39clock.c,v 1.21 2006/09/16 02:14:57 gdamore Exp $ */
/* $NetBSD: tx39clock.c,v 1.22 2008/01/04 22:13:57 ad Exp $ */
/*-
* Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@ -37,17 +37,18 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tx39clock.c,v 1.21 2006/09/16 02:14:57 gdamore Exp $");
__KERNEL_RCSID(0, "$NetBSD: tx39clock.c,v 1.22 2008/01/04 22:13:57 ad Exp $");
#include "opt_tx39clock_debug.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/timetc.h>
#include <sys/device.h>
#include <sys/bus.h>
#include <dev/clock_subr.h>
#include <machine/bus.h>
#include <machine/sysconf.h>
#include <hpcmips/tx/tx39var.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtc.c,v 1.24 2006/09/16 02:14:57 gdamore Exp $ */
/* $NetBSD: rtc.c,v 1.25 2008/01/04 22:13:57 ad Exp $ */
/*-
* Copyright (c) 1999 Shin Takemura. All rights reserved.
@ -36,13 +36,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rtc.c,v 1.24 2006/09/16 02:14:57 gdamore Exp $");
__KERNEL_RCSID(0, "$NetBSD: rtc.c,v 1.25 2008/01/04 22:13:57 ad Exp $");
#include "opt_vr41xx.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/timetc.h>
#include <sys/device.h>
#include <machine/sysconf.h>
#include <machine/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vr.c,v 1.49 2007/12/03 15:33:44 ad Exp $ */
/* $NetBSD: vr.c,v 1.50 2008/01/04 22:13:57 ad Exp $ */
/*-
* Copyright (c) 1999-2002
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.49 2007/12/03 15:33:44 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.50 2008/01/04 22:13:57 ad Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@ -44,12 +44,13 @@ __KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.49 2007/12/03 15:33:44 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/reboot.h>
#include <sys/device.h>
#include <sys/bus.h>
#include <uvm/uvm_extern.h>
#include <machine/sysconf.h>
#include <machine/bootinfo.h>
#include <machine/bus.h>
#include <machine/bus_space_hpcmips.h>
#include <machine/platid.h>
#include <machine/platid_mask.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vr4102ip.c,v 1.7 2005/12/11 12:17:34 christos Exp $ */
/* $NetBSD: vr4102ip.c,v 1.8 2008/01/04 22:13:57 ad Exp $ */
/*-
* Copyright (c) 2002 TAKEMURA Shin
@ -31,12 +31,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vr4102ip.c,v 1.7 2005/12/11 12:17:34 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: vr4102ip.c,v 1.8 2008/01/04 22:13:57 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <machine/bus.h>
#include <sys/device.h>
#include <sys/bus.h>
#include "opt_vr41xx.h"
#include <hpcmips/vr/vrcpudef.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vr4122ip.c,v 1.6 2005/12/11 12:17:34 christos Exp $ */
/* $NetBSD: vr4122ip.c,v 1.7 2008/01/04 22:13:57 ad Exp $ */
/*-
* Copyright (c) 2002 TAKEMURA Shin
@ -31,12 +31,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vr4122ip.c,v 1.6 2005/12/11 12:17:34 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: vr4122ip.c,v 1.7 2008/01/04 22:13:57 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <machine/bus.h>
#include <sys/device.h>
#include <sys/bus.h>
#include "opt_vr41xx.h"
#include <hpcmips/vr/vrcpudef.h>