svn commit: r284623 - head/sys/dev/uart
Marcel Moolenaar
marcel at FreeBSD.org
Sat Jun 20 04:02:33 UTC 2015
Author: marcel
Date: Sat Jun 20 04:02:33 2015
New Revision: 284623
URL: https://svnweb.freebsd.org/changeset/base/284623
Log:
Add support for the Intel Atom E3800 series SoC (aka Bay Trail).
Sponsored by: XipLink, Inc
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 Sat Jun 20 03:40:19 2015 (r284622)
+++ head/sys/dev/uart/uart_bus_pci.c Sat Jun 20 04:02:33 2015 (r284623)
@@ -69,6 +69,7 @@ struct pci_id {
const char *desc;
int rid;
int rclk;
+ int regshft;
};
static const struct pci_id pci_ns8250_ids[] = {
@@ -118,6 +119,10 @@ static const struct pci_id pci_ns8250_id
{ 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
{ 0x1fd4, 0x1999, 0x1fd4, 0x0001, "Sunix SER5xxxx Serial Port", 0x10,
8 * DEFAULT_RCLK },
+{ 0x8086, 0x0f0a, 0xffff, 0, "Intel ValleyView LPIO1 HSUART#1", 0x10,
+ 24 * DEFAULT_RCLK, 2 },
+{ 0x8086, 0x0f0c, 0xffff, 0, "Intel ValleyView LPIO1 HSUART#2", 0x10,
+ 24 * DEFAULT_RCLK, 2 },
{ 0x8086, 0x1c3d, 0xffff, 0, "Intel AMT - KT Controller", 0x10 },
{ 0x8086, 0x1d3d, 0xffff, 0, "Intel C600/X79 Series Chipset KT Controller", 0x10 },
{ 0x8086, 0x2a07, 0xffff, 0, "Intel AMT - PM965/GM965 KT Controller", 0x10 },
@@ -186,7 +191,7 @@ uart_pci_probe(device_t dev)
return (ENXIO);
match:
- result = uart_bus_probe(dev, 0, id->rclk, id->rid, 0);
+ result = uart_bus_probe(dev, id->regshft, id->rclk, id->rid, 0);
/* Bail out on error. */
if (result > 0)
return (result);
More information about the svn-src-head
mailing list