Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
09c81acd
Commit
09c81acd
authored
Apr 01, 2003
by
Rusty Russell
Committed by
Linus Torvalds
Apr 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix linewrap in Documentation/pci.txt
From: ookhoi@humilis.net
parent
765e6018
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
Documentation/pci.txt
Documentation/pci.txt
+18
-14
No files found.
Documentation/pci.txt
View file @
09c81acd
...
...
@@ -51,21 +51,24 @@ contains:
execution of pci_register_driver for already existing
devices or later if a new device gets inserted) for all
PCI devices which match the ID table and are not handled
by the other drivers yet. This function gets passed a pointer
to the pci_dev structure representing the device and also
which entry in the ID table did the device match. It returns
zero when the driver has accepted the device or an error
code (negative number) otherwise. This function always gets
called from process context, so it can sleep.
remove Pointer to a function which gets called whenever a device
being handled by this driver is removed (either during
deregistration of the driver or when it's manually pulled
out of a hot-pluggable slot). This function always gets
called from process context, so it can sleep.
by the other drivers yet. This function gets passed a
pointer to the pci_dev structure representing the device
and also which entry in the ID table did the device
match. It returns zero when the driver has accepted the
device or an error code (negative number) otherwise.
This function always gets called from process context,
so it can sleep.
remove Pointer to a function which gets called whenever a
device being handled by this driver is removed (either
during deregistration of the driver or when it's
manually pulled out of a hot-pluggable slot). This
function always gets called from process context, so it
can sleep.
save_state Save a device's state before it's suspend.
suspend Put device into low power state.
resume Wake device from low power state.
enable_wake Enable device to generate wake events from a low power state.
enable_wake Enable device to generate wake events from a low power
state.
(Please see Documentation/power/pci.txt for descriptions
of PCI Power Management and the related functions)
...
...
@@ -186,8 +189,9 @@ have been remapped by the kernel.
See Documentation/IO-mapping.txt for how to access device memory.
You still need to call request_region() for I/O regions and request_mem_region()
for memory regions to make sure nobody else is using the same device.
You still need to call request_region() for I/O regions and
request_mem_region() for memory regions to make sure nobody else is using the
same device.
All interrupt handlers should be registered with SA_SHIRQ and use the devid
to map IRQs to devices (remember that all PCI interrupts are shared).
...
...
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