ip17xx: Add support for IP175D
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:51 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:51 +0000 (20:18 +0000)
commitb8e26fabb0a3bbfa526f7f5c1d127846f1a500d2
treeac43e989eecd63b1fad19a4747d0cbbd9a9e4269
parentfeb797e78f0db81b3b3ab0c610e383ed075764ba
ip17xx: Add support for IP175D

Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.

Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21721
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c