- Add definition for IFM_10G_CX4.
- Put IFM_10G_CX4 and IFM_10G_SR into IFMEDIA_BAUDRATE array. Requested by: Jack Vogel <jfvogel gmail.com>
This commit is contained in:
parent
df3742b87a
commit
781f6a594a
@ -143,6 +143,7 @@ uint64_t ifmedia_baudrate(int);
|
||||
#define IFM_HPNA_1 17 /* HomePNA 1.0 (1Mb/s) */
|
||||
#define IFM_10G_LR 18 /* 10GBase-LR 1310nm Single-mode */
|
||||
#define IFM_10G_SR 19 /* 10GBase-SR 850nm Multi-mode */
|
||||
#define IFM_10G_CX4 20 /* 10GBase CX4 copper */
|
||||
|
||||
/* note 31 is the max! */
|
||||
|
||||
@ -339,6 +340,7 @@ struct ifmedia_description {
|
||||
{ IFM_HPNA_1, "homePNA" }, \
|
||||
{ IFM_10G_LR, "10Gbase-LR" }, \
|
||||
{ IFM_10G_SR, "10Gbase-SR" }, \
|
||||
{ IFM_10G_CX4, "10Gbase-CX4" }, \
|
||||
{ 0, NULL }, \
|
||||
}
|
||||
|
||||
@ -580,6 +582,8 @@ struct ifmedia_baudrate {
|
||||
{ IFM_ETHER | IFM_1000_T, IF_Mbps(1000) }, \
|
||||
{ IFM_ETHER | IFM_HPNA_1, IF_Mbps(1) }, \
|
||||
{ IFM_ETHER | IFM_10G_LR, IF_Gbps(10ULL) }, \
|
||||
{ IFM_ETHER | IFM_10G_SR, IF_Gbps(10ULL) }, \
|
||||
{ IFM_ETHER | IFM_10G_CX4, IF_Gbps(10ULL) }, \
|
||||
\
|
||||
{ IFM_TOKEN | IFM_TOK_STP4, IF_Mbps(4) }, \
|
||||
{ IFM_TOKEN | IFM_TOK_STP16, IF_Mbps(16) }, \
|
||||
|
Loading…
Reference in New Issue
Block a user