[PATCH] PPC 44x EMAC driver: add 440SPe support
authorEugene Surovegin <ebs@ebshome.net>
Sat, 29 Oct 2005 19:43:14 +0000 (12:43 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 29 Oct 2005 22:06:54 +0000 (18:06 -0400)
commit7ad8a89c2e8a930a902cb0622956b27796c027e5
treec1241696b8fc5ab55d389f9accd80f399e3d9d86
parentbe15cd72d256e5eb3261a781b8507fac83ab33f6
[PATCH] PPC 44x EMAC driver: add 440SPe support

For some reason, the hardware designers made the polarity of one bit
in the 440SPe's PHY interface register the opposite of all other PPC
440 chips.  To handle this, abstract our access to this bit and do the
right thing based on the configured CPU type.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/ibm_emac/ibm_emac.h
drivers/net/ibm_emac/ibm_emac_core.c
drivers/net/ibm_emac/ibm_emac_mal.h