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)
commitbd8ca17f8c74fa36d1dfb1b82de416e310d1b64d
tree56700f3fda570434888b4b5141d3f8a0a530961d
parent2b8f2a28eac1d35a432705d269f02bdaeba9be8f
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