Module Name:    src
Committed By:   jmcneill
Date:           Thu Nov 29 23:53:44 UTC 2018

Modified Files:
        src/sys/dev/pci: pucdata.c

Log Message:
Add Amazon.com EC2 virtual 16650-compatible PCI serial device


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/dev/pci/pucdata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/pucdata.c
diff -u src/sys/dev/pci/pucdata.c:1.102 src/sys/dev/pci/pucdata.c:1.103
--- src/sys/dev/pci/pucdata.c:1.102	Mon May 21 03:56:21 2018
+++ src/sys/dev/pci/pucdata.c	Thu Nov 29 23:53:44 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: pucdata.c,v 1.102 2018/05/21 03:56:21 jnemeth Exp $	*/
+/*	$NetBSD: pucdata.c,v 1.103 2018/11/29 23:53:44 jmcneill Exp $	*/
 
 /*
  * Copyright (c) 1998, 1999 Christopher G. Demetriou.  All rights reserved.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.102 2018/05/21 03:56:21 jnemeth Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.103 2018/11/29 23:53:44 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -131,6 +131,17 @@ const struct puc_device_description puc_
 	    },
 	},
 
+	/*
+	 * Amazon.com EC2 virtual 16650-compatible PCI serial device.
+	 */
+	{   "Amazon.com EC2 Serial",
+	    {	PCI_VENDOR_AMAZON, PCI_PRODUCT_AMAZON_UART,	0, 0  },
+	    {	0xffff, 0xffff,					0, 0  },
+	    {
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ },
+	    }
+	},
+
 	/* Avlab Technology, Inc. PCI 2 Serial: 2S */
 	{   "Avlab PCI 2 Serial",
 	    {	PCI_VENDOR_AVLAB, PCI_PRODUCT_AVLAB_PCI2S,	0, 0  },

Reply via email to