1*a4d6d3b8SXin LI 2*a4d6d3b8SXin LI#------------------------------------------------------------------------------ 3*a4d6d3b8SXin LI# $File: pci_ids,v 1.1 2022/04/02 14:47:42 christos Exp $ 4*a4d6d3b8SXin LI# pci.ids: file(1) magic for PCI specific informations 5*a4d6d3b8SXin LI# 6*a4d6d3b8SXin LI 7*a4d6d3b8SXin LI# Vendor identification (ID) https://pci-ids.ucw.cz/v2.2/pci.ids 8*a4d6d3b8SXin LI# show hexadecimal PCI vendor identification in human readable text form 9*a4d6d3b8SXin LI0 name PCI-vendor 10*a4d6d3b8SXin LI# ID vendor name 11*a4d6d3b8SXin LI#>0 uleshort =0x0f00 fOO 12*a4d6d3b8SXin LI>0 uleshort =0x1000 Broadcom 13*a4d6d3b8SXin LI>0 uleshort =0x1002 AMD/ATI 14*a4d6d3b8SXin LI>0 uleshort =0x1013 Cirrus Logic 15*a4d6d3b8SXin LI>0 uleshort =0x1014 IBM 16*a4d6d3b8SXin LI>0 uleshort =0x1022 AMD 17*a4d6d3b8SXin LI>0 uleshort =0x1050 Winbond 18*a4d6d3b8SXin LI>0 uleshort =0x105a Promise 19*a4d6d3b8SXin LI>0 uleshort =0x1095 Silicon 20*a4d6d3b8SXin LI>0 uleshort =0x10EC Realtek 21*a4d6d3b8SXin LI>0 uleshort =0x10de NVIDIA 22*a4d6d3b8SXin LI>0 uleshort =0x1106 VIA 23*a4d6d3b8SXin LI# Woodward McCoach, Inc. 24*a4d6d3b8SXin LI>0 uleshort =0x1231 Woodward 25*a4d6d3b8SXin LI# 26*a4d6d3b8SXin LI>0 uleshort =0x1234 Bochs 27*a4d6d3b8SXin LI>0 uleshort =0x15ad VMware 28*a4d6d3b8SXin LI>0 uleshort =0x1af4 Virtio 29*a4d6d3b8SXin LI>0 uleshort =0x1b36 QEMU 30*a4d6d3b8SXin LI>0 uleshort =0x1de1 Tekram 31*a4d6d3b8SXin LI# maybe also Promise? 32*a4d6d3b8SXin LI#>0 uleshort =0x4289 Promise 33*a4d6d3b8SXin LI#>0 uleshort =0x66a1 FOO 34*a4d6d3b8SXin LI>0 uleshort =0x8086 Intel 35*a4d6d3b8SXin LI>0 uleshort =0x9004 Adaptec 36*a4d6d3b8SXin LI# also Adaptec; but no example 37*a4d6d3b8SXin LI>0 uleshort =0x9005 Adaptec 38*a4d6d3b8SXin LI# for unknown/missing manufactors 39*a4d6d3b8SXin LI>0 default x UNKNOWN 40*a4d6d3b8SXin LI>>0 uleshort x (%#4.4x) 41*a4d6d3b8SXin LI 42*a4d6d3b8SXin LI# https://blog.ladsai.com/pci-configuration-space-class-code.html 43*a4d6d3b8SXin LI# Base class code https://wiki.osdev.org/PCI 44*a4d6d3b8SXin LI# show hexadecimal PCI class+sub+ProgIF identification in human readable text form 45*a4d6d3b8SXin LI0 name PCI-class 46*a4d6d3b8SXin LI#>0 ubyte x CLASS=%x 47*a4d6d3b8SXin LI>0 ubyte x 48*a4d6d3b8SXin LI# Device was built prior definition of the class code field 49*a4d6d3b8SXin LI>>0 ubyte 0x00 PRIOR 50*a4d6d3b8SXin LI# Any device except for VGA-Compatible devices like: 2975BIOS.BIN Trm3x5.bin 51*a4d6d3b8SXin LI# BUT also NVidia44.bin vgabios-stdvga-bin.rom 52*a4d6d3b8SXin LI#>>>0 ubyte 0x00 NOT VGA 53*a4d6d3b8SXin LI# VGA-Compatible Device; NO EXAMPLE found here!! 54*a4d6d3b8SXin LI#>>>0 ubyte 0x01 VGA 55*a4d6d3b8SXin LI# like 4243.bin 56*a4d6d3b8SXin LI#>>>0 ubyte 0x04 SUB_CLASS_4 57*a4d6d3b8SXin LI>>0 ubyte 0x01 storage controller 58*a4d6d3b8SXin LI# device sub-type and its definition is dependent upon the base-type code 59*a4d6d3b8SXin LI>>>1 ubyte 0x00 SCSI 60*a4d6d3b8SXin LI>>>1 ubyte 0x01 IDE 61*a4d6d3b8SXin LI>>>1 ubyte 0x02 Floppy 62*a4d6d3b8SXin LI>>>1 ubyte 0x03 IPI 63*a4d6d3b8SXin LI>>>0 ubyte 0x04 RAID 64*a4d6d3b8SXin LI>>>1 ubyte 0x05 ATA 65*a4d6d3b8SXin LI>>>1 ubyte 0x06 SATA 66*a4d6d3b8SXin LI>>>1 ubyte 0x07 SAS 67*a4d6d3b8SXin LI>>>1 ubyte 0x08 NVM 68*a4d6d3b8SXin LI# 4650_sr5.bin "PROMISE" "FT TX4650 Ary X" 69*a4d6d3b8SXin LI>>>1 ubyte 0x80 OTHER 70*a4d6d3b8SXin LI>>0 ubyte 0x02 network controller 71*a4d6d3b8SXin LI>>>1 ubyte 0x00 ethernet 72*a4d6d3b8SXin LI>>>1 ubyte 0x01 token ring 73*a4d6d3b8SXin LI>>>1 ubyte 0x02 FDDI 74*a4d6d3b8SXin LI>>>1 ubyte 0x03 ATM 75*a4d6d3b8SXin LI>>>1 ubyte 0x04 ISDN 76*a4d6d3b8SXin LI>>>1 ubyte 0x05 WorldFip 77*a4d6d3b8SXin LI# PICMG 2.14 Multi Computing 78*a4d6d3b8SXin LI>>>1 ubyte 0x06 PICMG 79*a4d6d3b8SXin LI>>>1 ubyte 0x80 OTHER 80*a4d6d3b8SXin LI>>0 ubyte 0x03 display controller 81*a4d6d3b8SXin LI>>0 ubyte 0x04 multimedia controller 82*a4d6d3b8SXin LI>>0 ubyte 0x05 memory controller 83*a4d6d3b8SXin LI>>0 ubyte 0x06 bridge device 84*a4d6d3b8SXin LI# Simple Communication Controllers 85*a4d6d3b8SXin LI>>0 ubyte 0x07 communication controller 86*a4d6d3b8SXin LI# Base System Peripherals 87*a4d6d3b8SXin LI>>0 ubyte 0x08 base peripheral 88*a4d6d3b8SXin LI# Input Devices 89*a4d6d3b8SXin LI>>0 ubyte 0x09 input device 90*a4d6d3b8SXin LI# Docking Stations 91*a4d6d3b8SXin LI>>0 ubyte 0x0A docking station 92*a4d6d3b8SXin LI>>0 ubyte 0x0B processor 93*a4d6d3b8SXin LI>>0 ubyte 0x0C serial bus controller 94*a4d6d3b8SXin LI>>0 ubyte 0x0D wireless controller 95*a4d6d3b8SXin LI# Intelligent I/O Controllers 96*a4d6d3b8SXin LI>>0 ubyte 0x0E I/O controller 97*a4d6d3b8SXin LI# Satellite Communication Controllers 98*a4d6d3b8SXin LI>>0 ubyte 0x0F satellite controller 99*a4d6d3b8SXin LI# Encryption/Decryption Controllers 100*a4d6d3b8SXin LI>>0 ubyte 0x10 encryption controller 101*a4d6d3b8SXin LI# Data Acquisition and Signal Processing Controllers 102*a4d6d3b8SXin LI>>0 ubyte 0x11 signal controller 103*a4d6d3b8SXin LI# Processing Accelerator 104*a4d6d3b8SXin LI>>0 ubyte 0x12 processing accelerator 105*a4d6d3b8SXin LI# Non-Essential Instrumentation 106*a4d6d3b8SXin LI>>0 ubyte 0x13 non-essential 107*a4d6d3b8SXin LI# reserved or unassigned 108*a4d6d3b8SXin LI>>0 default x 109*a4d6d3b8SXin LI# device does not fit any defined class; Unassigned Class (Vendor specific) 110*a4d6d3b8SXin LI>>>0 ubyte 0xFF UNASSIGNED 111*a4d6d3b8SXin LI# THIS SHOULD NOT HAPPEN! BUT CLASS=8f for Promise 4650_sr5.bin 8660_sr5.bin 112*a4d6d3b8SXin LI>>>0 default x RESERVED 113*a4d6d3b8SXin LI>>>>0 ubyte x (%#x) 114*a4d6d3b8SXin LI# Prog IF of PCI class code? 115*a4d6d3b8SXin LI# defines the specific device programming interface 116*a4d6d3b8SXin LI>2 ubyte >0 \b, ProgIF=%u 117