]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bnx2x: Fix passive DAC cable detection
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 1 Jan 2014 09:06:42 +0000 (11:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:09:47 +0000 (22:09 -0500)
commite803d33a32213f2c28456faaa62b2a88f91de2ea
tree1627d6c21c91e470e80aa8dc5927c28c5661c5d3
parentb899e698fca1de16921525e347f6e81539fdedcf
bnx2x: Fix passive DAC cable detection

Fix Passive DAC detection for specific cables, such that even in case
SFP_CABLE_TECHNOLOGY option is not set in the EEPROM (offset 8), treat it as a
passive DAC cable, since some cables don't have this indication.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c