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