]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ibm_newemac: Add MII mode support to the EMAC RGMII bridge.
authorGrant Erickson <gerickson@nuovations.com>
Tue, 8 Jul 2008 15:03:06 +0000 (01:03 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 15 Jul 2008 02:39:05 +0000 (12:39 +1000)
commit004ea683d96ff51131789e78a3de7dafcdbf912d
treec69691250a6e6def9521bd66269f9cd26b34b242
parentb6f6b98a4e91fcf31db7de54c3aa86252fc6fb5f
ibm_newemac: Add MII mode support to the EMAC RGMII bridge.

This patch adds support to the RGMII handler in the EMAC driver for
the MII PHY mode such that device tree entries of the form `phy-mode = "mii";'
are recognized and handled appropriately.

While logically, in software, "gmii" and "mii" modes are the same,
they are wired differently, so it makes sense to allow DTS authors to
specify each explicitly.

Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/net/ibm_newemac/rgmii.c