]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ricoh_mmc: Handle newer models of Ricoh controllers
authorphilipl@overt.org <philipl@overt.org>
Mon, 1 Dec 2008 01:27:50 +0000 (20:27 -0500)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 31 Dec 2008 17:18:13 +0000 (18:18 +0100)
The latest generation of laptops are shipping with a newer
model of Ricoh chip where the firewire controller is the
primary PCI function but a cardbus controller is also present.

The existing code assumes that if a cardbus controller is,
present, then it must be the one to manipulate - but the real
rule is that you manipulate PCI function 0. This patch adds an
additional constraint that the target must be function 0.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>

No differences found