summaryrefslogtreecommitdiff
path: root/arch/sh/drivers/pci/pci-dreamcast.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-01sh: Improved multi-resource handling for SH7780 PCI.Paul Mundt1-14/+14
The SH7780 PCI controller supports 3 different ranges of PCI memory in addition to its PCI I/O window. In the case of 29-bit mode, only 2 memory windows are supported, while in 32-bit mode all 3 are visible. This attempts to make the resource handling completely dynamic and to permit platforms to map in as many apertures as they can handle. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-02-01sh: Handle PCI controller resource conflicts.Paul Mundt1-3/+1
register_pci_controller() can fail, but presently is a void function. Change this over to an int so that we can bail early before continuing on with post-registration initialization (such as throwing the controller in to 66MHz mode in the case of the SH7780 host controller). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-04-20sh: pci: Convert dreamcast to new-style interface.Paul Mundt1-15/+12
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-04-20sh: pci: Tidy up the dreamcast PCI support.Paul Mundt1-0/+105
Signed-off-by: Paul Mundt <lethal@linux-sh.org>