Skip to content

Commit 30fec3b

Browse files
committed
Merge branch 'pci/misc'
- Add pci_clear_master() stub for non-CONFIG_PCI (Sui Jingfeng) - Correct documentation typos (Randy Dunlap) * pci/misc: Documentation: PCI: correct spelling PCI: Add pci_clear_master() stub for non-CONFIG_PCI PCI: Expand comment about sorting pci_ids.h entries
2 parents 283810a + b58d6d8 commit 30fec3b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Documentation/PCI/endpoint/pci-vntb-howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ A sample configuration for NTB function is given below::
103103
# echo 1 > functions/pci_epf_vntb/func1/pci_epf_vntb.0/num_mws
104104
# echo 0x100000 > functions/pci_epf_vntb/func1/pci_epf_vntb.0/mw1
105105

106-
A sample configuration for virtual NTB driver for virutal PCI bus::
106+
A sample configuration for virtual NTB driver for virtual PCI bus::
107107

108108
# echo 0x1957 > functions/pci_epf_vntb/func1/pci_epf_vntb.0/vntb_vid
109109
# echo 0x080A > functions/pci_epf_vntb/func1/pci_epf_vntb.0/vntb_pid

Documentation/PCI/msi-howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ PCI_IRQ_MSI or PCI_IRQ_MSIX flags.
290290
List of device drivers MSI(-X) APIs
291291
===================================
292292

293-
The PCI/MSI subystem has a dedicated C file for its exported device driver
293+
The PCI/MSI subsystem has a dedicated C file for its exported device driver
294294
APIs — `drivers/pci/msi/api.c`. The following functions are exported:
295295

296296
.. kernel-doc:: drivers/pci/msi/api.c

include/linux/pci.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,7 @@ static inline int pci_dev_present(const struct pci_device_id *ids)
19031903
#define pci_dev_put(dev) do { } while (0)
19041904

19051905
static inline void pci_set_master(struct pci_dev *dev) { }
1906+
static inline void pci_clear_master(struct pci_dev *dev) { }
19061907
static inline int pci_enable_device(struct pci_dev *dev) { return -EIO; }
19071908
static inline void pci_disable_device(struct pci_dev *dev) { }
19081909
static inline int pcim_enable_device(struct pci_dev *pdev) { return -EIO; }

include/linux/pci_ids.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* PCI Class, Vendor and Device IDs
44
*
5-
* Please keep sorted.
5+
* Please keep sorted by numeric Vendor ID and Device ID.
66
*
77
* Do not add new entries to this file unless the definitions
88
* are shared between multiple drivers.

0 commit comments

Comments
 (0)