diff options
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 d21b705501a9..1b2c305fb82b 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h | |||
@@ -566,6 +566,15 @@ struct cphy_ops { | |||
566 | 566 | ||
567 | u32 mmds; | 567 | u32 mmds; |
568 | }; | 568 | }; |
569 | enum { | ||
570 | EDC_OPT_AEL2005 = 0, | ||
571 | EDC_OPT_AEL2005_SIZE = 1084, | ||
572 | EDC_TWX_AEL2005 = 1, | ||
573 | EDC_TWX_AEL2005_SIZE = 1464, | ||
574 | EDC_TWX_AEL2020 = 2, | ||
575 | EDC_TWX_AEL2020_SIZE = 1628, | ||
576 | EDC_MAX_SIZE = EDC_TWX_AEL2020_SIZE, /* Max cache size */ | ||
577 | }; | ||
569 | 578 | ||
570 | /* A PHY instance */ | 579 | /* A PHY instance */ |
571 | struct cphy { | 580 | struct cphy { |
@@ -577,6 +586,7 @@ struct cphy { | |||
577 | unsigned long fifo_errors; /* FIFO over/under-flows */ | 586 | unsigned long fifo_errors; /* FIFO over/under-flows */ |
578 | const struct cphy_ops *ops; /* PHY operations */ | 587 | const struct cphy_ops *ops; /* PHY operations */ |
579 | struct mdio_if_info mdio; | 588 | struct mdio_if_info mdio; |
589 | u16 phy_cache[EDC_MAX_SIZE]; /* EDC cache */ | ||
580 | }; | 590 | }; |
581 | 591 | ||
582 | /* Convenience MDIO read/write wrappers */ | 592 | /* Convenience MDIO read/write wrappers */ |