summaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x/et131x.h
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2012-10-30 18:38:58 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-30 12:30:14 -0700
commitc35eb3ae5797759d3b7dd05cf211d9b52282f00c (patch)
treeb808c50c6fd64e0aed6f2cf4ec362472781fe132 /drivers/staging/et131x/et131x.h
parent186c426ddfb8ba31eac5c6e82dcbac74f7e531dd (diff)
downloadop-kernel-dev-c35eb3ae5797759d3b7dd05cf211d9b52282f00c.zip
op-kernel-dev-c35eb3ae5797759d3b7dd05cf211d9b52282f00c.tar.gz
staging: et131x: Remove unnecessary PHY register write
The PHY registers are now being controlled from the connected phydev, so there shouldn't be any reason for the et131x code to perform any extra setup. Removing the interrupt setup code, and register defines that are now unused. On testing, no changes in behaviour were experienced. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/et131x/et131x.h')
-rw-r--r--drivers/staging/et131x/et131x.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/et131x/et131x.h b/drivers/staging/et131x/et131x.h
index 864379b..347e63d 100644
--- a/drivers/staging/et131x/et131x.h
+++ b/drivers/staging/et131x/et131x.h
@@ -1538,10 +1538,6 @@ struct address_map {
* 0: int_en
*/
-#define ET_PHY_INT_MASK_AUTONEGSTAT 0x0100
-#define ET_PHY_INT_MASK_LINKSTAT 0x0004
-#define ET_PHY_INT_MASK_ENABLE 0x0001
-
/* MI Register 25: Interrupt Status Reg(0x19)
* 15-10: reserved
* 9: mdio_sync_lost
OpenPOWER on IntegriCloud