diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-04 20:06:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-04 20:06:43 +0000 |
commit | d7196bfd6696be61880fff7db8ca4de044c30748 (patch) | |
tree | 8c4a921d1cadc7dfec6bb91d1613fd8461f3528a /c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pcireg.h | |
parent | Merge changes from CVS-HEAD addressing Fedora 11 rpm regressions. (diff) | |
download | rtems-d7196bfd6696be61880fff7db8ca4de044c30748.tar.bz2 |
2009-04-20 Kate Feng <feng1@bnl.gov>
1396/bsps
* pci/pci.c : Updated it to be consistent with the original pci.c
* written by Eric Valette. There is no change in its function.
* irq/irq_init.c : set defaultIrq->next_handler to be 0
* for BSP_SHARED_HANDLER_SUPPORT.
* network/if_1GHz/if_wm.c : fixed some bugs in the 1GHz driver.
* irq/BSP_irq.c : added supports for shared IRQ.
* pci/pci_interface.c : Enabled PCI "Read", "Read Line", and
"Read Multiple"
* Agressive Prefetch to improve the performance of the PCI based
* applications (e.g. 1GHz NIC).
* irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value
* register to monitor the cause of the level sensitive interrupts.
* This unique solution solves various bugs in the 1GHz network drivers
* Fixed bugs in compute_pic_masks_from_prio()
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pcireg.h')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pcireg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pcireg.h b/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pcireg.h index 4a31bbe621..2b8b10d853 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pcireg.h +++ b/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pcireg.h @@ -4,6 +4,7 @@ * Copyright (c) 1995, 1996, 1999, 2000 * Christopher G. Demetriou. All rights reserved. * Copyright (c) 1994, 1996 Charles M. Hannum. All rights reserved. + * Copyright (C) 2007 Brookhaven National Laboratory, Shuchen Kate Feng * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,6 +31,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <bsp.h> /* * PCI Class and Revision Register; defines type and revision of device. @@ -305,7 +307,7 @@ #define PCI_MAPREG_MEM64_ADDR_MASK 0xfffffffffffffff0ULL #define PCI_MAPREG_IO_ADDR(mr) \ - ((mr) & PCI_MAPREG_IO_ADDR_MASK) + ((mr+PCI0_IO_BASE) & PCI_MAPREG_IO_ADDR_MASK) #define PCI_MAPREG_IO_SIZE(mr) \ (PCI_MAPREG_IO_ADDR(mr) & -PCI_MAPREG_IO_ADDR(mr)) #define PCI_MAPREG_IO_ADDR_MASK 0xfffffffc |