staging: et131x: Remove private adapter->duplex_mode and use phydev->duplex instead
authorMark Einon <mark.einon@gmail.com>
Sun, 4 Sep 2011 10:24:33 +0000 (11:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:54:54 +0000 (16:54 -0700)
commit06530d81d6a6b9cccd6433868fc0bb68fe0361e3
treee183dad1e7be96887efa4ee8f1e6cc067fe43223
parent412f8e0c52b126c6f54d0626a9dede9438d76c03
staging: et131x: Remove private adapter->duplex_mode and use phydev->duplex instead

The phy device keeps a note of the duplex mode, so use that value instead of duplex mode.

Also use the phydev defines for duplex modes, and remove the driver private ones.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_mac.c
drivers/staging/et131x/et1310_phy.c
drivers/staging/et131x/et1310_phy.h
drivers/staging/et131x/et131x_adapter.h