⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eros.pci.c

📁 C++ 编写的EROS RTOS
💻 C
📖 第 1 页 / 共 4 页
字号:
/* * Copyright (C) 1998, 1999, Jonathan S. Shapiro. * * This file is part of the EROS Operating System. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2, * or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *//* * PCICODE.H * * This is the master database for EROS, from which all of the PCI * header files are generated.  If you come up with more information, * please let us know! * * The original of this list came from Jim Boemler's web page at *    HTTP://www.halcyon.com/, and we * periodically update it from their and from the linux distribution. * * Created automatically from the web using the following URL: *     http: *www.halcyon.com/scripts/jboemler/pci/pcicode  * Software to create and maintain the PCICODE List written by: *     Jim Boemler (jboemler@halcyon.com)  * This is header number 358, generated 03-25-96. */#include "eros.pci.h"PciBaseClass PciBaseClassTable [] ={	{ 0, 0x00, "Undefined" },	{ 0, 0x01, "Storage" },	{ 0, 0x02, "Network" },	{ 0, 0x03, "Display" },	{ 0, 0x04, "Multimedia" },	{ 0, 0x05, "Memory" },	{ 0, 0x06, "Bridge" },	{ 0, 0x07, "Communication" },	{ 0, 0x08, "System" },	{ 0, 0x09, "Input" },	{ 0, 0x0a, "Docking" },	{ 0, 0x0b, "Processor" },	{ 0, 0x0c, "Serial" },};unsigned num_pci_base_classes = sizeof(PciBaseClassTable) / sizeof(PciBaseClass);PciClass PciClassTable [] ={	/* undefined class */	{ 0, 0x0000, "Undefined" },	{ 0, 0x0001, "VGA" },	{ 0, 0x0008, "Revision" },	{ 0, 0x0009, "Prog" },	{ 0, 0x000a, "Device" },	{ 0, 0x00ff, "Others" },	/* Storage devices */	{ 0, 0x0100, "SCSI" },	{ 0, 0x0101, "IDE" },	{ 0, 0x0102, "Floppy" },	{ 0, 0x0103, "IPI" },	{ 0, 0x0104, "RAID" },	{ 0, 0x0180, "Other" },	/* nework devicess */	{ 0, 0x0200, "Ethernet" },	{ 0, 0x0201, "Ring" },	{ 0, 0x0202, "FDDI" },	{ 0, 0x0203, "ATM" },	{ 0, 0x0280, "Other" },	/* display devices */	{ 0, 0x0300, "VGA" },	{ 0, 0x0301, "XGA" },	{ 0, 0x0380, "Other" },	/* multimedia devices */	{ 0, 0x0400, "Video" },	{ 0, 0x0401, "Audio" },	{ 0, 0x0480, "Other" },	/* memory devices */	{ 0, 0x0500, "RAM" },	{ 0, 0x0501, "Flash" },	{ 0, 0x0580, "Other" },	/* bridge devices */	{ 0, 0x0600, "Host" },	{ 0, 0x0601, "ISA" },	{ 0, 0x0602, "EISA" },	{ 0, 0x0603, "MCA" },	{ 0, 0x0604, "PCI" },	{ 0, 0x0605, "PCMCIA" },	{ 0, 0x0606, "NUBUS" },	{ 0, 0x0607, "Cardbus" },	{ 0, 0x0680, "Other" },	/* communication devices */	{ 0, 0x0700, "Serial" },	{ 0, 0x0701, "Parallel" },	{ 0, 0x0780, "Other" },	/* system devices */	{ 0, 0x0800, "PIC" },	{ 0, 0x0801, "DMA" },	{ 0, 0x0802, "Timer" },	{ 0, 0x0803, "RTC" },	{ 0, 0x0880, "Other" },	/* input devices */	{ 0, 0x0900, "Keyboard" },	{ 0, 0x0901, "Pen" },	{ 0, 0x0902, "Mouse" },	{ 0, 0x0980, "Other" },	/* docking devices */	{ 0, 0x0a00, "Generic" },	{ 0, 0x0a01, "Other" },	/* processor devices */	{ 0, 0x0b00, "386" },	{ 0, 0x0b01, "486" },	{ 0, 0x0b02, "Pentium" },	{ 0, 0x0b10, "Alpha" },	{ 0, 0x0b20, "PowerPC" },	{ 0, 0x0b40, "CO" },	/* serial devices */	{ 0, 0x0c00, "FireWire" },	{ 0, 0x0c01, "Access" },	{ 0, 0x0c02, "SSA" },	{ 0, 0x0c03, "USB" },	{ 0, 0x0c04, "Fiber" }};unsigned num_pci_classes = sizeof(PciClassTable) / sizeof(PciClass);PciVendor PciVendorTable [] ={	{ 0, 0x003D, "M-M", "Martin-Marietta Corporation" } ,	{ 0, 0x0E11, "Compaq", "Compaq" } ,	{ 0, 0x1000, "SYM", "Symbios Logic Inc." } ,	{ 0, 0x1002, "ATI", "ATI Technologies" } ,	{ 0, 0x1003, "ULSI", "ULSI" } ,	{ 0, 0x1004, "VLSI", "VLSI Technology" } ,	{ 0, 0x1005, "Avance", "Avance Logic Inc." } ,	{ 0, 0x1006, "Reply", "Reply Group" } ,	{ 0, 0x1007, "NetFrame", "Netframe Systems" } ,	{ 0, 0x1008, "Epson", "Epson" } ,	{ 0, 0x100A, "Phoenix", "Phoenix Technologies Ltd." } ,	{ 0, 0x100B, "NSC", "National Semiconductor" } ,	{ 0, 0x100C, "Tseng", "Tseng Labs" } ,	{ 0, 0x100D, "AST", "AST Research" } ,	{ 0, 0x100E, "Weitek", "Weitek" } ,	{ 0, 0x1010, "VLogic", "Video Logic Ltd." } ,	{ 0, 0x1011, "DEC", "Digital Equipment Corporation" } ,	{ 0, 0x1012, "Micronics", "Micronics Computers Inc." } ,	{ 0, 0x1013, "Cirrus", "Cirrus Logic" } ,	{ 0, 0x1014, "IBM", "IBM" } ,	{ 0, 0x1015, "LSIL", "LSI Logic Corp of Canada" } ,	{ 0, 0x1016, "ICL", "ICL Personal Systems" } ,	{ 0, 0x1017, "Spea", "Spea Software AG" } ,	{ 0, 0x1018, "Unisys", "Unisys Systems" } ,	{ 0, 0x1019, "ECS", "Elitegroup Computer Sys" } ,	{ 0, 0x101A, "NCR", "NCR/AT&T GIS" } ,	{ 0, 0x101B, "Vitesse", "Vitesse Semiconductor" } ,	{ 0, 0x101C, "WD", "Western Digital" } ,	{ 0, 0x101E, "AMI", "American Megatrends Inc." } ,	{ 0, 0x101F, "PictureTel", "PictureTel Corp." } ,	{ 0, 0x1020, "Hitachi", "Hitachi Computer Electronics" } ,	{ 0, 0x1021, "OKI", "Oki Electric Industry" } ,	{ 0, 0x1022, "AMD", "Advanced Micro Devices" } ,	{ 0, 0x1023, "Trident", "Trident Microsystems" } ,	{ 0, 0x1024, "Zenith", "Zenith Data Systems" } ,	{ 0, 0x1025, "Acer", "Acer Incorporated" } ,	{ 0, 0x1028, "Dell", "Dell Computer Corporation" } ,	{ 0, 0x1029, "Siemens", "Siemens AG / Siemens Nixdorf AG" } ,	{ 0, 0x102A, "LSI", "LSI Logic, Headland Div" } ,	{ 0, 0x102B, "Matrox", "Matrox" } ,	{ 0, 0x102C, "C&T", "Chips And Technologies" } ,	{ 0, 0x102D, "Wyse", "Wyse Technologies" } ,	{ 0, 0x102E, "Olivetti", "Olivetti Advanced Technology" } ,	{ 0, 0x102F, "Toshiba", "Toshiba America" } ,	{ 0, 0x1030, "TMC", "TMC Research" } ,	{ 0, 0x1031, "MCP", "Micro Computer Products AG" } ,	{ 0, 0x1032, "Compaq", "Compaq" } ,	{ 0, 0x1033, "NEC", "NEC Corporation" } ,	{ 0, 0x1034, "Burndy", "Burndy Corporation" } ,	{ 0, 0x1035, "C&CRL", "Computer & &Communication Research Lab" } ,	{ 0, 0x1036, "FDomain", "Future Domain" } ,	{ 0, 0x1037, "Hitachi", "Hitachi Micro Systems Inc" } ,	{ 0, 0x1038, "AMP", "AMP Incorporated" } ,	{ 0, 0x1039, "SIS", "Silicon Integrated System" } ,	{ 0, 0x103A, "Seiko", "Seiko Epson Corporation" } ,	{ 0, 0x103B, "Tatung", "Tatung Corp. Of America" } ,	{ 0, 0x103C, "HP", "Hewlett-Packard Company" } ,	{ 0, 0x103E, "Solliday", "Solliday Engineering" } ,	{ 0, 0x103F, "Logic Mod.", "Logic Modeling" } ,	{ 0, 0x1040, "Kubota", "Kubota Pacific Computer Inc." } ,	{ 0, 0x1041, "Computrend", "Computrend" } ,	{ 0, 0x1042, "PC Tech.", "PC Technology" } ,	{ 0, 0x1043, "Asustek", "Asustek Computer Inc." } ,	{ 0, 0x1044, "DPT", "Distributed Processing Tech" } ,	{ 0, 0x1045, "OPTi", "OPTi" } ,	{ 0, 0x1046, "IPC", "IPC Corporation LTD" } ,	{ 0, 0x1047, "Genoa", "Genoa Systems Corp." } ,	{ 0, 0x1048, "ELSA", "ELSA GmbH" } ,	{ 0, 0x1049, "Fountain", "Fountain Technology" } ,	{ 0, 0x104A, "SGS", "SGS Thomson Microelectric" } ,	{ 0, 0x104B, "Buslogoc", "Buslogic" } ,	{ 0, 0x104C, "TI", "Texas Instruments" } ,	{ 0, 0x104D, "Sony", "Sony Corporation" } ,	{ 0, 0x104E, "Oak", "Oak Technology" } ,	{ 0, 0x104F, "Co-Time", "Co-Time Computer Ltd." } ,	{ 0, 0x1050, "Winbond", "Winbond Electronics" } ,	{ 0, 0x1051, "Anigma", "Anigma Corp." } ,	{ 0, 0x1052, "Young", "Young Micro Systems" } ,	{ 0, 0x1054, "Hitachi", "Hitachi LTD" } ,	{ 0, 0x1055, "EFAR", "EFAR Microsystems" } ,	{ 0, 0x1056, "ICL", "ICL" } ,	{ 0, 0x1057, "Motorola", "Motorola" } ,	{ 0, 0x1058, "E&TR", "Electronics & Teleccommunication Resear" } ,	{ 0, 0x1059, "Teknor", "Teknor Microsystems" } ,	{ 0, 0x105A, "Promise", "Promise Technology" } ,	{ 0, 0x105B, "Foxconn", "Foxconn International" } ,	{ 0, 0x105C, "Wipro", "Wipro Infotech Limited" } ,	{ 0, 0x105D, "Number-9", "Number 9 Computer Company" } ,	{ 0, 0x105E, "Vtech", "Vtech Engineering Canada Ltd." } ,	{ 0, 0x105F, "Infotronic", "Infotronic America Inc." } ,	{ 0, 0x1060, "UMC", "United Microelectronics" } ,	{ 0, 0x1061, "X", "X Technology" } ,	{ 0, 0x1062, "Maspar", "Maspar Computer Corp." } ,	{ 0, 0x1063, "OOA", "Ocean Office Automation" } ,	{ 0, 0x1064, "Alcatel", "Alcatel Cit" } ,	{ 0, 0x1065, "TM", "Texas Microsystems" } ,	{ 0, 0x1066, "Picopower", "Picopower Technology" } ,	{ 0, 0x1067, "Mitsubishi", "Mitsubishi Electronics" } ,	{ 0, 0x1068, "Div. Tech.", "Diversified Technology" } ,	{ 0, 0x1069, "Mylex", "Mylex Corporation" } ,	{ 0, 0x106A, "Aten", "Aten Research Inc." } ,	{ 0, 0x106B, "Apple", "Apple Computer Inc." } ,	{ 0, 0x106C, "Hyundai", "Hyundai Electronics America" } ,	{ 0, 0x106D, "Sequent", "Sequent" } ,	{ 0, 0x106E, "DFI", "DFI Inc." } ,	{ 0, 0x106F, "CityGate", "City Gate Development LTD" } ,	{ 0, 0x1070, "Daewoo", "Daewoo Telecom Ltd." } ,	{ 0, 0x1071, "Mitac", "Mitac" } ,	{ 0, 0x1072, "GIT", "GIT Co. Ltd." } ,	{ 0, 0x1073, "Yamaha", "Yamaha Corporation" } ,	{ 0, 0x1074, "Nexgen", "Nexgen Microsysteme" } ,	{ 0, 0x1075, "AIR", "Advanced Integration Research" } ,	{ 0, 0x1076, "Chaintech", "Chaintech Computer Co. Ltd." } ,	{ 0, 0x1077, "Q Logic", "Q Logic" } ,	{ 0, 0x1078, "Cyrix", "Cyrix Corporation" } ,	{ 0, 0x1079, "I-Bus", "I-Bus" } ,	{ 0, 0x107A, "Networth", "Networth" } ,	{ 0, 0x107B, "Gateway", "Gateway 2000" } ,	{ 0, 0x107C, "Goldstar", "Goldstar Co. Ltd." } ,	{ 0, 0x107D, "Leadtek", "Leadtek Research" } ,	{ 0, 0x107E, "Interphase", "Interphase Corporation" } ,	{ 0, 0x107F, "DTC", "Data Technology Corporation" } ,	{ 0, 0x1080, "Contaq", "Contaq Microsystems" } ,	{ 0, 0x1081, "Supermac", "Supermac Technology Inc." } ,	{ 0, 0x1082, "EFA", "EFA Corporation Of America" } ,	{ 0, 0x1083, "Forex", "Forex Computer Corporation" } ,	{ 0, 0x1084, "Parador", "Parador" } ,	{ 0, 0x1085, "Tulip", "Tulip Computers Int'l BV" } ,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -