diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-03-28 19:54:52 -0500 |
---|---|---|
committer | Jody McIntyre <scjody@modernduck.com> | 2006-03-28 19:54:52 -0500 |
commit | 147830f297f369fa8731a75e3e4c7c7cd5c3e868 (patch) | |
tree | 228b73890ab9027d31bf9aead848136c2d3f0656 /drivers/ieee1394/ieee1394_core.c | |
parent | 5d5d7727a8cde78f798ecf04bac8031eff536f9d (diff) |
sbp2: prevent unloading of 1394 low-level driver
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: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
Diffstat (limited to 'drivers/ieee1394/ieee1394_core.c')
0 files changed, 0 insertions, 0 deletions