Module Name: src
Committed By: dyoung
Date: Wed Mar 25 22:56:00 UTC 2009
Modified Files:
src/sys/arch/x86/include: i82093var.h isa_machdep.h
Log Message:
It is only by accident that these get the definitions they need from
<sys/device.h>, so explicitly #include <sys/device.h>.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/include/i82093var.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x86/include/isa_machdep.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/include/i82093var.h
diff -u src/sys/arch/x86/include/i82093var.h:1.10 src/sys/arch/x86/include/i82093var.h:1.11
--- src/sys/arch/x86/include/i82093var.h:1.10 Thu Jul 3 15:44:19 2008
+++ src/sys/arch/x86/include/i82093var.h Wed Mar 25 22:56:00 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: i82093var.h,v 1.10 2008/07/03 15:44:19 drochner Exp $ */
+/* $NetBSD: i82093var.h,v 1.11 2009/03/25 22:56:00 dyoung Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -34,6 +34,7 @@
#ifndef _X86_I82093VAR_H_
#define _X86_I82093VAR_H_
+#include <sys/device.h>
#include <machine/apicvar.h>
struct ioapic_pin
Index: src/sys/arch/x86/include/isa_machdep.h
diff -u src/sys/arch/x86/include/isa_machdep.h:1.7 src/sys/arch/x86/include/isa_machdep.h:1.8
--- src/sys/arch/x86/include/isa_machdep.h:1.7 Sun Feb 8 20:59:19 2009
+++ src/sys/arch/x86/include/isa_machdep.h Wed Mar 25 22:56:00 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: isa_machdep.h,v 1.7 2009/02/08 20:59:19 bouyer Exp $ */
+/* $NetBSD: isa_machdep.h,v 1.8 2009/03/25 22:56:00 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -73,6 +73,7 @@
#define _X86_ISA_MACHDEP_H_ /* XXX */
#include <machine/bus.h>
+#include <sys/device.h>
#include <dev/isa/isadmavar.h>
/*