ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pci.h
Go to the documentation of this file.
00001 /*
00002  * ReactOS AMD PCNet Driver
00003  *
00004  * Copyright (C) 2003 Vizzini <vizzini@plasmic.com>
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License along
00017  * with this program; if not, write to the Free Software Foundation, Inc.,
00018  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00019  *
00020  * PURPOSE:
00021  *     PCI configuration constants
00022  * REVISIONS:
00023  *     01-Sept-2003 vizzini - Created
00024  */
00025 
00026 #pragma once
00027 
00028 /* PCI Config Space Offset Definitions */
00029 #define PCI_PCIID    0x0        /* pci id - query 32 bits */
00030 #define PCI_VENID    0x0        /* vendor ID */
00031 #define PCI_DEVID    0x2        /* device ID */
00032 #define PCI_COMMAND  0x4        /* command register */
00033 #define PCI_STATUS   0x6        /* status register */
00034 #define PCI_REVID    0x8        /* revision ID */
00035 #define PCI_PIR      0x9        /* programming interface register */
00036 #define PCI_SCR      0xa        /* sub-class register */
00037 #define PCI_BCR      0xb        /* base-class register */
00038 #define PCI_LTR      0xd        /* latency timer register */
00039 #define PCI_HTR      0xe        /* header type register */
00040 #define PCI_IOBAR    0x10       /* i/o base address register */
00041 #define PCI_MMBAR    0x14       /* i/o memory-mapped base address register */
00042 #define PCI_ERBAR    0x30       /* expansion rom base address register */
00043 #define PCI_ILR      0x3c       /* interrupt line register */
00044 #define PCI_IPR      0x3d       /* interrupt pin register */
00045 #define PCI_MINGNT   0x3e       /* min_gnt register */
00046 #define PCI_MAXLAT   0x3f       /* max_lat register */
00047 
00048 /* PCI Command Register Bits */
00049 #define PCI_IOEN     0x1        /* i/o space access enable */
00050 #define PCI_MEMEN    0x2        /* memory space access enable */
00051 #define PCI_BMEN     0x4        /* bus master enable */
00052 #define PCI_SCYCEN   0x8        /* special cycle enable */
00053 #define PCI_MWIEN    0X10       /* memory write and invalidate cycle enable */
00054 #define PCI_VGASNOOP 0x20       /* vga palette snoop */
00055 #define PCI_PERREN   0x40       /* parity error response enable */
00056 #define PCI_ADSTEP   0x80       /* address/data stepping */
00057 #define PCI_SERREN   0x100      /* signalled error enable */
00058 #define PCI_FBTBEN   0X200      /* fast back-to-back enable */
00059 
00060 /* PCI Status Register Bits */
00061 #define PCI_FBTBC    0x80       /* fast back-to-back capable */
00062 #define PCI_DATAPERR 0x100      /* data parity error detected */
00063 #define PCI_DEVSEL1  0x200      /* device select timing lsb */
00064 #define PCI_DEVSEL2  0x400      /* device select timing msb */
00065 #define PCI_STABORT  0x800      /* send target abort */
00066 #define PCI_RTABORT  0x1000     /* received target abort */
00067 #define PCI_SERR     0x2000     /* signalled error */
00068 #define PCI_PERR     0x4000     /* parity error */

Generated on Sat May 26 2012 04:26:03 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.