Benjamin Herrenschmidt b2f2e8fee3 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 <David.Woodhouse@intel.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-08-10 16:36:38 +10:00
..
2008-12-21 14:21:16 +11:00
2008-12-21 14:21:16 +11:00
2009-05-21 15:44:21 +10:00
2008-06-30 22:31:00 +10:00
2009-06-16 19:47:28 -07:00
2008-05-23 22:43:11 +02:00
2009-06-12 16:53:38 +10:00
2009-06-26 14:37:24 +10:00
2009-07-12 12:22:34 -07:00
2008-12-21 14:21:16 +11:00
2007-10-11 14:36:47 +10:00