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-06-26 14:41:19 +10:00
2007-06-29 21:27:00 -07:00
2007-05-09 12:56:01 -07:00
2007-05-11 05:38:25 -04:00
2007-05-11 05:38:25 -04:00
2007-07-11 13:21:46 +10:00
2007-07-20 21:41:43 +02:00
2007-05-17 21:10:15 +10:00
2007-08-03 19:36:01 +10:00
2007-06-14 22:30:15 +10:00
2007-08-10 21:04:41 +10:00
2007-07-10 00:33:14 -05:00
2007-07-26 16:17:48 +10:00
2007-07-26 00:16:21 -05:00
2007-06-14 22:29:56 +10:00
2007-07-19 10:04:44 -07:00
2007-07-19 10:04:50 -07:00
2007-07-29 16:45:38 -07:00
2007-06-14 22:30:16 +10:00
2007-06-25 16:55:16 +10:00
2007-07-20 13:39:59 +10:00
2007-07-20 14:25:51 +10:00
2007-08-03 19:36:01 +10:00
2007-08-10 21:04:42 +10:00
2007-07-26 16:43:24 +10:00
2007-05-22 20:20:56 +10:00
2007-07-10 21:53:36 +10:00
2007-07-26 00:46:15 -05:00
2007-06-14 22:29:58 +10:00
2007-07-26 13:44:36 +10:00
2007-07-22 21:30:59 +10:00
2007-06-14 22:29:57 +10:00
2007-07-17 10:23:03 -07:00
2007-07-20 10:11:58 +09:00
2007-06-14 22:29:56 +10:00
2007-05-17 21:11:15 +10:00
2007-06-14 22:30:16 +10:00
2007-07-18 10:17:39 -07:00
2007-07-26 16:17:45 +10:00
2007-06-14 22:29:58 +10:00
2007-07-11 13:28:26 +10:00
2007-06-14 22:29:58 +10:00
2007-06-14 22:29:58 +10:00
2007-08-03 19:36:00 +10:00
2007-05-11 08:29:34 -07:00
2007-07-17 21:42:44 -04:00
2007-07-29 17:09:29 -07:00
2007-07-10 22:00:57 +10:00
2007-07-20 21:42:24 +02:00
2007-07-17 10:23:02 -07:00
2007-07-26 00:16:21 -05:00
2007-06-14 22:29:55 +10:00
2007-07-19 14:28:19 -07:00