From: Benjamin Herrenschmidt Date: Mon, 10 Aug 2009 06:36:38 +0000 (+1000) Subject: powerpc/dma: pci_set_dma_mask() shouldn't fail if mask fits in RAM X-Git-Tag: v2.6.31-rc6~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2f2e8fee3d62f621e795f25b2fc0f51bbdb4af9;p=pandora-kernel.git powerpc/dma: pci_set_dma_mask() shouldn't fail if mask fits in RAM On an iMac G5, the b43 driver is failing to initialise because trying to set the dma mask to 30-bit fails. Even though there's only 512MiB of RAM in the machine anyway: https://bugzilla.redhat.com/show_bug.cgi?id=514787 We should probably let it succeed if the available RAM in the system doesn't exceed the requested limit. Signed-off-by: David Woodhouse Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed