Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci -correct the "MSI" capability



details:   https://anonhg.NetBSD.org/src/rev/e0bd0d9cd3ee
branches:  trunk
changeset: 536749:e0bd0d9cd3ee
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sat Sep 21 16:16:31 2002 +0000

description:
-correct the "MSI" capability
-add some new subclasses and capability IDs

diffstat:

 sys/dev/pci/pcireg.h |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r dbbb6838d2dc -r e0bd0d9cd3ee sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h      Sat Sep 21 15:24:29 2002 +0000
+++ b/sys/dev/pci/pcireg.h      Sat Sep 21 16:16:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcireg.h,v 1.38 2002/06/18 13:18:37 tshiozak Exp $     */
+/*     $NetBSD: pcireg.h,v 1.39 2002/09/21 16:16:31 drochner Exp $     */
 
 /*
  * Copyright (c) 1995, 1996, 1999, 2000
@@ -168,6 +168,7 @@
 #define        PCI_SUBCLASS_MASS_STORAGE_IPI           0x03
 #define        PCI_SUBCLASS_MASS_STORAGE_RAID          0x04
 #define        PCI_SUBCLASS_MASS_STORAGE_ATA           0x05
+#define        PCI_SUBCLASS_MASS_STORAGE_SATA          0x06
 #define        PCI_SUBCLASS_MASS_STORAGE_MISC          0x80
 
 /* 0x02 network subclasses */
@@ -267,6 +268,8 @@
 #define        PCI_SUBCLASS_WIRELESS_RF                0x10
 #define        PCI_SUBCLASS_WIRELESS_BLUETOOTH         0x11
 #define        PCI_SUBCLASS_WIRELESS_BROADBAND         0x12
+#define        PCI_SUBCLASS_WIRELESS_802_11A           0x20
+#define        PCI_SUBCLASS_WIRELESS_802_11B           0x21
 #define        PCI_SUBCLASS_WIRELESS_MISC              0x80
 
 /* 0x0e I2O (Intelligent I/O) subclasses */
@@ -408,7 +411,7 @@
 #define        PCI_CAP_AGP             0x02
 #define        PCI_CAP_VPD             0x03
 #define        PCI_CAP_SLOTID          0x04
-#define        PCI_CAP_MBI             0x05
+#define        PCI_CAP_MSI             0x05
 #define        PCI_CAP_CPCI_HOTSWAP    0x06
 #define        PCI_CAP_PCIX            0x07
 #define        PCI_CAP_LDT             0x08
@@ -416,6 +419,10 @@
 #define        PCI_CAP_DEBUGPORT       0x0a
 #define        PCI_CAP_CPCI_RSRCCTL    0x0b
 #define        PCI_CAP_HOTPLUG         0x0c
+#define        PCI_CAP_AGP8            0x0e
+#define        PCI_CAP_SECURE          0x0f
+#define        PCI_CAP_PCIEXPRESS      0x10
+#define        PCI_CAP_MSIX            0x11
 
 /*
  * Power Management Capability; access via capability pointer.



Home | Main Index | Thread Index | Old Index