• Paul Mundt's avatar
    sh: pci: Set class/sub-class code correctly for SH7780 PCIC. · 0bbc9bc3
    Paul Mundt authored
    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: default avatarPaul Mundt <lethal@linux-sh.org>
    0bbc9bc3
pci-sh7780.c 2.96 KB