Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ff670e63
Commit
ff670e63
authored
Jan 06, 2009
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ide: update ide_unregister() documentation
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
b65fac32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
drivers/ide/ide.c
drivers/ide/ide.c
+5
-13
No files found.
drivers/ide/ide.c
View file @
ff670e63
...
@@ -155,22 +155,14 @@ EXPORT_SYMBOL_GPL(ide_port_unregister_devices);
...
@@ -155,22 +155,14 @@ EXPORT_SYMBOL_GPL(ide_port_unregister_devices);
* ide_unregister - free an IDE interface
* ide_unregister - free an IDE interface
* @hwif: IDE interface
* @hwif: IDE interface
*
*
* Perform the final unregister of an IDE interface. At the moment
* Perform the final unregister of an IDE interface.
* we don't refcount interfaces so this will also get split up.
*
*
* Locking:
* Locking:
* The caller must not hold the IDE locks
* The caller must not hold the IDE locks.
* The drive present/vanishing is not yet properly locked
* Take care with the callbacks. These have been split to avoid
* deadlocking the IDE layer. The shutdown callback is called
* before we take the lock and free resources. It is up to the
* caller to be sure there is no pending I/O here, and that
* the interface will not be reopened (present/vanishing locking
* isn't yet done BTW). After we commit to the final kill we
* call the cleanup callback with the ide locks held.
*
*
* Unregister restores the hwif structures to the default state.
* It is up to the caller to be sure there is no pending I/O here,
* This is raving bonkers.
* and that the interface will not be reopened (present/vanishing
* locking isn't yet done BTW).
*/
*/
void
ide_unregister
(
ide_hwif_t
*
hwif
)
void
ide_unregister
(
ide_hwif_t
*
hwif
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment