summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2015-06-20 04:02:33 +0000
committermarcel <marcel@FreeBSD.org>2015-06-20 04:02:33 +0000
commit0a866e9f12f5848a8913da68b9eece69a6579556 (patch)
tree920d1c46748a9188e830513871d42f54a1a26165 /sys/dev/uart
parentf437130e8b002db4ebb7f417e6195f5000c171fa (diff)
downloadFreeBSD-src-0a866e9f12f5848a8913da68b9eece69a6579556.zip
FreeBSD-src-0a866e9f12f5848a8913da68b9eece69a6579556.tar.gz
Add support for the Intel Atom E3800 series SoC (aka Bay Trail).
Sponsored by: XipLink, Inc
Diffstat (limited to 'sys/dev/uart')
-rw-r--r--sys/dev/uart/uart_bus_pci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_bus_pci.c b/sys/dev/uart/uart_bus_pci.c
index b297502..7ba4dc9 100644
--- a/sys/dev/uart/uart_bus_pci.c
+++ b/sys/dev/uart/uart_bus_pci.c
@@ -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_ids[] = {
{ 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);
OpenPOWER on IntegriCloud