PCI Device Class Codes

2024-09-02 05:48
文章标签 class device pci codes

本文主要是介绍PCI Device Class Codes,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

目录

Class Code 0: Pre 2.0

Class Code 1: Mass Storage Controllers

Class Code 2: Network Controllers

Class Code 3: Display Controllers

Class Code 4: Multimedia Devices

Class Code 5: Memory Controllers

Class Code 6: Bridge Devices

Class Code 7: Simple Communications Controllers

Class Code 8: Base System Peripherals

Class Code 9: Input Devices

Class Code A: Docking Stations

Class Code B: Processors

Class Code C: Serial Bus Controllers


PCI Config-Space_Rx09[] : 开始的3个字节

Class

Description

0x00

Devices built before class codes (i.e. pre PCI 2.0)

0x01

Mass storage controller

0x02

Network controller

0x03

Display controller

0x04

Multimedia device

0x05

Memory Controller

0x06

Bridge Device

0x07

Simple communications controllers

0x08

Base system peripherals

0x09

Inupt devices

0x0A

Docking Stations

0x0B

Processorts

0x0C

Serial bus controllers

0x0D-0xFE

Reserved

0xFF

Misc

下面介绍各个类别

Class Code 0: Pre 2.0

Sub-Class

Prog. I/F

Description

0x00

0x00

All devices other than VGA

0x01

0x01

VGA device

Class Code 1: Mass Storage Controllers

Sub-Class

Prog. I/F

Description

0x00

0x00

SCSI Controller

0x01

0xXX

IDE controller. The Prog I/F is defined as follows:

0x02

0x00

Floppy disk controller

0x03

0x00

IPI controller

0x04

0x00

RAID controller

0x80

0x00

Other mass storage controller

bits

Desc

0

Operating mode (primary)

1

Programmable indicator (primary)

2

Operating mode (secondary)

3

Programmable indicator (secondary)

6..4

Reserved (zero)

7

Master IDE device

Class Code 2: Network Controllers

Sub-Class

Prog. I/F

Description

0x00

0x00

Ethernet controller

0x01

0x00

Token ring

0x02

0x00

FDDI controller

0x03

0x00

ATM controller

0x80

0x00

Other network conteroller

Class Code 3: Display Controllers

Sub-Class

Prog. I/F

Description

0x00

0x00

VGA compatable controller. Has mapping for 0xA0000..0xBFFFF and io addresses 0x3B0..0x3BB.

0x01

8514 compatable

0x01

0x00

XGA controller

0x80

0x80

Other display controller

Class Code 4: Multimedia Devices

Sub-Class

Prog. I/F

Description

0x00

0x00

Video device

0x01

0x00

Audio device

0x80

0x00

Other multimedia device

Class Code 5: Memory Controllers

Sub-Class

Prog. I/F

Description

0x00

0x00

RAM controller

0x01

0x00

Flash memory controller

0x80

0x00

Other memory controller

Class Code 6: Bridge Devices

Sub-Class

Prog. I/F

Description

0x00

0x00

Host/PCI bridge

0x01

0x00

PCI/ISA bridge

0x02

0x00

PCI/EISA bridge

0x03

0x00

PCI/Micro Channel bridge

0x04

0x00

PCI/PCI bridge

0x05

0x00

PCI/PCMCIA bridge

0x06

0x00

PCI/NuBus bridge

0x07

0x00

PCI/CardBus bridge

0x80

0x00

Other bridge type

Class Code 7: Simple Communications Controllers

Sub-Class

Prog. I/F

Description

0x00

0x00

Generic XT compatable serial controller

0x01

16450 compatable serial controller

0x02

16550 compatable serial controller

0x01

0x00

Parallel port

0x01

Bi-directional parallel port

0x02

ECP 1.X parallel port

0x80

0x00

Other commonications device

Class Code 8: Base System Peripherals

Sub-Class

Prog. I/F

Description

0x00

0x00

Generic 8259 programmable interrupt controller (PIC)

0x01

ISA PIC

0x02

EISA PIC

0x01

0x00

Generic 8237 DMA controller

0x01

ISA DMA controller

0x02

EISA DMA controller

0x02

0x00

Generic 8254 timer

0x01

ISA system timer

0x02

EISA system timer

0x03

0x00

Generic RTC controller

0x01

ISA RTC controller

0x80

0x00

Other system peripheral

Class Code 9: Input Devices

