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: ...@@ -51,21 +51,24 @@ contains:
execution of pci_register_driver for already existing execution of pci_register_driver for already existing
devices or later if a new device gets inserted) for all devices or later if a new device gets inserted) for all
PCI devices which match the ID table and are not handled PCI devices which match the ID table and are not handled
by the other drivers yet. This function gets passed a pointer by the other drivers yet. This function gets passed a
to the pci_dev structure representing the device and also pointer to the pci_dev structure representing the device
which entry in the ID table did the device match. It returns and also which entry in the ID table did the device
zero when the driver has accepted the device or an error match. It returns zero when the driver has accepted the
code (negative number) otherwise. This function always gets device or an error code (negative number) otherwise.
called from process context, so it can sleep. This function always gets called from process context,
remove Pointer to a function which gets called whenever a device so it can sleep.
being handled by this driver is removed (either during remove Pointer to a function which gets called whenever a
deregistration of the driver or when it's manually pulled device being handled by this driver is removed (either
out of a hot-pluggable slot). This function always gets during deregistration of the driver or when it's
called from process context, so it can sleep. 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. save_state Save a device's state before it's suspend.
suspend Put device into low power state. suspend Put device into low power state.
resume Wake device from 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 (Please see Documentation/power/pci.txt for descriptions
of PCI Power Management and the related functions) of PCI Power Management and the related functions)
...@@ -186,8 +189,9 @@ have been remapped by the kernel. ...@@ -186,8 +189,9 @@ have been remapped by the kernel.
See Documentation/IO-mapping.txt for how to access device memory. 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() You still need to call request_region() for I/O regions and
for memory regions to make sure nobody else is using the same device. 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 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). 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