Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146812
b: refs/heads/master
c: d076d2b
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed May 26, 2009
1 parent af8eae2 commit c9806d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: f9e2b97dc2cf832ccceea2a2e6eccc4bc9af72cf
refs/heads/master: d076d2bd0d9379314df5f2ab8b9c83f617c70923
5 changes: 2 additions & 3 deletions trunk/arch/sh/drivers/pci/pci-sh7751.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static struct resource sh7751_io_resource = {
};

static struct resource sh7751_mem_resource = {
.name = "SH7785_mem",
.name = "SH7751_mem",
.start = SH7751_PCI_MEMORY_BASE,
.end = SH7751_PCI_MEMORY_BASE + SH7751_PCI_MEM_SIZE - 1,
.flags = IORESOURCE_MEM
Expand All @@ -64,6 +64,7 @@ static struct pci_channel sh7751_pci_controller = {
.mem_offset = 0x00000000,
.io_resource = &sh7751_io_resource,
.io_offset = 0x00000000,
.io_map_base = SH7751_PCI_IO_BASE,
};

static struct sh4_pci_address_map sh7751_pci_map = {
Expand Down Expand Up @@ -179,8 +180,6 @@ static int __init sh7751_pci_init(void)
word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_ARBM;
pci_write_reg(chan, word, SH4_PCICR);

__set_io_port_base(SH7751_PCI_IO_BASE);

register_pci_controller(chan);

return 0;
Expand Down

0 comments on commit c9806d6

Please sign in to comment.