linux/drivers/thunderbolt
Andreas Noever 343fcb8c70 thunderbolt: Fix nontrivial endpoint devices.
Fix issues observed with the Startech docking station:

Fix the type of the route parameter in tb_ctl_rx. It should be u64 and not
u8 (which only worked for short routes).

A thunderbolt cable contains two lanes. If both endpoints support it a
connection will be established on both lanes. Previously we tried to
scan below both "dual link ports". Use the information extracted from
the drom to only scan behind ports with lane_nr == 0.

Endpoints with more complex thunderbolt controllers have some of their
ports disabled (for example the NHI port or one of the HDMI/DP ports).
Accessing them results in an error so we now ignore ports which are
marked as disabled in the drom.

Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-19 14:14:35 -07:00
..
cap.c thunderbolt: Add thunderbolt capability handling 2014-06-19 14:07:47 -07:00
ctl.c thunderbolt: Fix nontrivial endpoint devices. 2014-06-19 14:14:35 -07:00
ctl.h
eeprom.c thunderbolt: Read port configuration from eeprom. 2014-06-19 14:14:35 -07:00
Kconfig
Makefile thunderbolt: Read switch uid from EEPROM 2014-06-19 14:13:00 -07:00
nhi_regs.h
nhi.c thunderbolt: Add suspend/hibernate support 2014-06-19 14:13:00 -07:00
nhi.h
path.c thunderbolt: Add path setup code. 2014-06-19 14:07:47 -07:00
switch.c thunderbolt: Fix nontrivial endpoint devices. 2014-06-19 14:14:35 -07:00
tb_regs.h thunderbolt: Add tb_regs.h 2014-06-19 14:07:07 -07:00
tb.c thunderbolt: Fix nontrivial endpoint devices. 2014-06-19 14:14:35 -07:00
tb.h thunderbolt: Read port configuration from eeprom. 2014-06-19 14:14:35 -07:00
tunnel_pci.c thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00
tunnel_pci.h thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00