summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-03 19:42:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-03 19:42:06 +0000
commit3b1fdecadc0926707c9353ba6a460133669a8f42 (patch)
treea17c1ef247da0a674e3b4181a4ce361bcc35df75 /sys/dev/pci
parente7e5fd88e2cda241d37a656b1cb3978e6a5f9da6 (diff)
more bridge types
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci_subr.c4
-rw-r--r--sys/dev/pci/pcireg.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/pci/pci_subr.c b/sys/dev/pci/pci_subr.c
index 8de59b38416..d6068b6e1c6 100644
--- a/sys/dev/pci/pci_subr.c
+++ b/sys/dev/pci/pci_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_subr.c,v 1.6 1998/01/06 02:36:43 deraadt Exp $ */
+/* $OpenBSD: pci_subr.c,v 1.7 1998/02/03 19:42:04 deraadt Exp $ */
/* $NetBSD: pci_subr.c,v 1.19 1996/10/13 01:38:29 christos Exp $ */
/*
@@ -109,6 +109,8 @@ struct pci_class pci_subclass_bridge[] = {
{ "MicroChannel", PCI_SUBCLASS_BRIDGE_MC, },
{ "PCI", PCI_SUBCLASS_BRIDGE_PCI, },
{ "PCMCIA", PCI_SUBCLASS_BRIDGE_PCMCIA, },
+ { "NuBus", PCI_SUBCLASS_BRIDGE_NUBUS, },
+ { "CardBus", PCI_SUBCLASS_BRIDGE_CARDBUS, },
{ "miscellaneous", PCI_SUBCLASS_BRIDGE_MISC, },
{ 0 },
};
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index 90c3a42d574..65da5d84f39 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcireg.h,v 1.5 1996/11/28 23:28:13 niklas Exp $ */
+/* $OpenBSD: pcireg.h,v 1.6 1998/02/03 19:42:05 deraadt Exp $ */
/* $NetBSD: pcireg.h,v 1.11 1996/08/10 15:42:33 mycroft Exp $ */
/*
@@ -166,6 +166,8 @@ typedef u_int8_t pci_revision_t;
#define PCI_SUBCLASS_BRIDGE_MC 0x03
#define PCI_SUBCLASS_BRIDGE_PCI 0x04
#define PCI_SUBCLASS_BRIDGE_PCMCIA 0x05
+#define PCI_SUBCLASS_BRIDGE_NUBUS 0x06
+#define PCI_SUBCLASS_BRIDGE_CARDBUS 0x07
#define PCI_SUBCLASS_BRIDGE_MISC 0x80
/*