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-03-23 07:38:13 -08:00
2006-03-24 18:23:14 +01:00
2006-03-26 08:57:00 -08:00
2006-03-24 18:42:13 +01:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:57:01 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:57:01 -08:00
2006-03-26 08:56:55 -08:00
2006-03-25 08:22:56 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 18:21:44 +01:00
2006-03-26 08:57:01 -08:00
2006-03-26 08:57:03 -08:00
2006-03-07 09:16:35 -08:00
2006-03-23 23:44:19 -05:00
2006-03-23 07:38:12 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:24 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:12 -08:00
2006-03-26 08:56:55 -08:00