diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-07-07 19:49:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-08 10:54:24 -0700 |
commit | 2e8c07c35b3ffee7689406be61fd1448ee45d3cd (patch) | |
tree | ad90ee33b8c13f48c7b330b8cf474e520d32fb50 /drivers/net/cxgb3/common.h | |
parent | 5e659515569220701bfe3c8936dcab67554cc286 (diff) | |
download | kernel_samsung_smdk4412-2e8c07c35b3ffee7689406be61fd1448ee45d3cd.zip kernel_samsung_smdk4412-2e8c07c35b3ffee7689406be61fd1448ee45d3cd.tar.gz kernel_samsung_smdk4412-2e8c07c35b3ffee7689406be61fd1448ee45d3cd.tar.bz2 |
cxgb3: use request_firmware() for the EDC registers setup
use request_firmware() to load the phy's EDC programmation
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r-- | drivers/net/cxgb3/common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index d21b705..1b2c305 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h @@ -566,6 +566,15 @@ struct cphy_ops { u32 mmds; }; +enum { + EDC_OPT_AEL2005 = 0, + EDC_OPT_AEL2005_SIZE = 1084, + EDC_TWX_AEL2005 = 1, + EDC_TWX_AEL2005_SIZE = 1464, + EDC_TWX_AEL2020 = 2, + EDC_TWX_AEL2020_SIZE = 1628, + EDC_MAX_SIZE = EDC_TWX_AEL2020_SIZE, /* Max cache size */ +}; /* A PHY instance */ struct cphy { @@ -577,6 +586,7 @@ struct cphy { unsigned long fifo_errors; /* FIFO over/under-flows */ const struct cphy_ops *ops; /* PHY operations */ struct mdio_if_info mdio; + u16 phy_cache[EDC_MAX_SIZE]; /* EDC cache */ }; /* Convenience MDIO read/write wrappers */ |