Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Add Amazon.com EC2 virtual 16650-compatible PCI ...



details:   https://anonhg.NetBSD.org/src/rev/300054c906f0
branches:  trunk
changeset: 837344:300054c906f0
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Nov 29 23:53:44 2018 +0000

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

diffstat:

 sys/dev/pci/pucdata.c |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 0728a6bfd975 -r 300054c906f0 sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Thu Nov 29 23:53:15 2018 +0000
+++ b/sys/dev/pci/pucdata.c     Thu Nov 29 23:53:44 2018 +0000
@@ -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 @@
            },
        },
 
+       /*
+        * 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  },



Home | Main Index | Thread Index | Old Index