Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/include Semicolons in the 32-bit macros aren'...



details:   https://anonhg.NetBSD.org/src/rev/7308dbb09120
branches:  trunk
changeset: 481481:7308dbb09120
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Mon Jan 31 22:43:36 2000 +0000

description:
Semicolons in the 32-bit macros aren't nice.
Add a stride-4 with swapping bus_space_method for use by MI wdc.

diffstat:

 sys/arch/amiga/include/bus.h |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 2c49c7a94726 -r 7308dbb09120 sys/arch/amiga/include/bus.h
--- a/sys/arch/amiga/include/bus.h      Mon Jan 31 22:35:13 2000 +0000
+++ b/sys/arch/amiga/include/bus.h      Mon Jan 31 22:43:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.13 2000/01/23 21:02:18 aymeric Exp $ */
+/*     $NetBSD: bus.h,v 1.14 2000/01/31 22:43:36 mhitch Exp $  */
 
 /*
  * Copyright (c) 1996 Leo Weppelman.  All rights reserved.
@@ -205,22 +205,22 @@
 /* 4: Fake 32-bit macros */
 
 #define bus_space_read_4(t, h, o) \
-       panic("bus_space_read_4 not implemented");
+       panic("bus_space_read_4 not implemented")
 
 #define bus_space_write_4(t, h, o, v) \
-       panic("bus_space_write_4 not implemented");
+       panic("bus_space_write_4 not implemented")
 
 #define bus_space_read_multi_4(t, h, o, p, c) \
-       panic("bus_space_read_multi_4 not implemented");
+       panic("bus_space_read_multi_4 not implemented")
 
 #define bus_space_write_multi_4(t, h, o, p, c) \
-       panic("bus_space_write_multi_4 not implemented");
+       panic("bus_space_write_multi_4 not implemented")
 
 #define bus_space_read_multi_stream_4(t, h, o, p, c) \
-       panic("bus_space_read_multi_stream_4 not implemented");
+       panic("bus_space_read_multi_stream_4 not implemented")
 
 #define bus_space_write_multi_stream_4(t, h, o, p, c) \
-       panic("bus_space_write_multi_stream_4 not implemented");
+       panic("bus_space_write_multi_stream_4 not implemented")
 
 /* 
  * Bus read/write barrier methods.
@@ -244,5 +244,6 @@
 const struct amiga_bus_space_methods amiga_bus_stride_1;
 const struct amiga_bus_space_methods amiga_bus_stride_2;
 const struct amiga_bus_space_methods amiga_bus_stride_4;
+const struct amiga_bus_space_methods amiga_bus_stride_4swap;
 
 #endif /* _AMIGA_BUS_H_ */



Home | Main Index | Thread Index | Old Index