WARNING: line length of 93 exceeds 80 columns #26: FILE: include/linux/brcmphy.h:275: +#define MII_BCM54XX_LRECR 0x00 /* LRE Control Register */ WARNING: line length of 93 exceeds 80 columns #27: FILE: include/linux/brcmphy.h:276: +#define MII_BCM54XX_LRESR 0x01 /* LRE Status Register */ WARNING: line length of 93 exceeds 80 columns #28: FILE: include/linux/brcmphy.h:277: +#define MII_BCM54XX_LREPHYSID1 0x02 /* LRE PHYS ID 1 */ WARNING: line length of 93 exceeds 80 columns #29: FILE: include/linux/brcmphy.h:278: +#define MII_BCM54XX_LREPHYSID2 0x03 /* LRE PHYS ID 2 */ WARNING: line length of 93 exceeds 80 columns #30: FILE: include/linux/brcmphy.h:279: +#define MII_BCM54XX_LREANAA 0x04 /* LDS Auto-Negotiation Advertised Ability */ WARNING: line length of 93 exceeds 80 columns #31: FILE: include/linux/brcmphy.h:280: +#define MII_BCM54XX_LREANAC 0x05 /* LDS Auto-Negotiation Advertised Control */ WARNING: line length of 93 exceeds 80 columns #32: FILE: include/linux/brcmphy.h:281: +#define MII_BCM54XX_LREANPT 0x06 /* LDS Ability Next Page Transmit */ WARNING: line length of 93 exceeds 80 columns #33: FILE: include/linux/brcmphy.h:282: +#define MII_BCM54XX_LRELPA 0x07 /* LDS Link Partner Ability */ WARNING: line length of 93 exceeds 80 columns #34: FILE: include/linux/brcmphy.h:283: +#define MII_BCM54XX_LRELPNPM 0x08 /* LDS Link Partner Next Page Message */ WARNING: line length of 93 exceeds 80 columns #35: FILE: include/linux/brcmphy.h:284: +#define MII_BCM54XX_LRELPNPC 0x09 /* LDS Link Partner Next Page Control */ WARNING: line length of 93 exceeds 80 columns #36: FILE: include/linux/brcmphy.h:285: +#define MII_BCM54XX_LRELDSE 0x0a /* LDS Expansion Register */ WARNING: line length of 93 exceeds 80 columns #37: FILE: include/linux/brcmphy.h:286: +#define MII_BCM54XX_LREES 0x0f /* LRE Extended Status */ WARNING: line length of 81 exceeds 80 columns #40: FILE: include/linux/brcmphy.h:289: +#define LRECR_RESET 0x8000 /* Reset to default state */ WARNING: line length of 81 exceeds 80 columns #41: FILE: include/linux/brcmphy.h:290: +#define LRECR_LOOPBACK 0x4000 /* Internal Loopback */ WARNING: line length of 81 exceeds 80 columns #42: FILE: include/linux/brcmphy.h:291: +#define LRECR_LDSRES 0x2000 /* Restart LDS Process */ WARNING: line length of 81 exceeds 80 columns #43: FILE: include/linux/brcmphy.h:292: +#define LRECR_LDSEN 0x1000 /* LDS Enable */ WARNING: line length of 81 exceeds 80 columns #44: FILE: include/linux/brcmphy.h:293: +#define LRECR_PDOWN 0x0800 /* Enable low power state */ WARNING: line length of 81 exceeds 80 columns #45: FILE: include/linux/brcmphy.h:294: +#define LRECR_ISOLATE 0x0400 /* Isolate data paths from MII */ WARNING: line length of 81 exceeds 80 columns #46: FILE: include/linux/brcmphy.h:295: +#define LRECR_SPEED100 0x0200 /* Select 100 Mbps */ WARNING: line length of 81 exceeds 80 columns #47: FILE: include/linux/brcmphy.h:296: +#define LRECR_SPEED10 0x0000 /* Select 10 Mbps */ WARNING: line length of 81 exceeds 80 columns #48: FILE: include/linux/brcmphy.h:297: +#define LRECR_4PAIRS 0x0020 /* Select 4 Pairs */ WARNING: line length of 81 exceeds 80 columns #49: FILE: include/linux/brcmphy.h:298: +#define LRECR_2PAIRS 0x0010 /* Select 2 Pairs */ WARNING: line length of 81 exceeds 80 columns #50: FILE: include/linux/brcmphy.h:299: +#define LRECR_1PAIR 0x0000 /* Select 1 Pair */ WARNING: line length of 84 exceeds 80 columns #51: FILE: include/linux/brcmphy.h:300: +#define LRECR_MASTER 0x0008 /* Force Master when LDS disabled */ WARNING: line length of 84 exceeds 80 columns #52: FILE: include/linux/brcmphy.h:301: +#define LRECR_SLAVE 0x0000 /* Force Slave when LDS disabled */ WARNING: line length of 81 exceeds 80 columns #55: FILE: include/linux/brcmphy.h:304: +#define LRESR_100_1PAIR 0x2000 /* Can do 100Mbps 1 Pair */ WARNING: line length of 81 exceeds 80 columns #56: FILE: include/linux/brcmphy.h:305: +#define LRESR_100_4PAIR 0x1000 /* Can do 100Mbps 4 Pairs */ WARNING: line length of 81 exceeds 80 columns #57: FILE: include/linux/brcmphy.h:306: +#define LRESR_100_2PAIR 0x0800 /* Can do 100Mbps 2 Pairs */ WARNING: line length of 81 exceeds 80 columns #58: FILE: include/linux/brcmphy.h:307: +#define LRESR_10_2PAIR 0x0400 /* Can do 10Mbps 2 Pairs */ WARNING: line length of 81 exceeds 80 columns #59: FILE: include/linux/brcmphy.h:308: +#define LRESR_10_1PAIR 0x0200 /* Can do 10Mbps 1 Pair */ WARNING: line length of 81 exceeds 80 columns #60: FILE: include/linux/brcmphy.h:309: +#define LRESR_ESTATEN 0x0100 /* Extended Status in R15 */ WARNING: line length of 81 exceeds 80 columns #61: FILE: include/linux/brcmphy.h:310: +#define LRESR_RESV 0x0080 /* Unused... */ WARNING: line length of 93 exceeds 80 columns #62: FILE: include/linux/brcmphy.h:311: +#define LRESR_MFPS 0x0040 /* Can suppress Management Frames Preamble */ WARNING: line length of 83 exceeds 80 columns #63: FILE: include/linux/brcmphy.h:312: +#define LRESR_LDSCOMPLETE 0x0020 /* LDS Auto-negotiation complete */ WARNING: line length of 81 exceeds 80 columns #64: FILE: include/linux/brcmphy.h:313: +#define LRESR_8023 0x0010 /* Has IEEE 802.3 Support */ WARNING: line length of 82 exceeds 80 columns #65: FILE: include/linux/brcmphy.h:314: +#define LRESR_LDSABILITY 0x0008 /* LDS auto-negotiation capable */ WARNING: line length of 81 exceeds 80 columns #66: FILE: include/linux/brcmphy.h:315: +#define LRESR_LSTATUS 0x0004 /* Link status */ WARNING: line length of 81 exceeds 80 columns #67: FILE: include/linux/brcmphy.h:316: +#define LRESR_JCD 0x0002 /* Jabber detected */ WARNING: line length of 81 exceeds 80 columns #68: FILE: include/linux/brcmphy.h:317: +#define LRESR_ERCAP 0x0001 /* Ext-reg capability */ WARNING: line length of 81 exceeds 80 columns #71: FILE: include/linux/brcmphy.h:320: +#define LREANAA_PAUSE_ASYM 0x8000 /* Can pause asymmetrically */ WARNING: line length of 81 exceeds 80 columns #72: FILE: include/linux/brcmphy.h:321: +#define LREANAA_PAUSE 0x4000 /* Can pause */ WARNING: line length of 81 exceeds 80 columns #73: FILE: include/linux/brcmphy.h:322: +#define LREANAA_100_1PAIR 0x0020 /* Can do 100Mbps 1 Pair */ WARNING: line length of 81 exceeds 80 columns #74: FILE: include/linux/brcmphy.h:323: +#define LREANAA_100_4PAIR 0x0010 /* Can do 100Mbps 4 Pair */ WARNING: line length of 81 exceeds 80 columns #75: FILE: include/linux/brcmphy.h:324: +#define LREANAA_100_2PAIR 0x0008 /* Can do 100Mbps 2 Pair */ WARNING: line length of 81 exceeds 80 columns #76: FILE: include/linux/brcmphy.h:325: +#define LREANAA_10_2PAIR 0x0004 /* Can do 10Mbps 2 Pair */ WARNING: line length of 81 exceeds 80 columns #77: FILE: include/linux/brcmphy.h:326: +#define LREANAA_10_1PAIR 0x0002 /* Can do 10Mbps 1 Pair */ WARNING: line length of 82 exceeds 80 columns #79: FILE: include/linux/brcmphy.h:328: +#define LRE_ADVERTISE_FULL (LREANAA_100_1PAIR | LREANAA_100_4PAIR | \ WARNING: line length of 81 exceeds 80 columns #80: FILE: include/linux/brcmphy.h:329: + LREANAA_100_2PAIR | LREANAA_10_2PAIR | \ WARNING: line length of 81 exceeds 80 columns #86: FILE: include/linux/brcmphy.h:335: +#define LRELPA_PAUSE_ASYM 0x8000 /* Supports asymmetric pause */ WARNING: line length of 81 exceeds 80 columns #87: FILE: include/linux/brcmphy.h:336: +#define LRELPA_PAUSE 0x4000 /* Supports pause capability */ WARNING: line length of 81 exceeds 80 columns #88: FILE: include/linux/brcmphy.h:337: +#define LRELPA_100_1PAIR 0x0020 /* 100Mbps 1 Pair capable */ WARNING: line length of 81 exceeds 80 columns #89: FILE: include/linux/brcmphy.h:338: +#define LRELPA_100_4PAIR 0x0010 /* 100Mbps 4 Pair capable */ WARNING: line length of 81 exceeds 80 columns #90: FILE: include/linux/brcmphy.h:339: +#define LRELPA_100_2PAIR 0x0008 /* 100Mbps 2 Pair capable */ WARNING: line length of 81 exceeds 80 columns #91: FILE: include/linux/brcmphy.h:340: +#define LRELPA_10_2PAIR 0x0004 /* 10Mbps 2 Pair capable */ WARNING: line length of 81 exceeds 80 columns #92: FILE: include/linux/brcmphy.h:341: +#define LRELPA_10_1PAIR 0x0002 /* 10Mbps 1 Pair capable */ WARNING: line length of 81 exceeds 80 columns #95: FILE: include/linux/brcmphy.h:344: +#define LDSE_DOWNGRADE 0x8000 /* Can do LDS Speed Downgrade */ WARNING: line length of 81 exceeds 80 columns #96: FILE: include/linux/brcmphy.h:345: +#define LDSE_MASTER 0x4000 /* Master / Slave */ WARNING: line length of 81 exceeds 80 columns #97: FILE: include/linux/brcmphy.h:346: +#define LDSE_PAIRS_MASK 0x3000 /* Pair Count Mask */ WARNING: line length of 88 exceeds 80 columns #99: FILE: include/linux/brcmphy.h:348: +#define LDSE_4PAIRS (2 << LDSE_PAIRS_SHIFT) /* 4 Pairs Connection */ WARNING: line length of 88 exceeds 80 columns #100: FILE: include/linux/brcmphy.h:349: +#define LDSE_2PAIRS (1 << LDSE_PAIRS_SHIFT) /* 2 Pairs Connection */ CHECK: Prefer using the BIT macro #100: FILE: include/linux/brcmphy.h:349: +#define LDSE_2PAIRS (1 << LDSE_PAIRS_SHIFT) /* 2 Pairs Connection */ WARNING: line length of 88 exceeds 80 columns #101: FILE: include/linux/brcmphy.h:350: +#define LDSE_1PAIR (0 << LDSE_PAIRS_SHIFT) /* 1 Pair Connection */ WARNING: line length of 81 exceeds 80 columns #102: FILE: include/linux/brcmphy.h:351: +#define LDSE_CABLEN_MASK 0x0FFF /* Cable Length Mask */ total: 0 errors, 62 warnings, 1 checks, 100 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 819aac06462a ("net: phy: bcm54811: Add LRE registers definitions") 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, 62 warnings, 1 checks, 100 lines checked