diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-12-20 02:16:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-21 02:48:48 +0100 |
commit | 5ab6329c5224d8135d76da18066edf3395f679f5 (patch) | |
tree | 022c7e6575a4678c50efa10964ac2ac6e80ead21 /drivers/net/ethernet/broadcom/b44.h | |
parent | b44: check register instead of PHY address to detect external PHY (diff) | |
download | linux-5ab6329c5224d8135d76da18066edf3395f679f5.tar.xz linux-5ab6329c5224d8135d76da18066edf3395f679f5.zip |
b44: rename B44_PHY_ADDR_NO_PHY to B44_PHY_ADDR_NO_LOCAL_PHY
The PHY address 30 means there is no local PHY, but there could be an
external PHY like a switch connected via MII. This is the case on most
embedded home routers where this driver is used.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/b44.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/b44.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/b44.h b/drivers/net/ethernet/broadcom/b44.h index 8ed7d6b6d0c0..57e535768d25 100644 --- a/drivers/net/ethernet/broadcom/b44.h +++ b/drivers/net/ethernet/broadcom/b44.h @@ -280,9 +280,9 @@ struct ring_info { dma_addr_t mapping; }; -#define B44_MCAST_TABLE_SIZE 32 -#define B44_PHY_ADDR_NO_PHY 30 -#define B44_MDC_RATIO 5000000 +#define B44_MCAST_TABLE_SIZE 32 +#define B44_PHY_ADDR_NO_LOCAL_PHY 30 /* no local phy regs */ +#define B44_MDC_RATIO 5000000 #define B44_STAT_REG_DECLARE \ _B44(tx_good_octets) \ |