diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-29 11:41:21 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-29 11:41:21 -0500 |
commit | 396c56a9c69ebb0baf9171a6365ac9fda322728d (patch) | |
tree | ad501a9148d96c10cf45a79ca9c6c188a03da627 /arch/sh/drivers/pci/pci-sh7751.c | |
parent | 320e68da59353fe6ad51b81f6865c4b674ad66ea (diff) |
sh: Kill off broken type 1 PCI config access checks.
The host controllers only support type 1, so there's not much else to
test for. Some of the older controllers also supported type 2 accesses,
but we've never supported those, and likely never will. Beyond that, the
P1SEG test is meaningless for 32-bit mode, so rather than refactoring it,
just kill the type 1 test off completely.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7751.c')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7751.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c index 2455cf32db5a..02306ddb4011 100644 --- a/arch/sh/drivers/pci/pci-sh7751.c +++ b/arch/sh/drivers/pci/pci-sh7751.c | |||
@@ -79,7 +79,6 @@ static int __init sh7751_pci_init(void) | |||
79 | struct pci_channel *chan = &sh7751_pci_controller; | 79 | struct pci_channel *chan = &sh7751_pci_controller; |
80 | unsigned int id; | 80 | unsigned int id; |
81 | u32 word, reg; | 81 | u32 word, reg; |
82 | int ret; | ||
83 | 82 | ||
84 | printk(KERN_NOTICE "PCI: Starting intialization.\n"); | 83 | printk(KERN_NOTICE "PCI: Starting intialization.\n"); |
85 | 84 | ||
@@ -93,9 +92,6 @@ static int __init sh7751_pci_init(void) | |||
93 | return -ENODEV; | 92 | return -ENODEV; |
94 | } | 93 | } |
95 | 94 | ||
96 | if ((ret = sh4_pci_check_direct(chan)) != 0) | ||
97 | return ret; | ||
98 | |||
99 | /* Set the BCR's to enable PCI access */ | 95 | /* Set the BCR's to enable PCI access */ |
100 | reg = __raw_readl(SH7751_BCR1); | 96 | reg = __raw_readl(SH7751_BCR1); |
101 | reg |= 0x80000; | 97 | reg |= 0x80000; |