Add PCI_CAP_SUBVENDOR (= 0x0d).
This commit is contained in:
parent
5acfc15a7b
commit
94b93e5a0d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pci_subr.c,v 1.99 2013/04/16 15:50:58 msaitoh Exp $ */
|
||||
/* $NetBSD: pci_subr.c,v 1.100 2013/04/17 04:36:27 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.99 2013/04/16 15:50:58 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.100 2013/04/17 04:36:27 msaitoh Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_pci.h"
|
||||
@ -1353,6 +1353,9 @@ pci_conf_print_caplist(
|
||||
case PCI_CAP_HOTPLUG:
|
||||
printf("Hot-Plug");
|
||||
break;
|
||||
case PCI_CAP_SUBVENDOR:
|
||||
printf("Sub Vendor ID");
|
||||
break;
|
||||
case PCI_CAP_AGP8:
|
||||
printf("AGP 8x");
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pcireg.h,v 1.80 2013/04/16 15:50:57 msaitoh Exp $ */
|
||||
/* $NetBSD: pcireg.h,v 1.81 2013/04/17 04:36:27 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1999, 2000
|
||||
@ -463,6 +463,7 @@ typedef u_int8_t pci_revision_t;
|
||||
#define PCI_CAP_DEBUGPORT 0x0a
|
||||
#define PCI_CAP_CPCI_RSRCCTL 0x0b
|
||||
#define PCI_CAP_HOTPLUG 0x0c
|
||||
#define PCI_CAP_SUBVENDOR 0x0d
|
||||
#define PCI_CAP_AGP8 0x0e
|
||||
#define PCI_CAP_SECURE 0x0f
|
||||
#define PCI_CAP_PCIEXPRESS 0x10
|
||||
|
Loading…
Reference in New Issue
Block a user