diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-02-04 07:40:19 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-02-04 07:40:19 +0000 |
commit | 33263fc5f9ac8e8cb2b22d06af3ce5ac1dd815e4 (patch) | |
tree | 2d1b86a40bef0958a68cf1a2eafbeb0667a70543 /Documentation/pci.txt | |
parent | 216f5f51aa02f8b113aa620ebc14a9631a217a00 (diff) |
Merge with Linux 2.3.32.
Diffstat (limited to 'Documentation/pci.txt')
-rw-r--r-- | Documentation/pci.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/pci.txt b/Documentation/pci.txt index 07572a696..7108532cb 100644 --- a/Documentation/pci.txt +++ b/Documentation/pci.txt @@ -4,7 +4,7 @@ "What should you avoid when writing PCI drivers" - by Martin Mares <mj@atrey.karlin.mff.cuni.cz> on 03-Nov-1999 + by Martin Mares <mj@suse.cz> on 21-Nov-1999 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -75,6 +75,12 @@ 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. + + 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). + 5. Other interesting functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pci_find_slot() Find pci_dev corresponding to given bus and |