Skip to content

Commit da43f08

Browse files
committed
Merge branch 'pci/misc'
- Sort Intel Device IDs by value (Andy Shevchenko) - Change Capability offsets to hex to match spec (Baruch Siach) - Correct misspellings (Krzysztof Wilczyński) - Terminate statement with semicolon in pci_endpoint_test.c (Ming Wang) * pci/misc: misc: pci_endpoint_test: Terminate statement with semicolon PCI: Correct misspelled words PCI: Change capability register offsets to hex PCI: Sort Intel Device IDs by value
2 parents 2709f03 + 560dbc4 commit da43f08

File tree

8 files changed

+101
-101
lines changed

8 files changed

+101
-101
lines changed

drivers/misc/pci_endpoint_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ static int pci_endpoint_test_probe(struct pci_dev *pdev,
865865
goto err_release_irq;
866866
}
867867
misc_device->parent = &pdev->dev;
868-
misc_device->fops = &pci_endpoint_test_fops,
868+
misc_device->fops = &pci_endpoint_test_fops;
869869

870870
err = misc_register(misc_device);
871871
if (err) {

drivers/pci/controller/cadence/pcie-cadence.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ struct cdns_pcie {
310310
* single function at a time
311311
* @vendor_id: PCI vendor ID
312312
* @device_id: PCI device ID
313-
* @avail_ib_bar: Satus of RP_BAR0, RP_BAR1 and RP_NO_BAR if it's free or
313+
* @avail_ib_bar: Status of RP_BAR0, RP_BAR1 and RP_NO_BAR if it's free or
314314
* available
315315
* @quirk_retrain_flag: Retrain link as quirk for PCIe Gen2
316316
* @quirk_detect_quiet_flag: LTSSM Detect Quiet min delay set as quirk

drivers/pci/controller/pcie-mediatek-gen3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ static int mtk_pcie_startup_port(struct mtk_pcie_port *port)
311311
writel_relaxed(val, port->base + PCIE_RST_CTRL_REG);
312312

313313
/*
314-
* Described in PCIe CEM specification setctions 2.2 (PERST# Signal)
314+
* Described in PCIe CEM specification sections 2.2 (PERST# Signal)
315315
* and 2.2.1 (Initial Power-Up (G3 to S0)).
316316
* The deassertion of PERST# should be delayed 100ms (TPVPERL)
317317
* for the power and clock to become stable.

drivers/pci/endpoint/functions/pci-epf-ntb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ static void epf_ntb_db_mw_bar_cleanup(struct epf_ntb *ntb,
12621262
}
12631263

12641264
/**
1265-
* epf_ntb_configure_interrupt() - Configure MSI/MSI-X capaiblity
1265+
* epf_ntb_configure_interrupt() - Configure MSI/MSI-X capability
12661266
* @ntb: NTB device that facilitates communication between HOST1 and HOST2
12671267
* @type: PRIMARY interface or SECONDARY interface
12681268
*

drivers/pci/of.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ void of_pci_check_probe_only(void)
247247
else
248248
pci_clear_flags(PCI_PROBE_ONLY);
249249

250-
pr_info("PROBE_ONLY %sabled\n", val ? "en" : "dis");
250+
pr_info("PROBE_ONLY %s\n", val ? "enabled" : "disabled");
251251
}
252252
EXPORT_SYMBOL_GPL(of_pci_check_probe_only);
253253

drivers/pci/quirks.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,8 +980,8 @@ static void quirk_via_ioapic(struct pci_dev *dev)
980980
else
981981
tmp = 0x1f; /* all known bits (4-0) routed to external APIC */
982982

983-
pci_info(dev, "%sbling VIA external APIC routing\n",
984-
tmp == 0 ? "Disa" : "Ena");
983+
pci_info(dev, "%s VIA external APIC routing\n",
984+
tmp ? "Enabling" : "Disabling");
985985

986986
/* Offset 0x58: External APIC IRQ output control */
987987
pci_write_config_byte(dev, 0x58, tmp);

include/linux/pci_ids.h

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,8 +2635,8 @@
26352635
#define PCI_DEVICE_ID_INTEL_PXHD_0 0x0320
26362636
#define PCI_DEVICE_ID_INTEL_PXHD_1 0x0321
26372637
#define PCI_DEVICE_ID_INTEL_PXH_0 0x0329
2638-
#define PCI_DEVICE_ID_INTEL_PXH_1 0x032A
2639-
#define PCI_DEVICE_ID_INTEL_PXHV 0x032C
2638+
#define PCI_DEVICE_ID_INTEL_PXH_1 0x032a
2639+
#define PCI_DEVICE_ID_INTEL_PXHV 0x032c
26402640
#define PCI_DEVICE_ID_INTEL_80332_0 0x0330
26412641
#define PCI_DEVICE_ID_INTEL_80332_1 0x0332
26422642
#define PCI_DEVICE_ID_INTEL_80333_0 0x0370
@@ -2654,14 +2654,14 @@
26542654
#define PCI_DEVICE_ID_INTEL_MFD_SDIO2 0x0822
26552655
#define PCI_DEVICE_ID_INTEL_MFD_EMMC0 0x0823
26562656
#define PCI_DEVICE_ID_INTEL_MFD_EMMC1 0x0824
2657-
#define PCI_DEVICE_ID_INTEL_MRST_SD2 0x084F
2658-
#define PCI_DEVICE_ID_INTEL_QUARK_X1000_ILB 0x095E
2657+
#define PCI_DEVICE_ID_INTEL_MRST_SD2 0x084f
2658+
#define PCI_DEVICE_ID_INTEL_QUARK_X1000_ILB 0x095e
26592659
#define PCI_DEVICE_ID_INTEL_I960 0x0960
26602660
#define PCI_DEVICE_ID_INTEL_I960RM 0x0962
26612661
#define PCI_DEVICE_ID_INTEL_CENTERTON_ILB 0x0c60
26622662
#define PCI_DEVICE_ID_INTEL_8257X_SOL 0x1062
26632663
#define PCI_DEVICE_ID_INTEL_82573E_SOL 0x1085
2664-
#define PCI_DEVICE_ID_INTEL_82573L_SOL 0x108F
2664+
#define PCI_DEVICE_ID_INTEL_82573L_SOL 0x108f
26652665
#define PCI_DEVICE_ID_INTEL_82815_MC 0x1130
26662666
#define PCI_DEVICE_ID_INTEL_82815_CGC 0x1132
26672667
#define PCI_DEVICE_ID_INTEL_82092AA_0 0x1221
@@ -2755,12 +2755,6 @@
27552755
#define PCI_DEVICE_ID_INTEL_82801EB_11 0x24db
27562756
#define PCI_DEVICE_ID_INTEL_82801EB_12 0x24dc
27572757
#define PCI_DEVICE_ID_INTEL_82801EB_13 0x24dd
2758-
#define PCI_DEVICE_ID_INTEL_ESB_1 0x25a1
2759-
#define PCI_DEVICE_ID_INTEL_ESB_2 0x25a2
2760-
#define PCI_DEVICE_ID_INTEL_ESB_4 0x25a4
2761-
#define PCI_DEVICE_ID_INTEL_ESB_5 0x25a6
2762-
#define PCI_DEVICE_ID_INTEL_ESB_9 0x25ab
2763-
#define PCI_DEVICE_ID_INTEL_ESB_10 0x25ac
27642758
#define PCI_DEVICE_ID_INTEL_82820_HB 0x2500
27652759
#define PCI_DEVICE_ID_INTEL_82820_UP_HB 0x2501
27662760
#define PCI_DEVICE_ID_INTEL_82850_HB 0x2530
@@ -2775,14 +2769,15 @@
27752769
#define PCI_DEVICE_ID_INTEL_82915G_IG 0x2582
27762770
#define PCI_DEVICE_ID_INTEL_82915GM_HB 0x2590
27772771
#define PCI_DEVICE_ID_INTEL_82915GM_IG 0x2592
2778-
#define PCI_DEVICE_ID_INTEL_5000_ERR 0x25F0
2779-
#define PCI_DEVICE_ID_INTEL_5000_FBD0 0x25F5
2780-
#define PCI_DEVICE_ID_INTEL_5000_FBD1 0x25F6
2781-
#define PCI_DEVICE_ID_INTEL_82945G_HB 0x2770
2782-
#define PCI_DEVICE_ID_INTEL_82945G_IG 0x2772
2783-
#define PCI_DEVICE_ID_INTEL_3000_HB 0x2778
2784-
#define PCI_DEVICE_ID_INTEL_82945GM_HB 0x27A0
2785-
#define PCI_DEVICE_ID_INTEL_82945GM_IG 0x27A2
2772+
#define PCI_DEVICE_ID_INTEL_ESB_1 0x25a1
2773+
#define PCI_DEVICE_ID_INTEL_ESB_2 0x25a2
2774+
#define PCI_DEVICE_ID_INTEL_ESB_4 0x25a4
2775+
#define PCI_DEVICE_ID_INTEL_ESB_5 0x25a6
2776+
#define PCI_DEVICE_ID_INTEL_ESB_9 0x25ab
2777+
#define PCI_DEVICE_ID_INTEL_ESB_10 0x25ac
2778+
#define PCI_DEVICE_ID_INTEL_5000_ERR 0x25f0
2779+
#define PCI_DEVICE_ID_INTEL_5000_FBD0 0x25f5
2780+
#define PCI_DEVICE_ID_INTEL_5000_FBD1 0x25f6
27862781
#define PCI_DEVICE_ID_INTEL_ICH6_0 0x2640
27872782
#define PCI_DEVICE_ID_INTEL_ICH6_1 0x2641
27882783
#define PCI_DEVICE_ID_INTEL_ICH6_2 0x2642
@@ -2794,6 +2789,11 @@
27942789
#define PCI_DEVICE_ID_INTEL_ESB2_14 0x2698
27952790
#define PCI_DEVICE_ID_INTEL_ESB2_17 0x269b
27962791
#define PCI_DEVICE_ID_INTEL_ESB2_18 0x269e
2792+
#define PCI_DEVICE_ID_INTEL_82945G_HB 0x2770
2793+
#define PCI_DEVICE_ID_INTEL_82945G_IG 0x2772
2794+
#define PCI_DEVICE_ID_INTEL_3000_HB 0x2778
2795+
#define PCI_DEVICE_ID_INTEL_82945GM_HB 0x27a0
2796+
#define PCI_DEVICE_ID_INTEL_82945GM_IG 0x27a2
27972797
#define PCI_DEVICE_ID_INTEL_ICH7_0 0x27b8
27982798
#define PCI_DEVICE_ID_INTEL_ICH7_1 0x27b9
27992799
#define PCI_DEVICE_ID_INTEL_ICH7_30 0x27b0
@@ -2846,7 +2846,7 @@
28462846
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_QPI_PHY0 0x2c91
28472847
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_MCR 0x2c98
28482848
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_TAD 0x2c99
2849-
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_TEST 0x2c9C
2849+
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_TEST 0x2c9c
28502850
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_CH0_CTRL 0x2ca0
28512851
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_CH0_ADDR 0x2ca1
28522852
#define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_CH0_RANK 0x2ca2
@@ -2958,16 +2958,16 @@
29582958
#define PCI_DEVICE_ID_INTEL_SBRIDGE_BR 0x3cf5 /* 13.6 */
29592959
#define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD1 0x3cf6 /* 12.7 */
29602960
#define PCI_DEVICE_ID_INTEL_IOAT_SNB 0x402f
2961-
#define PCI_DEVICE_ID_INTEL_5100_16 0x65f0
2962-
#define PCI_DEVICE_ID_INTEL_5100_19 0x65f3
2963-
#define PCI_DEVICE_ID_INTEL_5100_21 0x65f5
2964-
#define PCI_DEVICE_ID_INTEL_5100_22 0x65f6
29652961
#define PCI_DEVICE_ID_INTEL_5400_ERR 0x4030
29662962
#define PCI_DEVICE_ID_INTEL_5400_FBD0 0x4035
29672963
#define PCI_DEVICE_ID_INTEL_5400_FBD1 0x4036
2968-
#define PCI_DEVICE_ID_INTEL_IOAT_SCNB 0x65ff
29692964
#define PCI_DEVICE_ID_INTEL_EP80579_0 0x5031
29702965
#define PCI_DEVICE_ID_INTEL_EP80579_1 0x5032
2966+
#define PCI_DEVICE_ID_INTEL_5100_16 0x65f0
2967+
#define PCI_DEVICE_ID_INTEL_5100_19 0x65f3
2968+
#define PCI_DEVICE_ID_INTEL_5100_21 0x65f5
2969+
#define PCI_DEVICE_ID_INTEL_5100_22 0x65f6
2970+
#define PCI_DEVICE_ID_INTEL_IOAT_SCNB 0x65ff
29712971
#define PCI_DEVICE_ID_INTEL_82371SB_0 0x7000
29722972
#define PCI_DEVICE_ID_INTEL_82371SB_1 0x7010
29732973
#define PCI_DEVICE_ID_INTEL_82371SB_2 0x7020

0 commit comments

Comments
 (0)