net: phy: bcm7xxx: introduce helper macro
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 26 Aug 2014 20:15:24 +0000 (13:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Aug 2014 06:16:12 +0000 (23:16 -0700)
commit153df3c7d7af6772a99fe5589d26a6677ffd66db
treeaf5d031fb4292c02ed7bac4021f8fecd2bc64fe3
parent0ce4866f1e4697d45011bd1a01f33036660abffc
net: phy: bcm7xxx: introduce helper macro

All 28nm Gigabit PHYs supported by the driver have the same
callbacks, the only differences being the 32-bits OUI and the name. Use
a macro to factor this, making it easier in the future to add new
entries.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c