Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amigappc/include Add missing is_a600() definition, ...



details:   https://anonhg.NetBSD.org/src/rev/ec94c8da9273
branches:  trunk
changeset: 761203:ec94c8da9273
user:      phx <phx%NetBSD.org@localhost>
date:      Thu Jan 20 15:44:56 2011 +0000

description:
Add missing is_a600() definition, used by amiga devices.
We simply define it as 0, because an A600 will never have a PPC installed.

diffstat:

 sys/arch/amigappc/include/cpu.h |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r f9db3ef3c9bd -r ec94c8da9273 sys/arch/amigappc/include/cpu.h
--- a/sys/arch/amigappc/include/cpu.h   Thu Jan 20 15:24:24 2011 +0000
+++ b/sys/arch/amigappc/include/cpu.h   Thu Jan 20 15:44:56 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.18 2010/02/09 18:13:10 phx Exp $     */
+/*     $NetBSD: cpu.h,v 1.19 2011/01/20 15:44:56 phx Exp $     */
 
 /*
  * Copyright (C) 1995-1997 Wolfgang Solfrank.
@@ -47,14 +47,15 @@
 /*
  * Prototypes from amiga_init.c
  */
-void   *alloc_z2mem (long);
+void   *alloc_z2mem(long);
 
 /*
  * Prototypes from autoconf.c
  */
-int     is_a1200 (void);
-int     is_a3000 (void);
-int     is_a4000 (void);
+#define        is_a600()       0
+int     is_a1200(void);
+int     is_a3000(void);
+int     is_a4000(void);
 
 /*
  * Prototypes from machdep.c



Home | Main Index | Thread Index | Old Index