• Jarod Wilson's avatar
    firewire: fw-sbp2: Use sbp2 device-provided mgt orb timeout for logins · 384170da
    Jarod Wilson authored
    To be more compliant with section 7.4.8 of the SBP-2 specification,
    use the mgt_ORB_timeout specified in the SBP-2 device's config rom
    for login ORB attempts (though with some sanity checks). A happy
    side-effect is that certain device and controller combinations that
    sometimes take more than 20 seconds to get synced up (like my laptop
    with just about any SBP-2 device) now function more reliably.
    Signed-off-by: default avatarJarod Wilson <jwilson@redhat.com>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (silenced sparse)
    384170da
fw-sbp2.c 38.8 KB