]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.9.68/serial-8250_pci-add-amazon-pci-serial-device-id.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.9.68 / serial-8250_pci-add-amazon-pci-serial-device-id.patch
1 From 3bfd1300abfe3adb18e84a89d97a0e82a22124bb Mon Sep 17 00:00:00 2001
2 From: Matt Wilson <msw@amazon.com>
3 Date: Mon, 13 Nov 2017 11:31:31 -0800
4 Subject: serial: 8250_pci: Add Amazon PCI serial device ID
5
6 From: Matt Wilson <msw@amazon.com>
7
8 commit 3bfd1300abfe3adb18e84a89d97a0e82a22124bb upstream.
9
10 This device will be used in future Amazon EC2 instances as the primary
11 serial port (i.e., data sent to this port will be available via the
12 GetConsoleOuput [1] EC2 API).
13
14 [1] http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetConsoleOutput.html
15
16 Signed-off-by: Matt Wilson <msw@amazon.com>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18
19 ---
20 drivers/tty/serial/8250/8250_pci.c | 3 +++
21 1 file changed, 3 insertions(+)
22
23 --- a/drivers/tty/serial/8250/8250_pci.c
24 +++ b/drivers/tty/serial/8250/8250_pci.c
25 @@ -5568,6 +5568,9 @@ static struct pci_device_id serial_pci_t
26 { PCI_DEVICE(0x1601, 0x0800), .driver_data = pbn_b0_4_1250000 },
27 { PCI_DEVICE(0x1601, 0xa801), .driver_data = pbn_b0_4_1250000 },
28
29 + /* Amazon PCI serial device */
30 + { PCI_DEVICE(0x1d0f, 0x8250), .driver_data = pbn_b0_1_115200 },
31 +
32 /*
33 * These entries match devices with class COMMUNICATION_SERIAL,
34 * COMMUNICATION_MODEM or COMMUNICATION_MULTISERIAL