Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120143
b: refs/heads/master
c: 43eeb0f
h: refs/heads/master
i:
  120141: 1a7ce0b
  120139: b6dcaa5
  120135: 48a0eca
  120127: 9072aa2
v: v3
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 01110af commit 7877cad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 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: 8db806ec80ce80605005d1d558add716152a1134
refs/heads/master: 43eeb0fb9f4e2aaefc4ae9dc964308ce8f55998b
9 changes: 0 additions & 9 deletions trunk/arch/sh/boards/mach-sh03/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ static void __init init_sh03_IRQ(void)
plat_irq_setup_pins(IRQ_MODE_IRQ);
}

static void __iomem *sh03_ioport_map(unsigned long port, unsigned int size)
{
if (PXSEG(port))
return (void __iomem *)port;

return (void __iomem *)(port + PCI_IO_BASE);
}

/* arch/sh/boards/sh03/rtc.c */
void sh03_time_init(void);

Expand Down Expand Up @@ -99,6 +91,5 @@ static struct sh_machine_vector mv_sh03 __initmv = {
.mv_name = "Interface (CTP/PCI-SH03)",
.mv_setup = sh03_setup,
.mv_nr_irqs = 48,
.mv_ioport_map = sh03_ioport_map,
.mv_init_irq = init_sh03_IRQ,
};
3 changes: 2 additions & 1 deletion trunk/arch/sh/drivers/pci/ops-sh03.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
*/
int __init pcibios_init_platform(void)
{
return 1;
__set_io_port_base(SH7751_PCI_IO_BASE);
return 1;
}

static struct resource sh7751_io_resource = {
Expand Down

0 comments on commit 7877cad

Please sign in to comment.