aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorTobias Waldekranz <[email protected]>2021-02-02 19:16:45 +0000
committerJakub Kicinski <[email protected]>2021-02-05 03:09:47 +0000
commitadd285bce37720675af5b1873f71af8561d0e2fe (patch)
tree310c81935e04b68c396c93aa4a76f6abf31b9e54 /drivers/net/ethernet/intel/igc/igc_main.c
parentnet: dsa: bcm_sf2: Check egress tagging of CFP rule with proper accessor (diff)
downloadkernel-add285bce37720675af5b1873f71af8561d0e2fe.tar.gz
kernel-add285bce37720675af5b1873f71af8561d0e2fe.zip
net: dsa: xrs700x: Correctly address device over I2C
On read, master should send 31 MSB of the register (only even values are ever used), followed by a 1 to indicate read. Then, reading two bytes, the device will output the register's value. On write, master sends 31 MSB of the register, followed by a 0 to indicate write, followed by two bytes containing the register value. Flexibilis' documentation (version 1.3) specifies the opposite polarity (#read/write), but the scope indicates that it is, in fact, read/#write. Signed-off-by: Tobias Waldekranz <[email protected]> Reviewed-by: George McCollister <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions