ReactOS 0.4.16-dev-41-ge8c7597
empty_card.c File Reference
#include "precomp.h"
Include dependency graph for empty_card.c:

Go to the source code of this file.

Functions

VOID DrvCreateCard2 (_In_ PISAPNP_CARD Card)
 

Variables

static UCHAR DrvpTestPnpRom []
 

Function Documentation

◆ DrvCreateCard2()

VOID DrvCreateCard2 ( _In_ PISAPNP_CARD  Card)

Definition at line 44 of file empty_card.c.

46{
48
50
51 /* ********************* DEVICE 1 ********************* */
52 LogDev = &Card->LogDev[0];
53
54 /* Enable decodes */
55 LogDev->Registers[0x30] = 0x01;
56
57 /* No DMA is active */
58 LogDev->Registers[0x74] = 0x04;
59 LogDev->Registers[0x75] = 0x04;
60}
Definition: card.h:28
static UCHAR DrvpTestPnpRom[]
Definition: empty_card.c:14
VOID IsaBusCreateCard(_Inout_ PISAPNP_CARD Card, _In_ PVOID PnpRom, _In_ ULONG RomSize, _In_ ULONG LogicalDevices)
Definition: isabus.c:439

Referenced by DrvCreateCards().

Variable Documentation

◆ DrvpTestPnpRom

UCHAR DrvpTestPnpRom[]
static
Initial value:
=
{
0x49, 0xF3,
0x55, 0x66,
0xFF, 0xFF, 0xFF, 0xFF,
0xFF,
0x0A, 0x10, 0x10,
0x82, 6, 0x00,
'T', 'e', 's', 't', ' ', '2',
0x15,
0x24, 0x08,
0x30, 0x00,
0x00,
0x82, 0xCC, 0xCC,
0x79,
0xFF,
}

Definition at line 14 of file empty_card.c.

Referenced by DrvCreateCard2().