]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit972f24662cfd93b6668afc8a6bf943ee00878fa7
treeaf5d031fb4292c02ed7bac4021f8fecd2bc64fe3
parent653291fccf04ebfd12a7a854b136a0b98c7e27a1
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