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

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

Advertisement

Kernel v2.4.19 /Documentation/pci.txt

Filename:/Documentation/pci.txt
Lines Added:7
Lines Deleted:0
Also changed in: (Previous) 2.4.19-rc5  2.4.19-rc4  2.4.19-rc3  2.4.19-rc2  2.4.19-rc1  2.4.19-pre10 
(Following) 2.4.21-bk1  2.4.21-bk2  2.4.21-bk3  2.4.21-bk4  2.4.21-bk5  2.4.21-bk6 

Location
[  2.4.19
  [  Documentation
     o  pci.txt

Patch

diff -urN linux-2.4.18/Documentation/pci.txt linux-2.4.19/Documentation/pci.txt
--- linux-2.4.18/Documentation/pci.txt   Fri Dec 21 09:41:53 2001
+++ linux-2.4.19/Documentation/pci.txt   Fri Aug  2 17:39:42 2002
@@ -156,6 +156,11 @@
 which enables the bus master bit in PCI_COMMAND register and also fixes
 the latency timer value if it's set to something bogus by the BIOS.
 
+   If you want to use the PCI Memory-Write-Invalidate transaction,
+call pci_set_mwi().  This enables bit PCI_COMMAND bit for Mem-Wr-Inval
+and also ensures that the cache line size register is set correctly.
+Make sure to check the return value of pci_set_mwi(), not all architectures
+may support Memory-Write-Invalidate.
 
 4. How to access PCI config space
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -202,6 +207,8 @@
 pci_resource_len()      Returns the byte length of a PCI region
 pci_set_drvdata()      Set private driver data pointer for a pci_dev
 pci_get_drvdata()      Return private driver data pointer for a pci_dev
+pci_set_mwi()         Enable Memory-Write-Invalidate transactions.
+pci_clear_mwi()         Disable Memory-Write-Invalidate transactions.
 
 
 7. Miscellaneous hints


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