summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcivar.h
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1998-08-13 19:12:20 +0000
committergibbs <gibbs@FreeBSD.org>1998-08-13 19:12:20 +0000
commitc0198b7da71600250c5ab933c9bbddc26b6df813 (patch)
tree6a31dd7fb50e4587162692d747840b9f29c0a40f /sys/pci/pcivar.h
parent122a40654582cbaa4d9584f2b9bff47b01a6e8cc (diff)
downloadFreeBSD-src-c0198b7da71600250c5ab933c9bbddc26b6df813.zip
FreeBSD-src-c0198b7da71600250c5ab933c9bbddc26b6df813.tar.gz
Use "baseclass" instead of "class" for storing the contents of PCI register
0xB so that C++ programs can use the PCI conf interface.
Diffstat (limited to 'sys/pci/pcivar.h')
-rw-r--r--sys/pci/pcivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/pcivar.h b/sys/pci/pcivar.h
index f624678..3d0afd4 100644
--- a/sys/pci/pcivar.h
+++ b/sys/pci/pcivar.h
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcivar.h,v 1.18 1997/08/21 08:31:41 fsmp Exp $
+ * $Id: pcivar.h,v 1.19 1998/07/22 08:39:08 dfr Exp $
*
*/
@@ -78,7 +78,7 @@ typedef struct pcicfg {
u_int16_t cmdreg; /* disable/enable chip and PCI options */
u_int16_t statreg; /* supported PCI features and error state */
- u_int8_t class; /* chip PCI class */
+ u_int8_t baseclass; /* chip PCI class */
u_int8_t subclass; /* chip PCI subclass */
u_int8_t progif; /* chip PCI programming interface */
u_int8_t revid; /* chip revision ID */
OpenPOWER on IntegriCloud