sh: pci: Rework SH7780 host controller detection.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 17 Apr 2009 06:05:19 +0000 (15:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 17 Apr 2009 06:05:19 +0000 (15:05 +0900)
commit4e7b7fdb129995640f144b7de114e109c6b46a2a
tree9f3b7bc00884fa35c23a737bc70c8271384b6a89
parent0bbc9bc3189f24de946777af43c9033c8c4871e4
sh: pci: Rework SH7780 host controller detection.

This reworks how the host controller is probed, and makes it a bit more
verbose in the event a new type of controller is detected. Additionally,
we also log the revision information.

This now uses the proper access sizes for the vendor/device registers,
rather than relying on a larger access that encapsulated both of them.
Not all devices support 32-bit read cycles for these registers.

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