svn commit: r345369 - head/sys/dev/uart
Colin Percival
cperciva at FreeBSD.org
Thu Mar 21 08:54:35 UTC 2019
Author: cperciva
Date: Thu Mar 21 08:54:34 2019
New Revision: 345369
URL: https://svnweb.freebsd.org/changeset/base/345369
Log:
Recognize the Amazon PCI serial device found in a1.* EC2 instances
as an NS8250 UART.
This is the same as the UART found in EC2 "bare metal" instances,
except that the card vendor shows up as 0x0000 rather than 0x1d0f.
This seems like a bug in the EC2 firmware; but we might as well support
it anyway.
Reported by: Greg V
Modified:
head/sys/dev/uart/uart_bus_pci.c
Modified: head/sys/dev/uart/uart_bus_pci.c
==============================================================================
--- head/sys/dev/uart/uart_bus_pci.c Thu Mar 21 08:51:32 2019 (r345368)
+++ head/sys/dev/uart/uart_bus_pci.c Thu Mar 21 08:54:34 2019 (r345369)
@@ -125,6 +125,7 @@ static const struct pci_id pci_ns8250_ids[] = {
128 * DEFAULT_RCLK, 2},
{ 0x14e4, 0x4344, 0xffff, 0, "Sony Ericsson GC89 PC Card", 0x10},
{ 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
+{ 0x1d0f, 0x8250, 0x0000, 0, "Amazon PCI serial device", 0x10 },
{ 0x1d0f, 0x8250, 0x1d0f, 0, "Amazon PCI serial device", 0x10 },
{ 0x1fd4, 0x1999, 0x1fd4, 0x0001, "Sunix SER5xxxx Serial Port", 0x10,
8 * DEFAULT_RCLK },
More information about the svn-src-all
mailing list