Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Print some PCIE device type.



details:   https://anonhg.NetBSD.org/src/rev/19f6c2e52638
branches:  trunk
changeset: 786106:19f6c2e52638
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Apr 15 18:51:29 2013 +0000

description:
Print some PCIE device type.

diffstat:

 sys/dev/pci/pci_subr.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r be58da9728ec -r 19f6c2e52638 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Mon Apr 15 18:48:36 2013 +0000
+++ b/sys/dev/pci/pci_subr.c    Mon Apr 15 18:51:29 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.95 2012/10/27 17:18:35 chs Exp $        */
+/*     $NetBSD: pci_subr.c,v 1.96 2013/04/15 18:51:29 msaitoh Exp $    */
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.95 2012/10/27 17:18:35 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.96 2013/04/15 18:51:29 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -842,6 +842,12 @@
        case 0x8:
                printf("PCI/PCI-X to PCI Express Bridge\n");
                break;
+       case 0x9:
+               printf("Root Complex Integrated Endpoint\n");
+               break;
+       case 0xa:
+               printf("Root Complex Event Collector\n");
+               break;
        default:
                printf("unknown\n");
                break;



Home | Main Index | Thread Index | Old Index