WARNING: please write a help paragraph that fully describes the config symbol #47: FILE: drivers/net/dsa/Kconfig:27: +config NET_DSA_AN8855 + tristate "Airoha AN8855 Ethernet switch support" + depends on MFD_AIROHA_AN8855 || COMPILE_TEST + depends on NET_DSA + select NET_DSA_TAG_MTK + help + This enables support for the Airoha AN8855 Ethernet switch + chip. + WARNING: line length of 90 exceeds 80 columns #115: FILE: drivers/net/dsa/an8855.c:39: + MIB_DESC(1, AN8855_PORT_MIB_RXS_FLOW_SAMPLING_PKT_DROP, "RxsFlowSamplingPktDrop"), WARNING: line length of 84 exceeds 80 columns #116: FILE: drivers/net/dsa/an8855.c:40: + MIB_DESC(1, AN8855_PORT_MIB_RXS_FLOW_TOTAL_PKT_DROP, "RxsFlowTotalPktDrop"), WARNING: line length of 82 exceeds 80 columns #298: FILE: drivers/net/dsa/an8855.c:222: + FIELD_PREP(AN8855_USER_PORTMATRIX, WARNING: line length of 89 exceeds 80 columns #329: FILE: drivers/net/dsa/an8855.c:253: + ret = regmap_update_bits(priv->regmap, AN8855_PSC_P(port), AN8855_SA_DIS, WARNING: line length of 86 exceeds 80 columns #330: FILE: drivers/net/dsa/an8855.c:254: + flags.val & BR_LEARNING ? 0 : AN8855_SA_DIS); WARNING: line length of 85 exceeds 80 columns #344: FILE: drivers/net/dsa/an8855.c:268: + flags.val & BR_MCAST_FLOOD ? BIT(port) : 0); WARNING: line length of 85 exceeds 80 columns #349: FILE: drivers/net/dsa/an8855.c:273: + flags.val & BR_MCAST_FLOOD ? BIT(port) : 0); WARNING: line length of 85 exceeds 80 columns #356: FILE: drivers/net/dsa/an8855.c:280: + flags.val & BR_BCAST_FLOOD ? BIT(port) : 0); WARNING: line length of 83 exceeds 80 columns #387: FILE: drivers/net/dsa/an8855.c:311: + /* Get the count in unit, age_unit is always incremented by 1 internally */ WARNING: line length of 85 exceeds 80 columns #530: FILE: drivers/net/dsa/an8855.c:454: + ret = an8855_fdb_cmd(priv, AN8855_ATC_MAT(AND8855_FDB_MAT_MAC_PORT) | WARNING: line length of 83 exceeds 80 columns #599: FILE: drivers/net/dsa/an8855.c:523: + val = untagged ? AN8855_VLAN_EGRESS_UNTAG : AN8855_VLAN_EGRESS_TAG; WARNING: line length of 88 exceeds 80 columns #667: FILE: drivers/net/dsa/an8855.c:591: + AN8855_PVC_EG_TAG | AN8855_VLAN_ATTR | AN8855_ACC_FRM, WARNING: line length of 82 exceeds 80 columns #720: FILE: drivers/net/dsa/an8855.c:644: + if (FIELD_GET(AN8855_G0_PORT_VID, val) != AN8855_PORT_VID_DEFAULT) WARNING: line length of 83 exceeds 80 columns #725: FILE: drivers/net/dsa/an8855.c:649: + /* Trapped into security mode allows packet forwarding through VLAN WARNING: line length of 83 exceeds 80 columns #727: FILE: drivers/net/dsa/an8855.c:651: + * Set the port as a user port which is to be able to recognize VID WARNING: line length of 85 exceeds 80 columns #728: FILE: drivers/net/dsa/an8855.c:652: + * from incoming packets before fetching entry within the VLAN table. WARNING: line length of 84 exceeds 80 columns #742: FILE: drivers/net/dsa/an8855.c:666: + /* This is called after .port_bridge_leave when leaving a VLAN-aware WARNING: line length of 83 exceeds 80 columns #750: FILE: drivers/net/dsa/an8855.c:674: + /* When a port is removed from the bridge, the port would be set up WARNING: line length of 84 exceeds 80 columns #751: FILE: drivers/net/dsa/an8855.c:675: + * back to the default as is at initial boot which is a VLAN-unaware WARNING: line length of 82 exceeds 80 columns #776: FILE: drivers/net/dsa/an8855.c:700: + AN8855_VLAN_EG_CONSISTENT, WARNING: line length of 84 exceeds 80 columns #805: FILE: drivers/net/dsa/an8855.c:729: + regmap_update_bits(priv->regmap, AN8855_PVC_P(port), AN8855_ACC_FRM, WARNING: line length of 84 exceeds 80 columns #806: FILE: drivers/net/dsa/an8855.c:730: + FIELD_PREP(AN8855_ACC_FRM, AN8855_VLAN_ACC_ALL)); WARNING: line length of 82 exceeds 80 columns #824: FILE: drivers/net/dsa/an8855.c:748: + ret = regmap_update_bits(priv->regmap, AN8855_PVC_P(port), WARNING: line length of 85 exceeds 80 columns #827: FILE: drivers/net/dsa/an8855.c:751: + AN8855_VLAN_ACC_TAGGED)); WARNING: line length of 82 exceeds 80 columns #863: FILE: drivers/net/dsa/an8855.c:787: + ret = regmap_update_bits(priv->regmap, AN8855_PVC_P(port), WARNING: line length of 85 exceeds 80 columns #866: FILE: drivers/net/dsa/an8855.c:790: + AN8855_VLAN_ACC_TAGGED)); WARNING: line length of 82 exceeds 80 columns #1071: FILE: drivers/net/dsa/an8855.c:995: + * To simulate a global frame counter, read Unicast and addition Multicast WARNING: line length of 82 exceeds 80 columns #1077: FILE: drivers/net/dsa/an8855.c:1001: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_SINGLE_COLLISION, 1, WARNING: line length of 84 exceeds 80 columns #1080: FILE: drivers/net/dsa/an8855.c:1004: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_MULTIPLE_COLLISION, 1, WARNING: line length of 85 exceeds 80 columns #1098: FILE: drivers/net/dsa/an8855.c:1022: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_EXCESSIVE_COLLISION, 1, WARNING: line length of 82 exceeds 80 columns #1147: FILE: drivers/net/dsa/an8855.c:1071: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_RX_PKT_SZ_65_TO_127, 1, WARNING: line length of 83 exceeds 80 columns #1149: FILE: drivers/net/dsa/an8855.c:1073: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_RX_PKT_SZ_128_TO_255, 1, WARNING: line length of 83 exceeds 80 columns #1151: FILE: drivers/net/dsa/an8855.c:1075: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_RX_PKT_SZ_256_TO_511, 1, WARNING: line length of 84 exceeds 80 columns #1153: FILE: drivers/net/dsa/an8855.c:1077: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_RX_PKT_SZ_512_TO_1023, 1, WARNING: line length of 85 exceeds 80 columns #1155: FILE: drivers/net/dsa/an8855.c:1079: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_RX_PKT_SZ_1024_TO_1518, 1, WARNING: line length of 84 exceeds 80 columns #1157: FILE: drivers/net/dsa/an8855.c:1081: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_RX_PKT_SZ_1519_TO_MAX, 1, WARNING: line length of 82 exceeds 80 columns #1162: FILE: drivers/net/dsa/an8855.c:1086: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_PKT_SZ_65_TO_127, 1, WARNING: line length of 83 exceeds 80 columns #1164: FILE: drivers/net/dsa/an8855.c:1088: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_PKT_SZ_128_TO_255, 1, WARNING: line length of 83 exceeds 80 columns #1166: FILE: drivers/net/dsa/an8855.c:1090: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_PKT_SZ_256_TO_511, 1, WARNING: line length of 84 exceeds 80 columns #1168: FILE: drivers/net/dsa/an8855.c:1092: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_PKT_SZ_512_TO_1023, 1, WARNING: line length of 85 exceeds 80 columns #1170: FILE: drivers/net/dsa/an8855.c:1094: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_PKT_SZ_1024_TO_1518, 1, WARNING: line length of 84 exceeds 80 columns #1172: FILE: drivers/net/dsa/an8855.c:1096: + an8855_read_port_stats(priv, port, AN8855_PORT_MIB_TX_PKT_SZ_1519_TO_MAX, 1, WARNING: line length of 81 exceeds 80 columns #1222: FILE: drivers/net/dsa/an8855.c:1146: + ingress ? AN8855_PORT_RX_MIR : AN8855_PORT_TX_MIR); WARNING: line length of 90 exceeds 80 columns #1307: FILE: drivers/net/dsa/an8855.c:1231: + FIELD_PREP(AN8855_BPDU_EG_TAG, AN8855_VLAN_EG_UNTAGGED) | WARNING: line length of 88 exceeds 80 columns #1308: FILE: drivers/net/dsa/an8855.c:1232: + FIELD_PREP(AN8855_BPDU_PORT_FW, AN8855_BPDU_CPU_ONLY)); WARNING: line length of 89 exceeds 80 columns #1319: FILE: drivers/net/dsa/an8855.c:1243: + FIELD_PREP(AN8855_PAE_EG_TAG, AN8855_VLAN_EG_UNTAGGED) | WARNING: line length of 87 exceeds 80 columns #1320: FILE: drivers/net/dsa/an8855.c:1244: + FIELD_PREP(AN8855_PAE_PORT_FW, AN8855_BPDU_CPU_ONLY)); WARNING: line length of 89 exceeds 80 columns #1331: FILE: drivers/net/dsa/an8855.c:1255: + FIELD_PREP(AN8855_R01_EG_TAG, AN8855_VLAN_EG_UNTAGGED) | WARNING: line length of 87 exceeds 80 columns #1332: FILE: drivers/net/dsa/an8855.c:1256: + FIELD_PREP(AN8855_R01_PORT_FW, AN8855_BPDU_CPU_ONLY)); WARNING: line length of 89 exceeds 80 columns #1343: FILE: drivers/net/dsa/an8855.c:1267: + FIELD_PREP(AN8855_R02_EG_TAG, AN8855_VLAN_EG_UNTAGGED) | WARNING: line length of 87 exceeds 80 columns #1344: FILE: drivers/net/dsa/an8855.c:1268: + FIELD_PREP(AN8855_R02_PORT_FW, AN8855_BPDU_CPU_ONLY)); WARNING: line length of 89 exceeds 80 columns #1355: FILE: drivers/net/dsa/an8855.c:1279: + FIELD_PREP(AN8855_R03_EG_TAG, AN8855_VLAN_EG_UNTAGGED) | WARNING: line length of 87 exceeds 80 columns #1356: FILE: drivers/net/dsa/an8855.c:1280: + FIELD_PREP(AN8855_R03_PORT_FW, AN8855_BPDU_CPU_ONLY)); WARNING: line length of 90 exceeds 80 columns #1367: FILE: drivers/net/dsa/an8855.c:1291: + FIELD_PREP(AN8855_R0E_EG_TAG, AN8855_VLAN_EG_UNTAGGED) | WARNING: line length of 88 exceeds 80 columns #1368: FILE: drivers/net/dsa/an8855.c:1292: + FIELD_PREP(AN8855_R0E_PORT_FW, AN8855_BPDU_CPU_ONLY)); WARNING: line length of 88 exceeds 80 columns #1410: FILE: drivers/net/dsa/an8855.c:1334: + FIELD_PREP(AN8855_PORTMATRIX, BIT(AN8855_CPU_PORT))); WARNING: line length of 82 exceeds 80 columns #1415: FILE: drivers/net/dsa/an8855.c:1339: + ret = regmap_clear_bits(priv->regmap, AN8855_BCF, BIT(dp->index)); WARNING: line length of 83 exceeds 80 columns #1420: FILE: drivers/net/dsa/an8855.c:1344: + ret = regmap_clear_bits(priv->regmap, AN8855_UNUF, BIT(dp->index)); WARNING: line length of 83 exceeds 80 columns #1425: FILE: drivers/net/dsa/an8855.c:1349: + ret = regmap_clear_bits(priv->regmap, AN8855_UNMF, BIT(dp->index)); WARNING: line length of 85 exceeds 80 columns #1429: FILE: drivers/net/dsa/an8855.c:1353: + ret = regmap_clear_bits(priv->regmap, AN8855_UNIPMF, BIT(dp->index)); WARNING: line length of 84 exceeds 80 columns #1434: FILE: drivers/net/dsa/an8855.c:1358: + ret = an8855_port_set_pid(priv, dp->index, AN8855_PORT_VID_DEFAULT); WARNING: line length of 81 exceeds 80 columns #1441: FILE: drivers/net/dsa/an8855.c:1365: + AN8855_PORT_SPEC_REPLACE_MODE | AN8855_PORT_SPEC_TAG); WARNING: line length of 83 exceeds 80 columns #1454: FILE: drivers/net/dsa/an8855.c:1378: + FIELD_PREP(AN8855_CPU_PORT_IDX, AN8855_CPU_PORT)); WARNING: line length of 90 exceeds 80 columns #1471: FILE: drivers/net/dsa/an8855.c:1395: + FIELD_PREP(AN8855_PORT_VLAN, AN8855_PORT_FALLBACK_MODE)); WARNING: line length of 81 exceeds 80 columns #1490: FILE: drivers/net/dsa/an8855.c:1414: + ret = regmap_set_bits(priv->regmap, AN8855_UNIPMF, BIT(AN8855_CPU_PORT)); WARNING: line length of 84 exceeds 80 columns #1509: FILE: drivers/net/dsa/an8855.c:1433: + /* Enable consistent egress tag (for VLAN unware VLAN-passtrough) */ WARNING: line length of 99 exceeds 80 columns #1512: FILE: drivers/net/dsa/an8855.c:1436: + FIELD_PREP(AN8855_PVC_EG_TAG, AN8855_VLAN_EG_CONSISTENT)); WARNING: line length of 88 exceeds 80 columns #1523: FILE: drivers/net/dsa/an8855.c:1447: + AN8855_CKG_LNKDN_GLB_STOP | AN8855_CKG_LNKDN_PORT_STOP); WARNING: line length of 87 exceeds 80 columns #1551: FILE: drivers/net/dsa/an8855.c:1475: +static struct phylink_pcs *an8855_phylink_mac_select_pcs(struct phylink_config *config, WARNING: line length of 83 exceeds 80 columns #1552: FILE: drivers/net/dsa/an8855.c:1476: + phy_interface_t interface) WARNING: line length of 82 exceeds 80 columns #1630: FILE: drivers/net/dsa/an8855.c:1554: + AN8855_PMCR_FORCE_MODE | AN8855_PMCR_FORCE_LNK, WARNING: line length of 84 exceeds 80 columns #1636: FILE: drivers/net/dsa/an8855.c:1560: + struct phy_device *phydev, unsigned int mode, WARNING: line length of 83 exceeds 80 columns #1766: FILE: drivers/net/dsa/an8855.c:1690: + FIELD_PREP(AN8855_RG_DA_QP_TX_FIR_C2_FORCE, 0x4) | WARNING: line length of 83 exceeds 80 columns #1768: FILE: drivers/net/dsa/an8855.c:1692: + FIELD_PREP(AN8855_RG_DA_QP_TX_FIR_C1_FORCE, 0x0)); WARNING: line length of 84 exceeds 80 columns #1780: FILE: drivers/net/dsa/an8855.c:1704: + FIELD_PREP(AN8855_RG_DA_QP_TX_FIR_C0B_FORCE, val)); WARNING: line length of 83 exceeds 80 columns #1817: FILE: drivers/net/dsa/an8855.c:1741: + FIELD_PREP(AN8855_RG_DA_QP_PLL_FBKSEL_INTF, 0x0) | WARNING: line length of 87 exceeds 80 columns #1851: FILE: drivers/net/dsa/an8855.c:1775: + FIELD_PREP(AN8855_RG_DA_QP_PLL_PFD_OFFSET_INTF, 0x1) | WARNING: line length of 89 exceeds 80 columns #1852: FILE: drivers/net/dsa/an8855.c:1776: + FIELD_PREP(AN8855_RG_DA_QP_PLL_KBAND_PREDIV_INTF, 0x1)); WARNING: line length of 85 exceeds 80 columns #1868: FILE: drivers/net/dsa/an8855.c:1792: + FIELD_PREP(AN8855_RG_DA_QP_PLL_SDM_HREN_INTF, 0x0)); WARNING: line length of 85 exceeds 80 columns #1891: FILE: drivers/net/dsa/an8855.c:1815: + FIELD_PREP(AN8855_RG_LCPLL_PON_HRDDS_PCW_NCPO_GPON, val)); WARNING: line length of 86 exceeds 80 columns #1907: FILE: drivers/net/dsa/an8855.c:1831: + FIELD_PREP(AN8855_RG_DA_QP_PLL_SSC_DELTA_INTF, 0x0)); WARNING: line length of 88 exceeds 80 columns #1912: FILE: drivers/net/dsa/an8855.c:1836: + FIELD_PREP(AN8855_RG_DA_QP_PLL_SSC_DIR_DLY_INTF, 0x0)); WARNING: line length of 87 exceeds 80 columns #1917: FILE: drivers/net/dsa/an8855.c:1841: + FIELD_PREP(AN8855_RG_DA_QP_PLL_SSC_PERIOD_INTF, 0x0)); WARNING: line length of 81 exceeds 80 columns #1979: FILE: drivers/net/dsa/an8855.c:1903: + FIELD_PREP(AN8855_RG_QP_CDR_PR_BUF_IN_SR, 0x6) | WARNING: line length of 82 exceeds 80 columns #1994: FILE: drivers/net/dsa/an8855.c:1918: + ret = regmap_update_bits(priv->regmap, AN8855_RG_QP_CDR_PR_KBAND_DIV_PCIE, WARNING: line length of 92 exceeds 80 columns #1997: FILE: drivers/net/dsa/an8855.c:1921: + FIELD_PREP(AN8855_RG_QP_CDR_PR_KBAND_DIV_PCIE_MASK, 0x19)); WARNING: line length of 85 exceeds 80 columns #2001: FILE: drivers/net/dsa/an8855.c:1925: + ret = regmap_update_bits(priv->regmap, AN8855_RG_QP_CDR_FORCE_IBANDLPF_R_OFF, WARNING: line length of 81 exceeds 80 columns #2010: FILE: drivers/net/dsa/an8855.c:1934: + ret = regmap_clear_bits(priv->regmap, AN8855_RG_QP_CDR_PR_KBAND_DIV_PCIE, WARNING: line length of 81 exceeds 80 columns #2017: FILE: drivers/net/dsa/an8855.c:1941: + FIELD_PREP(AN8855_RG_QP_CDR_PR_KBAND_DIV, 0x4)); WARNING: line length of 83 exceeds 80 columns #2033: FILE: drivers/net/dsa/an8855.c:1957: + FIELD_PREP(AN8855_RG_QP_RX_SAOSC_EN_H_DLY, 0x3f) | WARNING: line length of 84 exceeds 80 columns #2034: FILE: drivers/net/dsa/an8855.c:1958: + FIELD_PREP(AN8855_RG_QP_RX_PI_CAL_EN_H_DLY, 0x6f)); WARNING: line length of 81 exceeds 80 columns #2046: FILE: drivers/net/dsa/an8855.c:1970: + FIELD_PREP(AN8855_RG_QP_RX_EQ_EN_H_DLY, 0x150)); WARNING: line length of 81 exceeds 80 columns #2052: FILE: drivers/net/dsa/an8855.c:1976: + FIELD_PREP(AN8855_RG_QP_EQ_LEQOSC_DLYCNT, 0x1)); WARNING: line length of 85 exceeds 80 columns #2059: FILE: drivers/net/dsa/an8855.c:1983: + FIELD_PREP(AN8855_RG_DA_QP_SAOSC_DONE_TIME, 0x200) | WARNING: line length of 83 exceeds 80 columns #2060: FILE: drivers/net/dsa/an8855.c:1984: + FIELD_PREP(AN8855_RG_DA_QP_LEQOS_EN_TIME, 0xfff)); WARNING: line length of 82 exceeds 80 columns #2077: FILE: drivers/net/dsa/an8855.c:2001: + FIELD_PREP(AN8855_RG_FREDET_GOLDEN_CYCLE, 0x64)); WARNING: line length of 86 exceeds 80 columns #2083: FILE: drivers/net/dsa/an8855.c:2007: + FIELD_PREP(AN8855_RG_FREDET_TOLERATE_CYCLE, 0x2710)); WARNING: line length of 86 exceeds 80 columns #2096: FILE: drivers/net/dsa/an8855.c:2020: + AN8855_RG_SGMII_MODE | AN8855_RG_SGMII_AN_EN); WARNING: line length of 83 exceeds 80 columns #2108: FILE: drivers/net/dsa/an8855.c:2032: + ret = regmap_set_bits(priv->regmap, AN8855_SGMII_REG_AN_FORCE_CL37, WARNING: line length of 84 exceeds 80 columns #2130: FILE: drivers/net/dsa/an8855.c:2054: + ret = regmap_set_bits(priv->regmap, AN8855_MII_RA_AN_ENABLE, WARNING: line length of 93 exceeds 80 columns #2135: FILE: drivers/net/dsa/an8855.c:2059: + ret = regmap_update_bits(priv->regmap, AN8855_RG_AN_SGMII_MODE_FORCE, WARNING: line length of 81 exceeds 80 columns #2136: FILE: drivers/net/dsa/an8855.c:2060: + AN8855_RG_FORCE_CUR_SGMII_MODE | WARNING: line length of 88 exceeds 80 columns #2142: FILE: drivers/net/dsa/an8855.c:2066: + ret = regmap_clear_bits(priv->regmap, AN8855_RATE_ADP_P0_CTRL_0, WARNING: line length of 83 exceeds 80 columns #2166: FILE: drivers/net/dsa/an8855.c:2090: + ret = regmap_update_bits(priv->regmap, AN8855_SGMII_REG_AN0, BMCR_ANENABLE, WARNING: line length of 93 exceeds 80 columns #2167: FILE: drivers/net/dsa/an8855.c:2091: + neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? BMCR_ANENABLE : WARNING: line length of 81 exceeds 80 columns #2168: FILE: drivers/net/dsa/an8855.c:2092: + 0); WARNING: line length of 81 exceeds 80 columns #2175: FILE: drivers/net/dsa/an8855.c:2099: + ret = regmap_set_bits(priv->regmap, AN8855_SGMII_REG_AN0, WARNING: line length of 87 exceeds 80 columns #2180: FILE: drivers/net/dsa/an8855.c:2104: + ret = regmap_set_bits(priv->regmap, AN8855_PHY_RX_FORCE_CTRL_0, WARNING: void function return statements are not generally useful #2229: FILE: drivers/net/dsa/an8855.c:2153: + return; +} WARNING: line length of 86 exceeds 80 columns #2411: FILE: drivers/net/dsa/an8855.h:19: +#define AN8855_MAX_MTU (15360 - ETH_HLEN - ETH_FCS_LEN - MTK_TAG_LEN) WARNING: line length of 81 exceeds 80 columns #2576: FILE: drivers/net/dsa/an8855.h:184: + AND8855_FDB_MAT_DIP_SIP_DIP_IPV4, /* All DIP_SIP address with DIP_IPV4 */ WARNING: line length of 81 exceeds 80 columns #2577: FILE: drivers/net/dsa/an8855.h:185: + AND8855_FDB_MAT_DIP_SIP_SIP_IPV4, /* All DIP_SIP address with SIP_IPV4 */ WARNING: line length of 81 exceeds 80 columns #2578: FILE: drivers/net/dsa/an8855.h:186: + AND8855_FDB_MAT_DIP_SIP_DIP_IPV6, /* All DIP_SIP address with DIP_IPV6 */ WARNING: line length of 81 exceeds 80 columns #2579: FILE: drivers/net/dsa/an8855.h:187: + AND8855_FDB_MAT_DIP_SIP_SIP_IPV6, /* All DIP_SIP address with SIP_IPV6 */ WARNING: line length of 81 exceeds 80 columns #2674: FILE: drivers/net/dsa/an8855.h:282: + AN8855_VA0_ETAG_PORT_SHIFT(port)) WARNING: line length of 91 exceeds 80 columns #2675: FILE: drivers/net/dsa/an8855.h:283: +#define AN8855_VA0_ETAG_PORT_VAL(port, val) (FIELD_PREP(AN8855_VA0_ETAG_PORT, (val)) << \ WARNING: line length of 81 exceeds 80 columns #2676: FILE: drivers/net/dsa/an8855.h:284: + AN8855_VA0_ETAG_PORT_SHIFT(port)) WARNING: line length of 81 exceeds 80 columns #2678: FILE: drivers/net/dsa/an8855.h:286: +#define AN8855_VA0_VTAG_EN BIT(10) /* Per VLAN Egress Tag Control */ WARNING: line length of 86 exceeds 80 columns #2796: FILE: drivers/net/dsa/an8855.h:404: +#define AN8855_PMCR_FORCE_SPEED_5000 FIELD_PREP_CONST(AN8855_PMCR_FORCE_SPEED, 0x4) WARNING: line length of 86 exceeds 80 columns #2797: FILE: drivers/net/dsa/an8855.h:405: +#define AN8855_PMCR_FORCE_SPEED_2500 FIELD_PREP_CONST(AN8855_PMCR_FORCE_SPEED, 0x3) WARNING: line length of 86 exceeds 80 columns #2798: FILE: drivers/net/dsa/an8855.h:406: +#define AN8855_PMCR_FORCE_SPEED_1000 FIELD_PREP_CONST(AN8855_PMCR_FORCE_SPEED, 0x2) WARNING: line length of 86 exceeds 80 columns #2799: FILE: drivers/net/dsa/an8855.h:407: +#define AN8855_PMCR_FORCE_SPEED_100 FIELD_PREP_CONST(AN8855_PMCR_FORCE_SPEED, 0x1) WARNING: line length of 86 exceeds 80 columns #2800: FILE: drivers/net/dsa/an8855.h:408: +#define AN8855_PMCR_FORCE_SPEED_10 FIELD_PREP_CONST(AN8855_PMCR_FORCE_SPEED, 0x1) WARNING: line length of 82 exceeds 80 columns #2842: FILE: drivers/net/dsa/an8855.h:450: +#define AN8855_MAX_RX_JUMBO_2K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x0) WARNING: line length of 82 exceeds 80 columns #2843: FILE: drivers/net/dsa/an8855.h:451: +#define AN8855_MAX_RX_JUMBO_3K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x3) WARNING: line length of 82 exceeds 80 columns #2844: FILE: drivers/net/dsa/an8855.h:452: +#define AN8855_MAX_RX_JUMBO_4K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x4) WARNING: line length of 82 exceeds 80 columns #2845: FILE: drivers/net/dsa/an8855.h:453: +#define AN8855_MAX_RX_JUMBO_5K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x5) WARNING: line length of 82 exceeds 80 columns #2846: FILE: drivers/net/dsa/an8855.h:454: +#define AN8855_MAX_RX_JUMBO_6K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x6) WARNING: line length of 82 exceeds 80 columns #2847: FILE: drivers/net/dsa/an8855.h:455: +#define AN8855_MAX_RX_JUMBO_7K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x7) WARNING: line length of 82 exceeds 80 columns #2848: FILE: drivers/net/dsa/an8855.h:456: +#define AN8855_MAX_RX_JUMBO_8K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x8) WARNING: line length of 82 exceeds 80 columns #2849: FILE: drivers/net/dsa/an8855.h:457: +#define AN8855_MAX_RX_JUMBO_9K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0x9) WARNING: line length of 82 exceeds 80 columns #2850: FILE: drivers/net/dsa/an8855.h:458: +#define AN8855_MAX_RX_JUMBO_12K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0xa) WARNING: line length of 82 exceeds 80 columns #2851: FILE: drivers/net/dsa/an8855.h:459: +#define AN8855_MAX_RX_JUMBO_15K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0xb) WARNING: line length of 82 exceeds 80 columns #2852: FILE: drivers/net/dsa/an8855.h:460: +#define AN8855_MAX_RX_JUMBO_16K FIELD_PREP_CONST(AN8855_MAX_RX_JUMBO, 0xc) WARNING: line length of 84 exceeds 80 columns #2854: FILE: drivers/net/dsa/an8855.h:462: +#define AN8855_MAX_RX_PKT_1518_1522 FIELD_PREP_CONST(AN8855_MAX_RX_PKT_LEN, 0x0) WARNING: line length of 84 exceeds 80 columns #2855: FILE: drivers/net/dsa/an8855.h:463: +#define AN8855_MAX_RX_PKT_1536 FIELD_PREP_CONST(AN8855_MAX_RX_PKT_LEN, 0x1) WARNING: line length of 84 exceeds 80 columns #2856: FILE: drivers/net/dsa/an8855.h:464: +#define AN8855_MAX_RX_PKT_1552 FIELD_PREP_CONST(AN8855_MAX_RX_PKT_LEN, 0x2) WARNING: line length of 84 exceeds 80 columns #2857: FILE: drivers/net/dsa/an8855.h:465: +#define AN8855_MAX_RX_PKT_JUMBO FIELD_PREP_CONST(AN8855_MAX_RX_PKT_LEN, 0x3) WARNING: line length of 89 exceeds 80 columns #2966: FILE: drivers/net/dsa/an8855.h:574: +#define AN8855_RG_LINK_MODE_P0_SPEED_2500 FIELD_PREP_CONST(AN8855_RG_LINK_MODE_P0, 0x3) WARNING: line length of 89 exceeds 80 columns #2967: FILE: drivers/net/dsa/an8855.h:575: +#define AN8855_RG_LINK_MODE_P0_SPEED_1000 FIELD_PREP_CONST(AN8855_RG_LINK_MODE_P0, 0x2) WARNING: line length of 88 exceeds 80 columns #2968: FILE: drivers/net/dsa/an8855.h:576: +#define AN8855_RG_LINK_MODE_P0_SPEED_100 FIELD_PREP_CONST(AN8855_RG_LINK_MODE_P0, 0x1) WARNING: line length of 87 exceeds 80 columns #2969: FILE: drivers/net/dsa/an8855.h:577: +#define AN8855_RG_LINK_MODE_P0_SPEED_10 FIELD_PREP_CONST(AN8855_RG_LINK_MODE_P0, 0x0) total: 0 errors, 143 warnings, 0 checks, 3123 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 332382994864 ("net: dsa: Add Airoha AN8855 5-Port Gigabit DSA Switch driver") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 143 warnings, 0 checks, 3123 lines checked