]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit0527a60c2b6bd7ab20e82cc5e488659e20eaaacd
treeae8118227ef02068d628ed5d7e1f22f18865be04
parentb30f8af3358b5c66be223e3a9f3d11b3d02b4a8f
ricoh_mmc: Handle newer models of Ricoh controllers

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>
drivers/mmc/host/ricoh_mmc.c