Sub-Class

Prog. I/F

Description

0x00

0x00

Keyboard controller

0x01

0x00

Digitizer (pen)

0x02

0x00

Mouse controller

0x80

0x00

Other input controller

Class Code A: Docking Stations

Sub-Class

Prog. I/F

Description

0x00

0x00

Generic docking station

0x80

0x00

Other type of docking station

Class Code B: Processors

Sub-Class

Prog. I/F

Description

0x00

0x00

386

0x01

0x00

486

0x02

0x00

Pentium

0x10

0x00

Alpha

0x20

0x00

PowerPC

0x40

0x00

Co-Processor

Class Code C: Serial Bus Controllers

Sub-Class

Prog. I/F

Description

0x00

0x00

Firewire (IEEE 1394)

0x01

0x00

ACCESS bus

0x02

0x00

SSA (Serial Storage Architecture)

0x03

0x00

USB (Universal Serial Bus)

这篇关于PCI Device Class Codes的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1129166

相关文章

类型信息:反射-Class

在说反射前提一个概念:RTTI(在运行时,识别一个对象的类型) public class Shapes {public static void main(String[] args) {List<Shape> shapes = Arrays.asList(new Circle(), new Square(), new Triangle());for (Shape shape : shapes

react笔记 8-17 属性绑定 class绑定 引入图片 循环遍历

1、绑定属性 constructor(){super()this.state={name:"张三",title:'我是一个title'}}render() {return (<div><div>aaaaaaa{this.state.name}<div title={this.state.title}>我是一个title</div></div></div>)} 绑定属性直接使用花括号{}   注

Usb Audio Device Descriptor(10) Hid Device

对于 Standard Interface Descriptor, 当 bInterfaceClass=0x03时,即为HID设备。Standard Interface Descriptor如下 struct usb_standard_interface_descriptor{U8 bLength; /*Size of this descriptor in bytes*/U8 bDescrip

src/pyaudio/device_api.c:9:10: fatal error: portaudio.h: 没有那个文件或目录

(venv) shgbitai@shgbitai-C9X299-PGF:~/pythonworkspace/ai-accompany$ pip install pyaudio sounddeviceCollecting pyaudioDownloading PyAudio-0.2.14.tar.gz (47 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

泛型参Class、Class、Class的对比区别

1.原文链接 泛型参Class、Class、Class的对比区别 https://blog.csdn.net/jitianxia68/article/details/73610606 <? extends T>和<? super T> https://www.cnblogs.com/drizzlewithwind/p/6100164.html   2.具体内容: 泛型参数Class、

2015多校联合训练第一场Tricks Device(hdu5294)

题意:给一个无向图,给起点s,终点t,求最少拆掉几条边使得s到不了t,最多拆几条边使得s能到t 思路: 先跑一边最短路,记录最短路中最短的边数,总边数-最短边数就是第二个答案 第一个答案就是在最短路里面求最小割,也就是求最大流,然后根据最短路在建个新图,权为1,跑一边网络流 模板题,以后就用这套模板了 #include <iostream>#include <cstdio>#incl

c++通用模板类(template class)定义实现详细介绍

有时,有两个或多个类,其功能是相同的,仅仅是数据类型不同,如下面语句声明了一个类:class Compare_int { public : Compare(int a,int b) { x=a; y=b; } int max( ) { return (x>y)?x:y; } int min( ) { return (x&... 有时,有两个或多个类,其功能是相同的,仅仅是数

Python方法:__init__,__new__,__class__的使用详解

转自:https://blog.csdn.net/qq_26442553/article/details/82464682 因为python中所有类默认继承object类。而object类提供了了很多原始的内建属性和方法,所以用户自定义的类在Python中也会继承这些内建属性。可以使用dir()函数可以查看,虽然python提供了很多内建属性但实际开发中常用的不多。而很多系统提供的内建属性实际

SpringBoot启动报错Failed to determine a suitable driver class

两种解决办法 1.在Application类上加 ` @EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class}) package com.example.demo3;import org.springframework.boot.SpringApplication;import org.springframewo

easyswoole not controller class match

not controller class match composer.json 注册 App 这个名称空间了吗?执行过 composer dump-autoload 了吗?存在 Index 控制器,但是文件大小写、路径都对了吗? task socket listen fail 注意,在部分环境下,例如 win10 的 docker 环境中,不可把虚拟机共享目录作为 EasySwoole 的 T