]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: at803x: use #defines for supported PHY ids
authorDaniel Mack <zonque@gmail.com>
Wed, 18 Jun 2014 09:01:42 +0000 (11:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jun 2014 22:50:00 +0000 (15:50 -0700)
commit57b284a555281a6a7cc743ffb00a14386b35ed41
tree56700f3fda570434888b4b5141d3f8a0a530961d
parentc18f212974d619844656ee086ebdf646d46f9774
net: phy: at803x: use #defines for supported PHY ids

This removes magic values from two tables and also allows us to match
against specific PHY models at runtime.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c