Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/nor #include <sys/bus.h> not <machine/bus.h>.
details: https://anonhg.NetBSD.org/src/rev/fc8eb5984167
branches: trunk
changeset: 767359:fc8eb5984167
user: dyoung <dyoung%NetBSD.org@localhost>
date: Sun Jul 17 00:52:42 2011 +0000
description:
#include <sys/bus.h> not <machine/bus.h>.
diffstat:
sys/dev/nor/cfi.c | 6 +++---
sys/dev/nor/cfi.h | 4 ++--
sys/dev/nor/cfi_0002.c | 6 +++---
sys/dev/nor/nor.h | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
diffs (83 lines):
diff -r b359fac310e2 -r fc8eb5984167 sys/dev/nor/cfi.c
--- a/sys/dev/nor/cfi.c Sat Jul 16 23:49:10 2011 +0000
+++ b/sys/dev/nor/cfi.c Sun Jul 17 00:52:42 2011 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: cfi.c,v 1.1 2011/07/15 19:19:57 cliff Exp $ */
+/* $NetBSD: cfi.c,v 1.2 2011/07/17 00:52:42 dyoung Exp $ */
#include "opt_nor.h"
#include "opt_flash.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cfi.c,v 1.1 2011/07/15 19:19:57 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cfi.c,v 1.2 2011/07/17 00:52:42 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -12,7 +12,7 @@
#include <sys/device.h>
#include <sys/endian.h>
-#include <machine/bus.h>
+#include <sys/bus.h>
#include <dev/nor/nor.h>
#include <dev/nor/cfi.h>
diff -r b359fac310e2 -r fc8eb5984167 sys/dev/nor/cfi.h
--- a/sys/dev/nor/cfi.h Sat Jul 16 23:49:10 2011 +0000
+++ b/sys/dev/nor/cfi.h Sun Jul 17 00:52:42 2011 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: cfi.h,v 1.2 2011/07/15 19:19:57 cliff Exp $ */
+/* $NetBSD: cfi.h,v 1.3 2011/07/17 00:52:42 dyoung Exp $ */
#ifndef _CFI_H_
#define _CFI_H_
#include <dev/nor/cfi_0002.h>
-#include <machine/bus.h>
+#include <sys/bus.h>
/*
* minimum size to bus_space_map for probe/identify QRY:
diff -r b359fac310e2 -r fc8eb5984167 sys/dev/nor/cfi_0002.c
--- a/sys/dev/nor/cfi_0002.c Sat Jul 16 23:49:10 2011 +0000
+++ b/sys/dev/nor/cfi_0002.c Sun Jul 17 00:52:42 2011 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: cfi_0002.c,v 1.1 2011/07/15 19:19:57 cliff Exp $ */
+/* $NetBSD: cfi_0002.c,v 1.2 2011/07/17 00:52:42 dyoung Exp $ */
#include "opt_flash.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cfi_0002.c,v 1.1 2011/07/15 19:19:57 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cfi_0002.c,v 1.2 2011/07/17 00:52:42 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -12,7 +12,7 @@
#include <sys/endian.h>
#include <sys/time.h>
-#include <machine/bus.h>
+#include <sys/bus.h>
#include <dev/nor/nor.h>
#include <dev/nor/cfi.h>
diff -r b359fac310e2 -r fc8eb5984167 sys/dev/nor/nor.h
--- a/sys/dev/nor/nor.h Sat Jul 16 23:49:10 2011 +0000
+++ b/sys/dev/nor/nor.h Sun Jul 17 00:52:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nor.h,v 1.2 2011/07/15 19:19:57 cliff Exp $ */
+/* $NetBSD: nor.h,v 1.3 2011/07/17 00:52:42 dyoung Exp $ */
/*-
* Copyright (c) 2011 Department of Software Engineering,
@@ -41,7 +41,7 @@
#include <sys/buf.h>
#include <sys/device.h>
-#include <machine/bus.h>
+#include <sys/bus.h>
#include <dev/flash/flash.h>
#include <dev/flash/flash_io.h>
Home |
Main Index |
Thread Index |
Old Index