Module Name: src
Committed By: matt
Date: Thu Jan 21 08:50:00 UTC 2010
Modified Files:
src/sys/arch/mips/sibyte/pci [matt-nb5-mips64]: sbbrz_bus_io.c
sbbrz_bus_mem.c
Log Message:
Define PCI bus spaces as little endian
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/mips/sibyte/pci/sbbrz_bus_io.c \
src/sys/arch/mips/sibyte/pci/sbbrz_bus_mem.c
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/mips/sibyte/pci/sbbrz_bus_io.c
diff -u src/sys/arch/mips/sibyte/pci/sbbrz_bus_io.c:1.1.2.1 src/sys/arch/mips/sibyte/pci/sbbrz_bus_io.c:1.1.2.2
--- src/sys/arch/mips/sibyte/pci/sbbrz_bus_io.c:1.1.2.1 Thu Jan 21 04:22:33 2010
+++ src/sys/arch/mips/sibyte/pci/sbbrz_bus_io.c Thu Jan 21 08:50:00 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: sbbrz_bus_io.c,v 1.1.2.1 2010/01/21 04:22:33 matt Exp $ */
+/* $NetBSD: sbbrz_bus_io.c,v 1.1.2.2 2010/01/21 08:50:00 matt Exp $ */
/*-
* Copyright (c) 2001, 2010 The NetBSD Foundation, Inc.
@@ -34,15 +34,16 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbbrz_bus_io.c,v 1.1.2.1 2010/01/21 04:22:33 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbbrz_bus_io.c,v 1.1.2.2 2010/01/21 08:50:00 matt Exp $");
#include <sys/param.h>
#include <mips/sibyte/include/sb1250_regs.h>
#include <mips/sibyte/pci/sbbrzvar.h>
-#define CHIP sbbrz
-#define CHIP_IO /* defined */
+#define CHIP sbbrz
+#define CHIP_IO /* defined */
+#define CHIP_LITTLE_ENDIAN
#define CHIP_EX_MALLOC_SAFE(v) true
#define CHIP_EXTENT(v) (((struct sbbrz_softc *)(v))->sc_io_ex)
Index: src/sys/arch/mips/sibyte/pci/sbbrz_bus_mem.c
diff -u src/sys/arch/mips/sibyte/pci/sbbrz_bus_mem.c:1.1.2.1 src/sys/arch/mips/sibyte/pci/sbbrz_bus_mem.c:1.1.2.2
--- src/sys/arch/mips/sibyte/pci/sbbrz_bus_mem.c:1.1.2.1 Thu Jan 21 04:22:33 2010
+++ src/sys/arch/mips/sibyte/pci/sbbrz_bus_mem.c Thu Jan 21 08:50:00 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: sbbrz_bus_mem.c,v 1.1.2.1 2010/01/21 04:22:33 matt Exp $ */
+/* $NetBSD: sbbrz_bus_mem.c,v 1.1.2.2 2010/01/21 08:50:00 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbbrz_bus_mem.c,v 1.1.2.1 2010/01/21 04:22:33 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbbrz_bus_mem.c,v 1.1.2.2 2010/01/21 08:50:00 matt Exp $");
#include <sys/param.h>
@@ -43,6 +43,7 @@
#define CHIP sbbrz
#define CHIP_MEM /* defined */
+#define CHIP_LITTLE_ENDIAN
#define CHIP_EX_MALLOC_SAFE(v) true
#define CHIP_EXTENT(v) (((struct sbbrz_softc *)(v))->sc_mem_ex)