Horatiu Vultur | 3ac7bc7 | 2019-04-11 14:11:34 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
2 | /* | ||||
3 | * Copyright (c) 2018 Microsemi Corporation | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef _SERVAL_DATA_H_ | ||||
7 | #define _SERVAL_DATA_H_ | ||||
8 | |||||
9 | #define SERDES1G(x) (x) | ||||
10 | #define SERDES1G_MAX SERDES1G(9) | ||||
11 | #define SERDES6G(x) (SERDES1G_MAX + 1 + (x)) | ||||
12 | #define SERDES6G_MAX SERDES6G(11) | ||||
13 | #define SERDES_MAX (SERDES6G_MAX + 1) | ||||
14 | |||||
15 | /* similar with phy_interface_t */ | ||||
16 | #define PHY_MODE_SGMII 2 | ||||
17 | #define PHY_MODE_QSGMII 4 | ||||
18 | |||||
19 | #endif |