]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Add support for multiple gfar mdio interfaces
authorAndy Fleming <afleming@freescale.com>
Fri, 2 May 2008 18:03:50 +0000 (13:03 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 16 Jul 2008 22:57:44 +0000 (17:57 -0500)
commit4cd7e1cbd43bb67927af2b8b4e0ffd43fd5ed6b4
treef0195868c2e82a66ab3186241dcd200218c776c3
parenta47fda930777f2d84209c9d140557b983e84a16a
powerpc: Add support for multiple gfar mdio interfaces

The old code assumed there was only one, but the 8572 actually has 3.

Also, our usual id, 0xe0024520, gets resolved to -1 somewhere, and this was
preventing the multiple buses from having different ids.  So we only keep
the low 20 bits, which have the interesting info, anyway.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_soc.c