Benjamin Herrenschmidt e8222502ee [PATCH] powerpc: Kill _machine and hard-coded platform numbers
This removes statically assigned platform numbers and reworks the
powerpc platform probe code to use a better mechanism.  With this,
board support files can simply declare a new machine type with a
macro, and implement a probe() function that uses the flattened
device-tree to detect if they apply for a given machine.

We now have a machine_is() macro that replaces the comparisons of
_machine with the various PLATFORM_* constants.  This commit also
changes various drivers to use the new macro instead of looking at
_machine.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-28 23:15:54 +11:00
..
2006-02-27 22:55:14 -06:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:22:52 -08:00
2006-03-24 07:33:24 -08:00
2006-03-14 14:18:01 -06:00
2006-01-01 22:21:50 +01:00
2006-01-14 10:55:12 -06:00
2006-01-14 10:55:12 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-14 14:18:01 -06:00
2005-04-16 15:20:36 -07:00
2006-03-22 19:56:53 -05:00
2006-03-25 08:22:52 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-10-28 21:04:15 -05:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:54:01 -08:00
2006-02-22 14:35:52 -08:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2006-02-27 22:55:02 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-02-04 16:19:08 -06:00
2006-03-14 14:18:01 -06:00
2005-04-16 15:20:36 -07:00
2006-03-22 17:39:38 -08:00
2005-04-16 15:20:36 -07:00
2006-02-27 22:55:08 -06:00
2006-01-12 09:09:05 -08:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-22 19:13:54 -05:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-22 19:13:54 -05:00
2006-03-22 19:13:54 -05:00
2005-04-16 15:20:36 -07:00
2006-02-27 22:55:02 -06:00
2005-04-16 15:20:36 -07:00
2006-03-02 22:44:06 -06:00
2006-03-21 13:05:45 -06:00
2006-02-27 22:55:02 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-21 13:05:45 -06:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:23:02 -08:00
2005-12-17 10:50:23 -06:00
2006-03-23 07:38:09 -08:00
2006-03-23 07:38:09 -08:00
2005-04-16 15:20:36 -07:00
2005-10-28 21:04:15 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00