diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-pci | 27 | ||||
-rw-r--r-- | Documentation/filesystems/sysfs-pci.txt | 7 | ||||
-rw-r--r-- | Documentation/kernel-parameters.txt | 2 |
3 files changed, 34 insertions, 2 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index 25be3250f7d6..f979d825d112 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci | |||
@@ -139,3 +139,30 @@ Contact: linux-pci@vger.kernel.org | |||
139 | Description: | 139 | Description: |
140 | This symbolic link points to the PCI hotplug controller driver | 140 | This symbolic link points to the PCI hotplug controller driver |
141 | module that manages the hotplug slot. | 141 | module that manages the hotplug slot. |
142 | |||
143 | What: /sys/bus/pci/devices/.../label | ||
144 | Date: July 2010 | ||
145 | Contact: Narendra K <narendra_k@dell.com>, linux-bugs@dell.com | ||
146 | Description: | ||
147 | Reading this attribute will provide the firmware | ||
148 | given name(SMBIOS type 41 string) of the PCI device. | ||
149 | The attribute will be created only if the firmware | ||
150 | has given a name to the PCI device. | ||
151 | Users: | ||
152 | Userspace applications interested in knowing the | ||
153 | firmware assigned name of the PCI device. | ||
154 | |||
155 | What: /sys/bus/pci/devices/.../index | ||
156 | Date: July 2010 | ||
157 | Contact: Narendra K <narendra_k@dell.com>, linux-bugs@dell.com | ||
158 | Description: | ||
159 | Reading this attribute will provide the firmware | ||
160 | given instance(SMBIOS type 41 device type instance) | ||
161 | of the PCI device. The attribute will be created | ||
162 | only if the firmware has given a device type instance | ||
163 | to the PCI device. | ||
164 | Users: | ||
165 | Userspace applications interested in knowing the | ||
166 | firmware assigned device type instance of the PCI | ||
167 | device that can help in understanding the firmware | ||
168 | intended order of the PCI device. | ||
diff --git a/Documentation/filesystems/sysfs-pci.txt b/Documentation/filesystems/sysfs-pci.txt index 85354b32d731..74eaac26f8b8 100644 --- a/Documentation/filesystems/sysfs-pci.txt +++ b/Documentation/filesystems/sysfs-pci.txt | |||
@@ -39,7 +39,7 @@ files, each with their own function. | |||
39 | local_cpus nearby CPU mask (cpumask, ro) | 39 | local_cpus nearby CPU mask (cpumask, ro) |
40 | remove remove device from kernel's list (ascii, wo) | 40 | remove remove device from kernel's list (ascii, wo) |
41 | resource PCI resource host addresses (ascii, ro) | 41 | resource PCI resource host addresses (ascii, ro) |
42 | resource0..N PCI resource N, if present (binary, mmap) | 42 | resource0..N PCI resource N, if present (binary, mmap, rw[1]) |
43 | resource0_wc..N_wc PCI WC map resource N, if prefetchable (binary, mmap) | 43 | resource0_wc..N_wc PCI WC map resource N, if prefetchable (binary, mmap) |
44 | rom PCI ROM resource, if present (binary, ro) | 44 | rom PCI ROM resource, if present (binary, ro) |
45 | subsystem_device PCI subsystem device (ascii, ro) | 45 | subsystem_device PCI subsystem device (ascii, ro) |
@@ -54,13 +54,16 @@ files, each with their own function. | |||
54 | binary - file contains binary data | 54 | binary - file contains binary data |
55 | cpumask - file contains a cpumask type | 55 | cpumask - file contains a cpumask type |
56 | 56 | ||
57 | [1] rw for RESOURCE_IO (I/O port) regions only | ||
58 | |||
57 | The read only files are informational, writes to them will be ignored, with | 59 | The read only files are informational, writes to them will be ignored, with |
58 | the exception of the 'rom' file. Writable files can be used to perform | 60 | the exception of the 'rom' file. Writable files can be used to perform |
59 | actions on the device (e.g. changing config space, detaching a device). | 61 | actions on the device (e.g. changing config space, detaching a device). |
60 | mmapable files are available via an mmap of the file at offset 0 and can be | 62 | mmapable files are available via an mmap of the file at offset 0 and can be |
61 | used to do actual device programming from userspace. Note that some platforms | 63 | used to do actual device programming from userspace. Note that some platforms |
62 | don't support mmapping of certain resources, so be sure to check the return | 64 | don't support mmapping of certain resources, so be sure to check the return |
63 | value from any attempted mmap. | 65 | value from any attempted mmap. The most notable of these are I/O port |
66 | resources, which also provide read/write access. | ||
64 | 67 | ||
65 | The 'enable' file provides a counter that indicates how many times the device | 68 | The 'enable' file provides a counter that indicates how many times the device |
66 | has been enabled. If the 'enable' file currently returns '4', and a '1' is | 69 | has been enabled. If the 'enable' file currently returns '4', and a '1' is |
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index f20c7abc0329..cbd405930522 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1976,6 +1976,8 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1976 | norom [X86] Do not assign address space to | 1976 | norom [X86] Do not assign address space to |
1977 | expansion ROMs that do not already have | 1977 | expansion ROMs that do not already have |
1978 | BIOS assigned address ranges. | 1978 | BIOS assigned address ranges. |
1979 | nobar [X86] Do not assign address space to the | ||
1980 | BARs that weren't assigned by the BIOS. | ||
1979 | irqmask=0xMMMM [X86] Set a bit mask of IRQs allowed to be | 1981 | irqmask=0xMMMM [X86] Set a bit mask of IRQs allowed to be |
1980 | assigned automatically to PCI devices. You can | 1982 | assigned automatically to PCI devices. You can |
1981 | make the kernel exclude IRQs of your ISA cards | 1983 | make the kernel exclude IRQs of your ISA cards |