switch-coreboot/include/device/pci_ids.h
Myles Watson 481e85860b This patch adds southbridge/nvidia/ck804 from v2 minimally updated for v3.
Peter has some valid points that need to be addressed in the future.  See his
Ack message.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1100 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-01-05 23:08:37 +00:00

314 lines
12 KiB
C

/*
* This file is part of the coreboot project.
*
* It is based on the include/linux/pci_ids.h file from the Linux kernel.
*
* Note: we maintain our own short list of PCI vendor IDs and device IDs
* for coreboot, as we only need very few of the entries.
* The 'Device classes and subclasses' section is copied from the Linux file.
*/
#ifndef DEVICE_PCI_IDS_H
#define DEVICE_PCI_IDS_H
/* Device classes and subclasses. */
#define PCI_CLASS_NOT_DEFINED 0x0000
#define PCI_CLASS_NOT_DEFINED_VGA 0x0001
#define PCI_BASE_CLASS_STORAGE 0x01
#define PCI_CLASS_STORAGE_SCSI 0x0100
#define PCI_CLASS_STORAGE_IDE 0x0101
#define PCI_CLASS_STORAGE_FLOPPY 0x0102
#define PCI_CLASS_STORAGE_IPI 0x0103
#define PCI_CLASS_STORAGE_RAID 0x0104
#define PCI_CLASS_STORAGE_SATA 0x0106
#define PCI_CLASS_STORAGE_SATA_AHCI 0x010601
#define PCI_CLASS_STORAGE_SAS 0x0107
#define PCI_CLASS_STORAGE_OTHER 0x0180
#define PCI_BASE_CLASS_NETWORK 0x02
#define PCI_CLASS_NETWORK_ETHERNET 0x0200
#define PCI_CLASS_NETWORK_TOKEN_RING 0x0201
#define PCI_CLASS_NETWORK_FDDI 0x0202
#define PCI_CLASS_NETWORK_ATM 0x0203
#define PCI_CLASS_NETWORK_OTHER 0x0280
#define PCI_BASE_CLASS_DISPLAY 0x03
#define PCI_CLASS_DISPLAY_VGA 0x0300
#define PCI_CLASS_DISPLAY_XGA 0x0301
#define PCI_CLASS_DISPLAY_3D 0x0302
#define PCI_CLASS_DISPLAY_OTHER 0x0380
#define PCI_BASE_CLASS_MULTIMEDIA 0x04
#define PCI_CLASS_MULTIMEDIA_VIDEO 0x0400
#define PCI_CLASS_MULTIMEDIA_AUDIO 0x0401
#define PCI_CLASS_MULTIMEDIA_PHONE 0x0402
#define PCI_CLASS_MULTIMEDIA_OTHER 0x0480
#define PCI_BASE_CLASS_MEMORY 0x05
#define PCI_CLASS_MEMORY_RAM 0x0500
#define PCI_CLASS_MEMORY_FLASH 0x0501
#define PCI_CLASS_MEMORY_OTHER 0x0580
#define PCI_BASE_CLASS_BRIDGE 0x06
#define PCI_CLASS_BRIDGE_HOST 0x0600
#define PCI_CLASS_BRIDGE_ISA 0x0601
#define PCI_CLASS_BRIDGE_EISA 0x0602
#define PCI_CLASS_BRIDGE_MC 0x0603
#define PCI_CLASS_BRIDGE_PCI 0x0604
#define PCI_CLASS_BRIDGE_PCMCIA 0x0605
#define PCI_CLASS_BRIDGE_NUBUS 0x0606
#define PCI_CLASS_BRIDGE_CARDBUS 0x0607
#define PCI_CLASS_BRIDGE_RACEWAY 0x0608
#define PCI_CLASS_BRIDGE_OTHER 0x0680
#define PCI_BASE_CLASS_COMMUNICATION 0x07
#define PCI_CLASS_COMMUNICATION_SERIAL 0x0700
#define PCI_CLASS_COMMUNICATION_PARALLEL 0x0701
#define PCI_CLASS_COMMUNICATION_MULTISERIAL 0x0702
#define PCI_CLASS_COMMUNICATION_MODEM 0x0703
#define PCI_CLASS_COMMUNICATION_OTHER 0x0780
#define PCI_BASE_CLASS_SYSTEM 0x08
#define PCI_CLASS_SYSTEM_PIC 0x0800
#define PCI_CLASS_SYSTEM_PIC_IOAPIC 0x080010
#define PCI_CLASS_SYSTEM_PIC_IOXAPIC 0x080020
#define PCI_CLASS_SYSTEM_DMA 0x0801
#define PCI_CLASS_SYSTEM_TIMER 0x0802
#define PCI_CLASS_SYSTEM_RTC 0x0803
#define PCI_CLASS_SYSTEM_PCI_HOTPLUG 0x0804
#define PCI_CLASS_SYSTEM_SDHCI 0x0805
#define PCI_CLASS_SYSTEM_OTHER 0x0880
#define PCI_BASE_CLASS_INPUT 0x09
#define PCI_CLASS_INPUT_KEYBOARD 0x0900
#define PCI_CLASS_INPUT_PEN 0x0901
#define PCI_CLASS_INPUT_MOUSE 0x0902
#define PCI_CLASS_INPUT_SCANNER 0x0903
#define PCI_CLASS_INPUT_GAMEPORT 0x0904
#define PCI_CLASS_INPUT_OTHER 0x0980
#define PCI_BASE_CLASS_DOCKING 0x0a
#define PCI_CLASS_DOCKING_GENERIC 0x0a00
#define PCI_CLASS_DOCKING_OTHER 0x0a80
#define PCI_BASE_CLASS_PROCESSOR 0x0b
#define PCI_CLASS_PROCESSOR_386 0x0b00
#define PCI_CLASS_PROCESSOR_486 0x0b01
#define PCI_CLASS_PROCESSOR_PENTIUM 0x0b02
#define PCI_CLASS_PROCESSOR_ALPHA 0x0b10
#define PCI_CLASS_PROCESSOR_POWERPC 0x0b20
#define PCI_CLASS_PROCESSOR_MIPS 0x0b30
#define PCI_CLASS_PROCESSOR_CO 0x0b40
#define PCI_BASE_CLASS_SERIAL 0x0c
#define PCI_CLASS_SERIAL_FIREWIRE 0x0c00
#define PCI_CLASS_SERIAL_FIREWIRE_OHCI 0x0c0010
#define PCI_CLASS_SERIAL_ACCESS 0x0c01
#define PCI_CLASS_SERIAL_SSA 0x0c02
#define PCI_CLASS_SERIAL_USB 0x0c03
#define PCI_CLASS_SERIAL_USB_UHCI 0x0c0300
#define PCI_CLASS_SERIAL_USB_OHCI 0x0c0310
#define PCI_CLASS_SERIAL_USB_EHCI 0x0c0320
#define PCI_CLASS_SERIAL_FIBER 0x0c04
#define PCI_CLASS_SERIAL_SMBUS 0x0c05
#define PCI_BASE_CLASS_WIRELESS 0x0d
#define PCI_CLASS_WIRELESS_RF_CONTROLLER 0x0d10
#define PCI_CLASS_WIRELESS_WHCI 0x0d1010
#define PCI_BASE_CLASS_INTELLIGENT 0x0e
#define PCI_CLASS_INTELLIGENT_I2O 0x0e00
#define PCI_BASE_CLASS_SATELLITE 0x0f
#define PCI_CLASS_SATELLITE_TV 0x0f00
#define PCI_CLASS_SATELLITE_AUDIO 0x0f01
#define PCI_CLASS_SATELLITE_VOICE 0x0f03
#define PCI_CLASS_SATELLITE_DATA 0x0f04
#define PCI_BASE_CLASS_CRYPT 0x10
#define PCI_CLASS_CRYPT_NETWORK 0x1000
#define PCI_CLASS_CRYPT_ENTERTAINMENT 0x1001
#define PCI_CLASS_CRYPT_OTHER 0x1080
#define PCI_BASE_CLASS_SIGNAL_PROCESSING 0x11
#define PCI_CLASS_SP_DPIO 0x1100
#define PCI_CLASS_SP_OTHER 0x1180
#define PCI_CLASS_OTHERS 0xff
/* Vendors and devices. Sort key: vendor first, device next. */
#define PCI_VENDOR_ID_AMD 0x1022
#define PCI_VENDOR_ID_AMD 0x1022
#define PCI_DEVICE_ID_AMD_LANCE 0x2000
#define PCI_DEVICE_ID_AMD_LANCE_HOME 0x2001
#define PCI_DEVICE_ID_AMD_LX 0x1054
#define PCI_DEVICE_ID_AMD_SCSI 0x2020
#define PCI_DEVICE_ID_AMD_FE_GATE_7006 0x7006
#define PCI_DEVICE_ID_AMD_FE_GATE_7007 0x7007
#define PCI_DEVICE_ID_AMD_FE_GATE_700C 0x700C
#define PCI_DEVIDE_ID_AMD_FE_GATE_700D 0x700D
#define PCI_DEVICE_ID_AMD_FE_GATE_700E 0x700E
#define PCI_DEVICE_ID_AMD_FE_GATE_700F 0x700F
#define PCI_DEVICE_ID_AMD_COBRA_7400 0x7400
#define PCI_DEVICE_ID_AMD_COBRA_7401 0x7401
#define PCI_DEVICE_ID_AMD_COBRA_7403 0x7403
#define PCI_DEVICE_ID_AMD_COBRA_7404 0x7404
#define PCI_DEVICE_ID_AMD_VIPER_7408 0x7408
#define PCI_DEVICE_ID_AMD_VIPER_7409 0x7409
#define PCI_DEVICE_ID_AMD_VIPER_740B 0x740B
#define PCI_DEVICE_ID_AMD_VIPER_740C 0x740C
#define PCI_DEVICE_ID_AMD_VIPER_7410 0x7410
#define PCI_DEVICE_ID_AMD_VIPER_7411 0x7411
#define PCI_DEVICE_ID_AMD_SB768_7440 0x7440
#define PCI_DEVICE_ID_AMD_SB768_7441 0x7441
#define PCI_DEVICE_ID_AMD_SB768_7443 0x7443
#define PCI_DEVICE_ID_AMD_SB768_7448 0x7448
#define PCI_DEVICE_ID_AMD_SB768_7449 0x7449
#define PCI_DEVICE_ID_AMD_VIPER_7413 0x7413
#define PCI_DEVICE_ID_AMD_VIPER_7414 0x7414
#define PCI_DEVICE_ID_AMD_VIPER_7440 0x7440
#define PCI_DEVICE_ID_AMD_VIPER_7441 0x7441
#define PCI_DEVICE_ID_AMD_VIPER_7443 0x7443
#define PCI_DEVICE_ID_AMD_VIPER_7448 0x7448
#define PCI_DEVICE_ID_AMD_VIPER_7449 0x7449
#define PCI_DEVICE_ID_AMD_8151_SYSCTRL 0x7454
#define PCI_DEVICE_ID_AMD_8151_AGP 0x7455
#define PCI_DEVICE_ID_AMD_8111_PCI 0x7460
#define PCI_DEVICE_ID_AMD_8111_USB 0x7464
#define PCI_DEVICE_ID_AMD_8111_ISA 0x7468
#define PCI_DEVICE_ID_AMD_8111_IDE 0x7469
#define PCI_DEVICE_ID_AMD_8111_SMB 0x746a
#define PCI_DEVICE_ID_AMD_8111_ACPI 0x746b
#define PCI_DEVICE_ID_AMD_8111_NIC 0x7462
#define PCI_DEVICE_ID_AMD_8111_USB2 0x7463
#define PCI_DEVICE_ID_AMD_8131_PCIX 0x7450
#define PCI_DEVICE_ID_AMD_8131_IOAPIC 0x7451
#define PCI_DEVICE_ID_AMD_8132_PCIX 0x7458
#define PCI_DEVICE_ID_AMD_8132_IOAPIC 0x7459
#define PCI_DEVICE_ID_AMD_AES 0x2082
#define PCI_DEVICE_ID_AMD_761_0 0x700E
#define PCI_DEVICE_ID_AMD_761_1 0x700F
#define PCI_DEVICE_ID_AMD_VIPER_7412 0x7412
#define PCI_DEVICE_ID_AMD_LXBRIDGE 0x2080
#define PCI_DEVICE_ID_AMD_CS5536_ISA 0x2090
#define PCI_DEVICE_ID_AMD_CS5536_FLASH 0x2091
#define PCI_DEVICE_ID_AMD_CS5536_A0_IDE 0x2092
#define PCI_DEVICE_ID_AMD_CS5536_AUDIO 0x2093
#define PCI_DEVICE_ID_AMD_CS5536_OHCI 0x2094
#define PCI_DEVICE_ID_AMD_CS5536_EHCI 0x2095
#define PCI_DEVICE_ID_AMD_CS5536_UDC 0x2096
#define PCI_DEVICE_ID_AMD_CS5536_OTG 0x2097
#define PCI_DEVICE_ID_AMD_CS5536_B0_IDE 0x209A
#define PCI_VENDOR_ID_ATI 0x1002
#define PCI_DEVICE_ID_ATI_SB600_LPC 0x438D
#define PCI_DEVICE_ID_ATI_SB600_SATA 0x4380
#define PCI_DEVICE_ID_ATI_SB600_IDE 0x438C
#define PCI_DEVICE_ID_ATI_SB600_HDA 0x4383
#define PCI_DEVICE_ID_ATI_SB600_ACI 0x4382
#define PCI_DEVICE_ID_ATI_SB600_MCI 0x438E
#define PCI_DEVICE_ID_ATI_SB600_USB2 0x4386
#define PCI_DEVICE_ID_ATI_SB600_PCI 0x4384
#define PCI_DEVICE_ID_ATI_SB600_SM 0x4385
#define PCI_DEVICE_ID_ATI_SB600_USB_0 0x4387
#define PCI_DEVICE_ID_ATI_SB600_USB_1 0x4388
#define PCI_DEVICE_ID_ATI_SB600_USB_2 0x4389
#define PCI_DEVICE_ID_ATI_SB600_USB_3 0x438A
#define PCI_DEVICE_ID_ATI_SB600_USB_4 0x438B
#define PCI_DEVICE_ID_ATI_RS690_HT 0x7910
#define PCI_DEVICE_ID_ATI_RS690_PCIE 0x7912
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV2 0x7913
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV3 0x791B
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV4 0x7914
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV5 0x7915
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV6 0x7916
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV7 0x7917
#define PCI_DEVICE_ID_ATI_RS690_PCIE_DEV8 0x7918
#define PCI_DEVICE_ID_ATI_RS690_INT_GFX 0x791e
#define PCI_DEVICE_ID_ATI_RS690MT_INT_GFX 0x791f
#define PCI_VENDOR_ID_CIRRUS 0x1013
#define PCI_DEVICE_ID_CIRRUS_5446 0x00b8 /* Used by QEMU */
#define PCI_VENDOR_ID_INTEL 0x8086
#define PCI_VENDOR_ID_NVIDIA 0x10de
#define PCI_DEVICE_ID_NVIDIA_MCP55_LPC 0x0360
#define PCI_DEVICE_ID_NVIDIA_MCP55_SLAVE 0x0361
#define PCI_DEVICE_ID_NVIDIA_MCP55_LPC_2 0x0362
#define PCI_DEVICE_ID_NVIDIA_MCP55_LPC_3 0x0363
#define PCI_DEVICE_ID_NVIDIA_MCP55_LPC_4 0x0364
#define PCI_DEVICE_ID_NVIDIA_MCP55_LPC_5 0x0365
#define PCI_DEVICE_ID_NVIDIA_MCP55_LPC_6 0x0366
#define PCI_DEVICE_ID_NVIDIA_MCP55_PRO 0x0367
#define PCI_DEVICE_ID_NVIDIA_MCP55_SM2 0x0368
#define PCI_DEVICE_ID_NVIDIA_MCP55_IDE 0x036E
#define PCI_DEVICE_ID_NVIDIA_MCP55_SATA0 0x037E
#define PCI_DEVICE_ID_NVIDIA_MCP55_SATA1 0x037F
#define PCI_DEVICE_ID_NVIDIA_MCP55_NIC 0x0372
#define PCI_DEVICE_ID_NVIDIA_MCP55_NIC_BRIDGE 0x0373
#define PCI_DEVICE_ID_NVIDIA_MCP55_AZA 0x0371
#define PCI_DEVICE_ID_NVIDIA_MCP55_USB 0x036C
#define PCI_DEVICE_ID_NVIDIA_MCP55_USB2 0x036D
#define PCI_DEVICE_ID_NVIDIA_MCP55_PCI 0x0370
#define PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_B_C 0x0374
#define PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_E 0x0375
#define PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_A 0x0376
#define PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_F 0x0377
#define PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_D 0x0378
#define PCI_DEVICE_ID_NVIDIA_MCP55_HT 0x0369
#define PCI_DEVICE_ID_NVIDIA_MCP55_TRIM 0x036A
#define PCI_DEVICE_ID_NVIDIA_MCP55_PMU 0x036B
#define PCI_DEVICE_ID_NVIDIA_CK804_LPC 0x0050
#define PCI_DEVICE_ID_NVIDIA_CK804_PRO 0x0051
#define PCI_DEVICE_ID_NVIDIA_CK804_ISA 0x0051
#define PCI_DEVICE_ID_NVIDIA_CK804_SMB 0x0052
#define PCI_DEVICE_ID_NVIDIA_CK804_SM 0x0052
#define PCI_DEVICE_ID_NVIDIA_CK804_ACPI 0x0052
#define PCI_DEVICE_ID_NVIDIA_CK804_IDE 0x0053
#define PCI_DEVICE_ID_NVIDIA_CK804_SATA0 0x0054
#define PCI_DEVICE_ID_NVIDIA_CK804_SATA1 0x0055
#define PCI_DEVICE_ID_NVIDIA_CK804_SATA1 0x0055
#define PCI_DEVICE_ID_NVIDIA_CK804_ENET 0x0056
#define PCI_DEVICE_ID_NVIDIA_CK804_NIC 0x0056
#define PCI_DEVICE_ID_NVIDIA_CK804_ENET2 0x0057
#define PCI_DEVICE_ID_NVIDIA_CK804_NIC_BRIDGE 0x0057
#define PCI_DEVICE_ID_NVIDIA_CK804_MODEM 0x0058
#define PCI_DEVICE_ID_NVIDIA_CK804_MCI 0x0058
#define PCI_DEVICE_ID_NVIDIA_CK804_AUDIO 0x0059
#define PCI_DEVICE_ID_NVIDIA_CK804_ACI 0x0059
#define PCI_DEVICE_ID_NVIDIA_CK804_USB 0x005A
#define PCI_DEVICE_ID_NVIDIA_CK804_USB2 0x005B
#define PCI_DEVICE_ID_NVIDIA_CK804_PCI 0x005C
#define PCI_DEVICE_ID_NVIDIA_CK804_PCIE 0x005D
#define PCI_DEVICE_ID_NVIDIA_CK804_PCI_E 0x005D
#define PCI_DEVICE_ID_NVIDIA_CK804_MEM 0x005E
#define PCI_DEVICE_ID_NVIDIA_CK804_HT 0x005E
#define PCI_DEVICE_ID_NVIDIA_CK804_TRIM 0x005f
#define PCI_DEVICE_ID_NVIDIA_CK804_SLAVE 0x00d3
#define PCI_VENDOR_ID_VIA 0x1106
#define PCI_DEVICE_ID_VIA_CN700_AGP 0x0314
#define PCI_DEVICE_ID_VIA_CN700_ERR 0x1314
#define PCI_DEVICE_ID_VIA_CN700_HOST 0x2314
#define PCI_DEVICE_ID_VIA_CN700_MEMCTRL 0x3208
#define PCI_DEVICE_ID_VIA_CN700_PM 0x4314
#define PCI_DEVICE_ID_VIA_CN700_VLINK 0x7314
#define PCI_DEVICE_ID_VIA_CN700_BRIDGE 0xB198
#define PCI_DEVICE_ID_VIA_CN700_VGA 0x3344
#define PCI_DEVICE_ID_VIA_VT8237_EHCI 0x3104
#define PCI_DEVICE_ID_VIA_VT8237_LAN 0x3065
#define PCI_DEVICE_ID_VIA_VT8237R_LPC 0x3227
#define PCI_DEVICE_ID_VIA_VT8237S_LPC 0x3372
#define PCI_DEVICE_ID_VIA_VT8237_PATA 0x0571
#define PCI_DEVICE_ID_VIA_VT8237R_SATA 0x3149
#define PCI_DEVICE_ID_VIA_VT8237S_SATA 0x5372
#define PCI_DEVICE_ID_VIA_VT8237_UHCI 0x3038
#endif /* DEVICE_PCI_IDS_H */