]> 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)
commitd8840777eb8275b6771373e2c591fc3cd19e0807
tree56700f3fda570434888b4b5141d3f8a0a530961d
parentc6dc15172458d0347ff72ec3913c299a5dfef0c6
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