This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
CSB281 - Add uncached PCI window
- From: Gary Thomas <gary at mlbassoc dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 03 Jan 2003 20:32:10 -0700
- Subject: CSB281 - Add uncached PCI window
Index: devs/eth/powerpc/csb281/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/eth/powerpc/csb281/current/ChangeLog,v
retrieving revision 1.1
diff -u -5 -p -r1.1 ChangeLog
--- devs/eth/powerpc/csb281/current/ChangeLog 24 Dec 2002 16:00:46 -0000 1.1
+++ devs/eth/powerpc/csb281/current/ChangeLog 3 Jan 2003 14:48:48 -0000
@@ -1,5 +1,10 @@
+2003-01-03 Gary Thomas <gary@mlbassoc.com>
+
+ * include/devs_eth_csb281.inl: PCI window is now in specially
+ mapped, uncacheable space.
+
2002-12-24 Gary Thomas <gary@mlbassoc.com>
* include/devs_eth_csb281.inl:
* cdl/csb281_eth_drivers.cdl: New package - ethernet support
via i82559 on PCI for Cogent CSB281 board.
Index: devs/eth/powerpc/csb281/current/include/devs_eth_csb281.inl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/eth/powerpc/csb281/current/include/devs_eth_csb281.inl,v
retrieving revision 1.1
diff -u -5 -p -r1.1 devs_eth_csb281.inl
--- devs/eth/powerpc/csb281/current/include/devs_eth_csb281.inl 24 Dec 2002 16:00:46 -0000 1.1
+++ devs/eth/powerpc/csb281/current/include/devs_eth_csb281.inl 3 Jan 2003 15:16:24 -0000
@@ -7,11 +7,11 @@
//==========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
-// Copyright (C) 2002 Gary Thomas
+// Copyright (C) 2002, 2003 Gary Thomas
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
@@ -42,19 +42,19 @@
//#####DESCRIPTIONBEGIN####
//
// Author(s): jskov
// Contributors:jskov, gthomas
// Date: 2001-01-25
-// Purpose: PC i82559 ethernet defintions
+// Purpose: PCI/i82559 ethernet defintions
//####DESCRIPTIONEND####
//==========================================================================
#include <cyg/hal/hal_intr.h> // CYGNUM_HAL_INTERRUPT_ETHR
#ifdef CYGPKG_DEVS_ETH_CSB281_ETH0
-#define CYGHWR_INTEL_I82559_PCI_MEM_MAP_BASE (CYGARC_UNCACHED_ADDRESS(CYGMEM_SECTION_pci_window))
+#define CYGHWR_INTEL_I82559_PCI_MEM_MAP_BASE CYGMEM_SECTION_pci_window
#define CYGHWR_INTEL_I82559_PCI_MEM_MAP_SIZE CYGMEM_SECTION_pci_window_SIZE
#define CYGHWR_DEVS_ETH_INTEL_I82559_HAS_NO_EEPROM
#define CYGHWR_DEVS_ETH_INTEL_I82559_USE_MEMORY
static I82559 i82559_eth0_priv_data = {
--
------------------------------------------------------------
Gary Thomas |
MLB Associates | Consulting for the
+1 (970) 229-1963 | Embedded world
http://www.mlbassoc.com/ |
email: <gary@mlbassoc.com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------