diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 04:37:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 04:37:44 +0000 |
commit | ac7af4a359cc51bc06e1bf0ed3314744972b8395 (patch) | |
tree | 7c73805f8b66af9b3082fbde80f6eb70edd966ac /c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c | |
parent | 2009-11-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ac7af4a359cc51bc06e1bf0ed3314744972b8395.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c b/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c index 4615464491..56ccb8313d 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c @@ -4,17 +4,17 @@ * This code is inspired by detect_grackle_bridge.c of SVGM BSP * written by Till Straumann * Copyright (C) 2001, 2003 Till Straumann <strauman@slac.stanford.edu> - * + * * Copyright (C) 2004 S. Kate Feng, <feng1@bnl.gov> * wrote it to support the MVME5500 board. - * + * */ #include <libcpu/io.h> #include <rtems/bspIo.h> /* printk */ #include <bsp/pci.h> #include <bsp/gtreg.h> -#include <bsp/gtpcireg.h> +#include <bsp/gtpcireg.h> #include <stdio.h> #include <string.h> @@ -29,7 +29,7 @@ unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet) { unsigned int pcidata, pcidata1; int PciLocal, busNumber=0; - + /* On the mvme5500 board, the GT64260B system controller had the MCP * signal pulled up high. Thus, the MCP signal is not used as it is * on other boards such as mvme2307. @@ -40,10 +40,10 @@ unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet) 0, 0, PCI_COMMAND, - &pcidata); + &pcidata); if (!quiet) - printk("Before _BSP_clear_hostbridge_errors(): 0x%x, cause 0x%x\n", + printk("Before _BSP_clear_hostbridge_errors(): 0x%x, cause 0x%x\n", pcidata, inl(0x1d58)); outl(0,0x1d58); @@ -51,7 +51,7 @@ unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet) /* Clear the error on the host bridge */ pcidata1= pcidata; pcidata1 |= PCI_STATUS_CLRERR_MASK; - pcidata1 |= 0x140; + pcidata1 |= 0x140; pci_write_config_dword(busNumber, 0, 0, @@ -62,9 +62,9 @@ unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet) 0, 0, PCI_COMMAND, - &pcidata1); + &pcidata1); - if (!quiet) printk("After _BSP_clear_hostbridge_errors(): sts 0x%x\n", + if (!quiet) printk("After _BSP_clear_hostbridge_errors(): sts 0x%x\n", pcidata1); if (pcidata1 & HOSTBRIDGET_ERROR) printk("BSP_clear_hostbridge_errors(): unable to clear pending hostbridge errors\n"); busNumber += BSP_MAX_PCI_BUS_ON_PCI0; |