• S
    sbp2: prevent unloading of 1394 low-level driver · 147830f2
    Stefan Richter 提交于
    When a new SBP-2 unit is added, sbp2 now takes a reference on the 1394
    low-level driver (ohci1394 or pcilynx).  This prevents the 1394 host driver
    module from being unloaded, e.g. by an administrative routine cleanup of
    unused kernel modules or when another 1394 driver which depends on ohci1394
    is unloaded.
    
    The reference is dropped when the SBP-2 unit was disconnected, when sbp2 is
    unloaded or detached from the unit, or when addition of the SBP-2 unit failed.
    Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: NJody McIntyre <scjody@modernduck.com>
    147830f2
sbp2.c 77.1 KB