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>
This commit is contained in:

committed by
David S. Miller

parent
d61941952d
commit
5ab6329c52
@@ -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) \
|
||||
|
Reference in New Issue
Block a user