]> git.karo-electronics.de Git - mv-sheeva.git/commit
sh: pci: Set class/sub-class code correctly for SH7780 PCIC.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 17 Apr 2009 05:09:09 +0000 (14:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 17 Apr 2009 05:09:09 +0000 (14:09 +0900)
commit0bbc9bc3189f24de946777af43c9033c8c4871e4
tree996a03383430848a62746d8ffb9c5035d0d9a4ca
parent7e4ba0d77c96d328ba968ddff4a464d4d2fa7abc
sh: pci: Set class/sub-class code correctly for SH7780 PCIC.

The SH7780 PCI host controller implements a configuration header that
requires a fair bit of hand-holding to initialize properly. By default
it appears as a pre-2.0 host controller given the zeroed out class code,
so fix this up properly.

Some boards that happened to be using the R7780RP version of the PCIC
fixups had set this correctly, but this belongs in the standard
initialization, and is by no means board specific.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/fixups-sdk7780.c
arch/sh/drivers/pci/pci-sh7780.c