Module Name: src
Committed By: maya
Date: Mon Jul 18 22:17:10 UTC 2016
Modified Files:
src/sys/arch/playstation2/dev: ohci_sbus.c
src/sys/arch/playstation2/playstation2: sifbios.h
Log Message:
Include mips/cpuregs.h for MIPS_PHYS_TO_KSEG1
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/playstation2/dev/ohci_sbus.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/playstation2/playstation2/sifbios.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/playstation2/dev/ohci_sbus.c
diff -u src/sys/arch/playstation2/dev/ohci_sbus.c:1.12 src/sys/arch/playstation2/dev/ohci_sbus.c:1.13
--- src/sys/arch/playstation2/dev/ohci_sbus.c:1.12 Sat Apr 23 10:15:30 2016
+++ src/sys/arch/playstation2/dev/ohci_sbus.c Mon Jul 18 22:17:09 2016
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: ohci_sbus.c,
#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>
Index: src/sys/arch/playstation2/playstation2/sifbios.h
diff -u src/sys/arch/playstation2/playstation2/sifbios.h:1.5 src/sys/arch/playstation2/playstation2/sifbios.h:1.6
--- src/sys/arch/playstation2/playstation2/sifbios.h:1.5 Mon Mar 31 11:25:49 2014
+++ src/sys/arch/playstation2/playstation2/sifbios.h Mon Jul 18 22:17:10 2016
@@ -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)