Benjamin Herrenschmidt 8f2ea1fd3f [POWERPC] Fix initialization and usage of dma_mask
powerpc has a couple of bugs in the usage of dma_masks that tend to
break when drivers explicitly try to set a 32-bit mask for example.

First, the code that generates the pci devices from the OF device-tree
doesn't initialize the mask properly, then our implementation of
set_dma_mask() was trying to validate the -previous- mask value, not the
one passed in as an argument.

This fixes these problems.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-08-10 21:04:42 +10:00
..
2007-05-11 05:38:25 -04:00
2007-05-08 13:37:51 +10:00
2006-12-11 16:35:07 +11:00
2007-05-08 13:40:31 +10:00
2007-07-20 13:39:59 +10:00
2007-07-20 14:25:51 +10:00
2006-08-08 17:08:56 +10:00
2007-07-17 10:23:03 -07:00
2007-07-29 17:09:29 -07:00
2007-06-14 22:29:55 +10:00
2007-05-08 13:37:51 +10:00