Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130565
b: refs/heads/master
c: fb91e2c
h: refs/heads/master
i:
  130563: 65a8ae6
v: v3
  • Loading branch information
Phil Sutter authored and Ralf Baechle committed Jan 30, 2009
1 parent de32550 commit 108c6c3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5379a5fdf3cb2b23d00da2a1298167f9a1fb002a
refs/heads/master: fb91e2cb7d3d44356bb92411d6d6b7cb51ce156c
11 changes: 11 additions & 0 deletions trunk/arch/mips/pci/pci-rc32434.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,24 @@ static int __init rc32434_pcibridge_init(void)

static int __init rc32434_pci_init(void)
{
void __iomem *io_map_base;

pr_info("PCI: Initializing PCI\n");

ioport_resource.start = rc32434_res_pci_io1.start;
ioport_resource.end = rc32434_res_pci_io1.end;

rc32434_pcibridge_init();

io_map_base = ioremap(rc32434_res_pci_io1.start,
rc32434_res_pci_io1.end - rc32434_res_pci_io1.start + 1);

if (!io_map_base)
return -ENOMEM;

rc32434_controller.io_map_base =
(unsigned long)io_map_base - rc32434_res_pci_io1.start;

register_pci_controller(&rc32434_controller);
rc32434_sync();

Expand Down

0 comments on commit 108c6c3

Please sign in to comment.