Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/algor/include Switch algor to new-style <sys/bus.h>...



details:   https://anonhg.NetBSD.org/src/rev/1d33012810f6
branches:  trunk
changeset: 767240:1d33012810f6
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Jul 13 04:53:39 2011 +0000

description:
Switch algor to new-style <sys/bus.h>.  While I'm here, get rid of
__HAVE_DEVICE_REGISTER.

diffstat:

 sys/arch/algor/include/bus.h   |  10 ----------
 sys/arch/algor/include/types.h |   4 ++--
 2 files changed, 2 insertions(+), 12 deletions(-)

diffs (25 lines):

diff -r 3b3a289b64e4 -r 1d33012810f6 sys/arch/algor/include/bus.h
--- a/sys/arch/algor/include/bus.h      Wed Jul 13 04:50:19 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-/*     $NetBSD: bus.h,v 1.16 2011/07/08 18:48:58 matt Exp $    */
-
-#ifndef _ALGOR_BUS_H_
-#define        _ALGOR_BUS_H_
-
-#define _MIPS_NEED_BUS_DMA_BOUNCE
-#include <mips/bus_space.h>
-#include <mips/bus_dma.h>
-
-#endif /* _ALGOR_BUS_H_ */
diff -r 3b3a289b64e4 -r 1d33012810f6 sys/arch/algor/include/types.h
--- a/sys/arch/algor/include/types.h    Wed Jul 13 04:50:19 2011 +0000
+++ b/sys/arch/algor/include/types.h    Wed Jul 13 04:53:39 2011 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: types.h,v 1.5 2008/01/20 18:09:04 joerg Exp $  */
+/*     $NetBSD: types.h,v 1.6 2011/07/13 04:53:39 dyoung Exp $ */
 
 #include <mips/types.h>
 
-#define        __HAVE_DEVICE_REGISTER
+#define        __HAVE_NEW_STYLE_BUS_H



Home | Main Index | Thread Index | Old Index