Commit 09c81acd authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] fix linewrap in Documentation/pci.txt

From:  ookhoi@humilis.net
parent 765e6018
......@@ -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).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment