Benjamin Herrenschmidt
441cbd8dac
[POWERPC] Fix various offb issues
...
This patch fixes a few issues in offb:
- A test was inverted causing the palette hack to never work
(no device node was passed down to the init function)
- Some cards seem to have their assigned-addresses property in a random
order, thus we need to try using of_get_pci_address() first, which will
fail if it's not a PCI device, and fallback to of_get_address() in that
case. of_get_pci_address() properly parsees assigned-addresses to test
the BAR number and thus will get it right whatever the order is.
- Some cards (like GXT4500) provide a linebytes of 0xffffffff in the
device-tree which does no good. This patch handles that by using the
screen width when that happens. (Also fixes btext.c while at it).
- Add detection of the GXT4500 in addition to the GXT2000 for the
palette hacks (we use the same hack, palette is linear in register space
at offset 0x6000).
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-11-01 14:52:48 +11:00
..
2006-10-05 15:10:12 +01:00
2006-10-31 12:53:28 +09:00
2006-10-05 15:10:12 +01:00
2006-07-10 13:24:16 -07:00
2006-10-03 08:04:11 -07:00
2006-10-25 12:05:18 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-10-05 15:10:12 +01:00
2006-10-03 08:04:12 -07:00
2006-10-11 11:14:14 -07:00
2006-07-03 15:26:59 -07:00
2006-10-04 07:55:24 -07:00
2006-10-03 08:04:10 -07:00
2006-10-03 08:04:12 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2006-01-26 14:12:06 +00:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-07-10 13:24:16 -07:00
2006-10-05 15:10:12 +01:00
2006-10-03 08:04:09 -07:00
2005-10-29 19:31:01 +01:00
2006-10-05 15:10:12 +01:00
2006-03-27 08:44:55 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-29 16:37:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-29 16:37:18 -07:00
2006-06-29 16:37:18 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:20 -07:00
2006-07-10 13:24:16 -07:00
2005-11-07 07:53:50 -08:00
2006-10-18 08:49:31 -04:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:16 -07:00
2006-10-03 08:04:09 -07:00
2006-07-31 13:28:44 -07:00
2006-07-10 13:24:16 -07:00
2006-06-26 09:58:31 -07:00
2006-10-03 08:04:13 -07:00
2006-07-10 13:24:16 -07:00
2006-10-03 08:04:10 -07:00
2006-06-29 16:37:18 -07:00
2005-11-07 07:53:50 -08:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-10-19 16:30:32 +09:00
2006-07-10 13:24:16 -07:00
2006-10-18 08:50:49 -04:00
2006-08-27 11:01:29 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2005-07-17 20:15:36 +01:00
2006-10-11 11:14:14 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-06-26 09:58:31 -07:00
2006-10-03 08:04:09 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-11-01 14:52:48 +11:00
2006-06-29 16:37:18 -07:00
2006-10-18 08:52:48 -04:00
2006-01-09 14:53:51 +11:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-02-07 20:56:35 -05:00
2006-03-27 08:44:58 -08:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-02 13:33:37 +01:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-10-05 15:10:12 +01:00
2006-10-03 23:01:26 +02:00
2006-08-01 10:37:25 +10:00
2006-10-05 15:10:12 +01:00
2005-04-16 15:20:36 -07:00
2006-03-22 01:15:13 -08:00
2006-01-17 15:53:11 -08:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-10-03 08:04:13 -07:00
2006-03-30 17:48:47 +00:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-10-18 08:53:37 -04:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2005-04-16 15:20:36 -07:00
2006-03-31 12:19:00 -08:00
2006-03-31 12:19:00 -08:00