diff options
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7751.c')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7751.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c index 2a6c7aab2d75..af8874436d2f 100644 --- a/arch/sh/drivers/pci/pci-sh7751.c +++ b/arch/sh/drivers/pci/pci-sh7751.c | |||
@@ -99,21 +99,6 @@ int __init sh7751_pcic_init(struct pci_channel *chan, | |||
99 | word = SH4_PCIPINT_D3 | SH4_PCIPINT_D0; | 99 | word = SH4_PCIPINT_D3 | SH4_PCIPINT_D0; |
100 | pci_write_reg(chan, word, SH4_PCIPINT); | 100 | pci_write_reg(chan, word, SH4_PCIPINT); |
101 | 101 | ||
102 | /* | ||
103 | * This code is unused for some boards as it is done in the | ||
104 | * bootloader and doing it here means the MAC addresses loaded | ||
105 | * by the bootloader get lost. | ||
106 | */ | ||
107 | if (!(map->flags & SH4_PCIC_NO_RESET)) { | ||
108 | /* toggle PCI reset pin */ | ||
109 | word = SH4_PCICR_PREFIX | SH4_PCICR_PRST; | ||
110 | pci_write_reg(chan, word, SH4_PCICR); | ||
111 | /* Wait for a long time... not 1 sec. but long enough */ | ||
112 | mdelay(100); | ||
113 | word = SH4_PCICR_PREFIX; | ||
114 | pci_write_reg(chan, word, SH4_PCICR); | ||
115 | } | ||
116 | |||
117 | /* set the command/status bits to: | 102 | /* set the command/status bits to: |
118 | * Wait Cycle Control + Parity Enable + Bus Master + | 103 | * Wait Cycle Control + Parity Enable + Bus Master + |
119 | * Mem space enable | 104 | * Mem space enable |