Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.22 /Documentation/pci.txt

Filename:/Documentation/pci.txt
Lines Added:18
Lines Deleted:14
Also changed in: (Previous) 2.4.22-rc4  2.4.22-rc3  2.4.22-rc2  2.4.22-rc1  2.4.22-pre10  2.4.22-pre9 
(Following) 2.6.22-rc1  2.6.22-rc2  2.6.22-rc3  2.6.22-rc4  2.6.22-rc5  2.6.22-rc6 

Location
[  2.4.22
  [  Documentation
     o  pci.txt

Patch

diff -urN linux-2.4.21/Documentation/pci.txt linux-2.4.22/Documentation/pci.txt
--- linux-2.4.21/Documentation/pci.txt   2002-08-02 17:39:42.000000000 -0700
+++ linux-2.4.22/Documentation/pci.txt   2003-08-25 04:44:39.000000000 -0700
@@ -51,21 +51,24 @@
          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 @@
 
    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).


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.