Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93466
b: refs/heads/master
c: 11eef45
h: refs/heads/master
v: v3
  • Loading branch information
Ishizaki Kou authored and Paul Mackerras committed Apr 24, 2008
1 parent 3582307 commit c65a7b2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 116bdc425c7e01e97cff2f3e6d0134511e8f13e3
refs/heads/master: 11eef455c2834e192c6ffe9f3ffd09af70fafe81
5 changes: 4 additions & 1 deletion trunk/arch/powerpc/platforms/cell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ obj-$(CONFIG_PCI_MSI) += axon_msi.o
# celleb stuff
ifeq ($(CONFIG_PPC_CELLEB),y)
obj-y += celleb_setup.o \
celleb_pci.o \
celleb_pci.o celleb_scc_epci.o \
celleb_scc_uhc.o \
io-workarounds.o spider-pci.o

obj-$(CONFIG_SERIAL_TXX9) += celleb_scc_sio.o
endif
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/pci-bridge.h>
#include <asm/ppc-pci.h>

#include "scc.h"
#include "../cell/celleb_pci.h"
#include "interrupt.h"
#include "celleb_scc.h"
#include "celleb_pci.h"

#define MAX_PCI_DEVICES 32
#define MAX_PCI_FUNCTIONS 8
Expand Down Expand Up @@ -111,10 +109,8 @@ static int celleb_epci_check_abort(struct pci_controller *hose,
return PCIBIOS_SUCCESSFUL;
}

static PCI_IO_ADDR celleb_epci_make_config_addr(
struct pci_bus *bus,
struct pci_controller *hose,
unsigned int devfn, int where)
static PCI_IO_ADDR celleb_epci_make_config_addr(struct pci_bus *bus,
struct pci_controller *hose, unsigned int devfn, int where)
{
PCI_IO_ADDR addr;

Expand Down Expand Up @@ -410,17 +406,15 @@ static int __init celleb_setup_epci(struct device_node *node,
if (!hose->cfg_addr)
goto error;
pr_debug("EPCI: cfg_addr map 0x%016lx->0x%016lx + 0x%016lx\n",
r.start, (unsigned long)hose->cfg_addr,
(r.end - r.start + 1));
r.start, (unsigned long)hose->cfg_addr, (r.end - r.start + 1));

if (of_address_to_resource(node, 2, &r))
goto error;
hose->cfg_data = ioremap(r.start, (r.end - r.start + 1));
if (!hose->cfg_data)
goto error;
pr_debug("EPCI: cfg_data map 0x%016lx->0x%016lx + 0x%016lx\n",
r.start, (unsigned long)hose->cfg_data,
(r.end - r.start + 1));
r.start, (unsigned long)hose->cfg_data, (r.end - r.start + 1));

hose->ops = &celleb_epci_ops;
celleb_epci_init(hose);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <asm/io.h>
#include <asm/machdep.h>

#include "scc.h"
#include "celleb_scc.h"

#define UHC_RESET_WAIT_MAX 10000

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/platforms/celleb/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
obj-y += interrupt.o iommu.o \
htab.o beat.o hvCall.o \
scc_epci.o scc_uhc.o
htab.o beat.o hvCall.o

obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_PPC_UDBG_BEAT) += udbg_beat.o
obj-$(CONFIG_SERIAL_TXX9) += scc_sio.o
obj-$(CONFIG_SPU_BASE) += spu_priv1.o

0 comments on commit c65a7b2

Please sign in to comment.