Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/playstation2 Include mips/cpuregs.h for MIPS_PHYS_T...



details:   https://anonhg.NetBSD.org/src/rev/22f39dcdb244
branches:  trunk
changeset: 816696:22f39dcdb244
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Jul 18 22:17:09 2016 +0000

description:
Include mips/cpuregs.h for MIPS_PHYS_TO_KSEG1

diffstat:

 sys/arch/playstation2/dev/ohci_sbus.c        |  6 ++++--
 sys/arch/playstation2/playstation2/sifbios.h |  4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 0ff2448a52f8 -r 22f39dcdb244 sys/arch/playstation2/dev/ohci_sbus.c
--- a/sys/arch/playstation2/dev/ohci_sbus.c     Mon Jul 18 22:13:22 2016 +0000
+++ b/sys/arch/playstation2/dev/ohci_sbus.c     Mon Jul 18 22:17:09 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci_sbus.c,v 1.12 2016/04/23 10:15:30 skrll Exp $     */
+/*     $NetBSD: ohci_sbus.c,v 1.13 2016/07/18 22:17:09 maya Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci_sbus.c,v 1.12 2016/04/23 10:15:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci_sbus.c,v 1.13 2016/07/18 22:17:09 maya Exp $");
 
 #include <sys/param.h>
 
@@ -42,6 +42,8 @@
 #include <machine/bus.h>
 #include <machine/autoconf.h>
 
+#include <mips/cpuregs.h>
+
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdivar.h>
diff -r 0ff2448a52f8 -r 22f39dcdb244 sys/arch/playstation2/playstation2/sifbios.h
--- a/sys/arch/playstation2/playstation2/sifbios.h      Mon Jul 18 22:13:22 2016 +0000
+++ b/sys/arch/playstation2/playstation2/sifbios.h      Mon Jul 18 22:17:09 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sifbios.h,v 1.5 2014/03/31 11:25:49 martin Exp $       */
+/*     $NetBSD: sifbios.h,v 1.6 2016/07/18 22:17:10 maya Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -33,6 +33,8 @@
  * PlayStation 2 SIF BIOS Version 2.0 define.
  */
 
+#include <mips/cpuregs.h>
+
 /* SIF BIOS uses SIFDMA_BASE as emulated IOP physical memory base */
 #define SIFDMA_BASE            MIPS_PHYS_TO_KSEG1(0x1c000000)
 #define EEKV_TO_IOPPHYS(a)     ((u_int32_t)(a) - SIFDMA_BASE)



Home | Main Index | Thread Index | Old Index