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

isapnphw.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifdef __cplusplus
00004 extern "C" {
00005 #endif
00006 
00007 #define ISAPNP_ADDRESS 0x279
00008 #define ISAPNP_WRITE_DATA 0xA79
00009 
00010 #define ISAPNP_READ_PORT_MIN 0x203
00011 #define ISAPNP_READ_PORT_START 0x213
00012 #define ISAPNP_READ_PORT_MAX 0x3FF
00013 #define ISAPNP_READ_PORT_STEP 0x10
00014 
00015 #define ISAPNP_CSN_MIN 0x01
00016 #define ISAPNP_CSN_MAX 0x0F
00017 
00018 #define ISAPNP_READPORT 0x00
00019 #define ISAPNP_SERIALISOLATION 0x01
00020 #define ISAPNP_CONFIGCONTROL 0x02
00021 #define ISAPNP_WAKE 0x03
00022 #define ISAPNP_RESOURCEDATA 0x04
00023 #define ISAPNP_STATUS 0x05
00024 #define ISAPNP_CARDSELECTNUMBER 0x06
00025 #define ISAPNP_LOGICALDEVICENUMBER 0x07
00026 
00027 #define ISAPNP_ACTIVATE 0x30
00028 #define ISAPNP_IORANGECHECK 0x31
00029 
00030 #define ISAPNP_IOBASE(n) (0x60 + ((n)*2))
00031 #define ISAPNP_IRQNO(n) (0x70 + ((n)*2))
00032 #define ISAPNP_IRQTYPE(n) (0x71 + ((n) * 2))
00033 
00034 #define ISAPNP_CONFIG_RESET (1 << 0)
00035 #define ISAPNP_CONFIG_WAIT_FOR_KEY (1 << 1)
00036 #define ISAPNP_CONFIG_RESET_CSN (1 << 2)
00037 
00038 #define ISAPNP_LFSR_SEED 0x6A
00039 
00040 #define ISAPNP_IS_SMALL_TAG(t) (!((t) & 0x80))
00041 #define ISAPNP_SMALL_TAG_NAME(t) (((t) >> 3) & 0xF)
00042 #define ISAPNP_SMALL_TAG_LEN(t) (((t) & 0x7))
00043 #define ISAPNP_TAG_PNPVERNO 0x01
00044 #define ISAPNP_TAG_LOGDEVID 0x02
00045 #define ISAPNP_TAG_COMPATDEVID 0x03
00046 #define ISAPNP_TAG_IRQ 0x04
00047 #define ISAPNP_TAG_DMA 0x05
00048 #define ISAPNP_TAG_STARTDEP 0x06
00049 #define ISAPNP_TAG_ENDDEP 0x07
00050 #define ISAPNP_TAG_IOPORT 0x08
00051 #define ISAPNP_TAG_FIXEDIO 0x09
00052 #define ISAPNP_TAG_RSVDSHORTA 0x0A
00053 #define ISAPNP_TAG_RSVDSHORTB 0x0B
00054 #define ISAPNP_TAG_RSVDSHORTC 0x0C
00055 #define ISAPNP_TAG_RSVDSHORTD 0x0D
00056 #define ISAPNP_TAG_VENDORSHORT 0x0E
00057 #define ISAPNP_TAG_END 0x0F
00058 
00059 #define ISAPNP_IS_LARGE_TAG(t) (((t) & 0x80))
00060 #define ISAPNP_LARGE_TAG_NAME(t) (t)
00061 #define ISAPNP_TAG_MEMRANGE 0x81
00062 #define ISAPNP_TAG_ANSISTR 0x82
00063 #define ISAPNP_TAG_UNICODESTR 0x83
00064 #define ISAPNP_TAG_VENDORLONG 0x84
00065 #define ISAPNP_TAG_MEM32RANGE 0x85
00066 #define ISAPNP_TAG_FIXEDMEM32RANGE 0x86
00067 #define ISAPNP_TAG_RSVDLONG0 0xF0
00068 #define ISAPNP_TAG_RSVDLONG1 0xF1
00069 #define ISAPNP_TAG_RSVDLONG2 0xF2
00070 #define ISAPNP_TAG_RSVDLONG3 0xF3
00071 #define ISAPNP_TAG_RSVDLONG4 0xF4
00072 #define ISAPNP_TAG_RSVDLONG5 0xF5
00073 #define ISAPNP_TAG_RSVDLONG6 0xF6
00074 #define ISAPNP_TAG_RSVDLONG7 0xF7
00075 #define ISAPNP_TAG_RSVDLONG8 0xF8
00076 #define ISAPNP_TAG_RSVDLONG9 0xF9
00077 #define ISAPNP_TAG_RSVDLONGA 0xFA
00078 #define ISAPNP_TAG_RSVDLONGB 0xFB
00079 #define ISAPNP_TAG_RSVDLONGC 0xFC
00080 #define ISAPNP_TAG_RSVDLONGD 0xFD
00081 #define ISAPNP_TAG_RSVDLONGE 0xFE
00082 #define ISAPNP_TAG_RSVDLONGF 0xFF
00083 #define ISAPNP_TAG_PSEUDO_NEWBOARD 0x100
00084 
00085 typedef struct _ISAPNP_IDENTIFIER {
00086   USHORT VendorId;
00087   USHORT ProdId;
00088   ULONG Serial;
00089   UCHAR Checksum;
00090 } ISAPNP_IDENTIFIER, *PISAPNP_IDENTIFIER;
00091 
00092 typedef struct _ISAPNP_LOGDEVID {
00093   USHORT VendorId;
00094   USHORT ProdId;
00095   USHORT Flags;
00096 } ISAPNP_LOGDEVID, *PISAPNP_LOGDEVID;
00097 
00098 typedef struct _ISAPNP_DEVICEID {
00099   CHAR* Name;
00100   USHORT VendorId;
00101   USHORT ProdId;
00102 } ISAPNP_DEVICEID, *PISAPNP_DEVICEID;
00103 
00104 #ifdef __cplusplus
00105 }
00106 #endif

Generated on Fri May 25 2012 04:25:45 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.