Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/alchemy/include Reduce address space used by PCI.
details: https://anonhg.NetBSD.org/src/rev/71313ac2e32c
branches: trunk
changeset: 588167:71313ac2e32c
user: gdamore <gdamore%NetBSD.org@localhost>
date: Fri Feb 10 20:49:14 2006 +0000
description:
Reduce address space used by PCI.
Add definitions for PCMCIA addresses.
diffstat:
sys/arch/mips/alchemy/include/aureg.h | 9 ++++++++-
sys/arch/mips/alchemy/include/auvar.h | 15 +++++++++++----
2 files changed, 19 insertions(+), 5 deletions(-)
diffs (57 lines):
diff -r 9abc1dc739d7 -r 71313ac2e32c sys/arch/mips/alchemy/include/aureg.h
--- a/sys/arch/mips/alchemy/include/aureg.h Fri Feb 10 20:38:54 2006 +0000
+++ b/sys/arch/mips/alchemy/include/aureg.h Fri Feb 10 20:49:14 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aureg.h,v 1.11 2006/02/09 03:14:31 gdamore Exp $ */
+/* $NetBSD: aureg.h,v 1.12 2006/02/10 20:49:14 gdamore Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -194,6 +194,13 @@
#define PCI_CONFIG_BASE 0x600000000ULL
/************************************************************************/
+/*********************** PCMCIA registers ***************************/
+/************************************************************************/
+#define PCMCIA_IO_BASE 0xF00000000ULL
+#define PCMCIA_ATTR_BASE 0xF40000000ULL
+#define PCMCIA_MEM_BASE 0xF80000000ULL
+
+/************************************************************************/
/****************** Programmable Counter registers ******************/
/************************************************************************/
diff -r 9abc1dc739d7 -r 71313ac2e32c sys/arch/mips/alchemy/include/auvar.h
--- a/sys/arch/mips/alchemy/include/auvar.h Fri Feb 10 20:38:54 2006 +0000
+++ b/sys/arch/mips/alchemy/include/auvar.h Fri Feb 10 20:49:14 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: auvar.h,v 1.6 2006/02/10 00:22:42 gdamore Exp $ */
+/* $NetBSD: auvar.h,v 1.7 2006/02/10 20:49:14 gdamore Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -83,14 +83,21 @@
*/
#define AU_PCI_MEM_VA 0xE0000000UL
-#define AU_PCI_MEM_SZ 0x0E000000UL /* 224 MB */
+#define AU_PCI_MEM_SZ 0x0B000000UL /* 176 MB */
-#define AU_PCI_IO_VA 0xEE000000UL
+#define AU_PCI_IO_VA 0xEB000000UL
#define AU_PCI_IO_SZ 0x01000000UL /* 16 MB */
-#define AU_PCI_CFG_VA 0xEF000000UL
+#define AU_PCI_CFG_VA 0xEC000000UL
#define AU_PCI_CFG_SZ 0x01000000UL /* 16 MB, overkill */
+#define AU_PCIMCIA_IO_VA 0xED000000UL
+#define AU_PCIMCCA_IO_SZ 0x01000000UL /* 16 MB */
+#define AU_PCIMCIA_ATTR_VA 0xEE000000UL
+#define AU_PCIMCCA_ATTR_SZ 0x01000000UL /* 16 MB */
+#define AU_PCIMCIA_MEM_VA 0xEF000000UL
+#define AU_PCIMCCA_MEM_SZ 0x01000000UL /* 16 MB */
+
struct au_dev {
const char *name;
bus_addr_t addr[3];
Home |
Main Index |
Thread Index |
Old Index