Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Switch more PowerPC ports having PCI support to new...
details: https://anonhg.NetBSD.org/src/rev/744dec9c3c61
branches: trunk
changeset: 767389:744dec9c3c61
user: dyoung <dyoung%NetBSD.org@localhost>
date: Sun Jul 17 23:27:02 2011 +0000
description:
Switch more PowerPC ports having PCI support to new-style <sys/bus.h>.
diffstat:
sys/arch/bebox/include/bus.h | 38 --------------------------------------
sys/arch/bebox/include/types.h | 4 ++--
sys/arch/ibmnws/include/types.h | 4 ++--
sys/arch/prep/include/types.h | 4 ++--
sys/arch/sandpoint/include/types.h | 4 ++--
5 files changed, 8 insertions(+), 46 deletions(-)
diffs (87 lines):
diff -r db581bcc0491 -r 744dec9c3c61 sys/arch/bebox/include/bus.h
--- a/sys/arch/bebox/include/bus.h Sun Jul 17 23:23:53 2011 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-/* $NetBSD: bus.h,v 1.31 2008/04/28 20:23:15 martin Exp $ */
-
-/*-
- * Copyright (c) 2007 The NetBSD Foundation, Inc.
- * All rights reserved.
- *
- * This code is derived from software contributed to The NetBSD Foundation
- * by Tim Rightnour
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef _BEBOX_BUS_H_
-#define _BEBOX_BUS_H_
-
-#include <powerpc/prep_bus.h>
-#include <powerpc/bus.h>
-
-#endif /* _BEBOX_BUS_H_ */
diff -r db581bcc0491 -r 744dec9c3c61 sys/arch/bebox/include/types.h
--- a/sys/arch/bebox/include/types.h Sun Jul 17 23:23:53 2011 +0000
+++ b/sys/arch/bebox/include/types.h Sun Jul 17 23:27:02 2011 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: types.h,v 1.11 2010/07/17 15:25:57 tsutsui Exp $ */
+/* $NetBSD: types.h,v 1.12 2011/07/17 23:27:02 dyoung Exp $ */
-#define __HAVE_DEVICE_REGISTER
+#define __HAVE_NEW_STYLE_BUS_H
#include <powerpc/types.h>
diff -r db581bcc0491 -r 744dec9c3c61 sys/arch/ibmnws/include/types.h
--- a/sys/arch/ibmnws/include/types.h Sun Jul 17 23:23:53 2011 +0000
+++ b/sys/arch/ibmnws/include/types.h Sun Jul 17 23:27:02 2011 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: types.h,v 1.10 2008/01/20 18:09:07 joerg Exp $ */
+/* $NetBSD: types.h,v 1.11 2011/07/17 23:27:02 dyoung Exp $ */
-#define __HAVE_DEVICE_REGISTER
+#define __HAVE_NEW_STYLE_BUS_H
#include <powerpc/types.h>
diff -r db581bcc0491 -r 744dec9c3c61 sys/arch/prep/include/types.h
--- a/sys/arch/prep/include/types.h Sun Jul 17 23:23:53 2011 +0000
+++ b/sys/arch/prep/include/types.h Sun Jul 17 23:27:02 2011 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: types.h,v 1.12 2008/01/20 18:09:08 joerg Exp $ */
+/* $NetBSD: types.h,v 1.13 2011/07/17 23:27:02 dyoung Exp $ */
-#define __HAVE_DEVICE_REGISTER
+#define __HAVE_NEW_STYLE_BUS_H
#include <powerpc/types.h>
diff -r db581bcc0491 -r 744dec9c3c61 sys/arch/sandpoint/include/types.h
--- a/sys/arch/sandpoint/include/types.h Sun Jul 17 23:23:53 2011 +0000
+++ b/sys/arch/sandpoint/include/types.h Sun Jul 17 23:27:02 2011 +0000
@@ -1,6 +1,6 @@
-/* $NetBSD: types.h,v 1.7 2010/07/17 15:25:57 tsutsui Exp $ */
+/* $NetBSD: types.h,v 1.8 2011/07/17 23:27:02 dyoung Exp $ */
-#define __HAVE_DEVICE_REGISTER
+#define __HAVE_NEW_STYLE_BUS_H
#include <powerpc/types.h>
Home |
Main Index |
Thread Index |
Old Index