serial: 8250_pci: Move Pericom IDs to pci_ids.h
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Fri, 8 May 2020 06:53:40 +0000 (14:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:05:25 +0000 (09:05 +0200)
[ Upstream commit 62a7f3009a460001eb46984395280dd900bc4ef4 ]

Move the IDs to pci_ids.h so it can be used by next patch.

Link: https://lore.kernel.org/r/20200508065343.32751-1-kai.heng.feng@canonical.com
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/8250/8250_pci.c
include/linux/pci_ids.h

index bbe5cba21522807cf09acfcc95a86da597028687..02091782bc1e7cb1f6f19dc258a02ad78c4db84c 100644 (file)
@@ -1690,12 +1690,6 @@ pci_wch_ch38x_setup(struct serial_private *priv,
 #define PCIE_DEVICE_ID_WCH_CH384_4S    0x3470
 #define PCIE_DEVICE_ID_WCH_CH382_2S    0x3253
 
-#define PCI_VENDOR_ID_PERICOM                  0x12D8
-#define PCI_DEVICE_ID_PERICOM_PI7C9X7951       0x7951
-#define PCI_DEVICE_ID_PERICOM_PI7C9X7952       0x7952
-#define PCI_DEVICE_ID_PERICOM_PI7C9X7954       0x7954
-#define PCI_DEVICE_ID_PERICOM_PI7C9X7958       0x7958
-
 #define PCI_VENDOR_ID_ACCESIO                  0x494f
 #define PCI_DEVICE_ID_ACCESIO_PCIE_COM_2SDB    0x1051
 #define PCI_DEVICE_ID_ACCESIO_MPCIE_COM_2S     0x1053
index 14baae112a5453e7924a9f9ef1426604ae3192ab..c0dd2f749d3f89d8f0bb257c20291c53b2e0f72f 100644 (file)
 #define PCI_VENDOR_ID_NVIDIA_SGS       0x12d2
 #define PCI_DEVICE_ID_NVIDIA_SGS_RIVA128 0x0018
 
+#define PCI_VENDOR_ID_PERICOM                  0x12D8
+#define PCI_DEVICE_ID_PERICOM_PI7C9X7951       0x7951
+#define PCI_DEVICE_ID_PERICOM_PI7C9X7952       0x7952
+#define PCI_DEVICE_ID_PERICOM_PI7C9X7954       0x7954
+#define PCI_DEVICE_ID_PERICOM_PI7C9X7958       0x7958
+
 #define PCI_SUBVENDOR_ID_CHASE_PCIFAST         0x12E0
 #define PCI_SUBDEVICE_ID_CHASE_PCIFAST4                0x0031
 #define PCI_SUBDEVICE_ID_CHASE_PCIFAST8                0x0021