|
ReactOS 0.4.16-dev-2633-g8dc9e50
|
#include "pciidex.h"
Go to the source code of this file.
Macros | |
| #define | PCI_DEV_SIL0680 0x0680 |
| #define | SIL_REG_XFER_MODE(Channel) (0x80 + ((Channel) << 2)) |
| #define | SIL_REG_SYS_CFG 0x8A |
| #define | SIL_REG_CFG(Channel) (0xA0 + ((Channel) << 4)) |
| #define | SIL_REG_STATUS(Channel) (0xA1 + ((Channel) << 4)) |
| #define | SIL_REG_TF_TIM(Channel) (0xA2 + ((Channel) << 4)) |
| #define | SIL_REG_PIO_TIMING(Channel, Drive) (0xA4 + ((Channel) << 4) + ((Drive) << 1)) |
| #define | SIL_REG_DMA_TIMING(Channel, Drive) (0xA8 + ((Channel) << 4) + ((Drive) << 1)) |
| #define | SIL_REG_UDMA_TIMING(Channel, Drive) (0xAC + ((Channel) << 4) + ((Drive) << 1)) |
| #define | SIL_CFG_CABLE_80 0x00000001 |
| #define | SIL_CFG_MONITOR_IORDY 0x00000200 |
| #define | SIL_STATUS_INTR 0x08 |
| #define | SIL_CLK_MASK 0x30 |
| #define | SIL_CLK_100MHZ 0x00 |
| #define | SIL_CLK_133MHZ 0x10 |
| #define | SIL_CLK_X2 0x20 |
| #define | SIL_CLK_DISABLED 0x30 |
Functions | |
| static VOID | Sil680SetTransferMode (_In_ PATA_CONTROLLER Controller, _In_ ULONG Channel, _In_reads_(MAX_IDE_DEVICE) PCHANNEL_DEVICE_CONFIG *DeviceList) |
| static BOOLEAN | Sil680CheckInterrupt (_In_ PCHANNEL_DATA_PATA ChanData) |
| NTSTATUS | Sil680GetControllerProperties (_Inout_ PATA_CONTROLLER Controller) |
Variables | |
| static const USHORT | Sil680TaskFileTimings [] |
| static const USHORT | Sil680PioTimings [] |
| static const USHORT | Sil680MwDmaTimings [] |
| static const UCHAR | Sil680UdmaTimings [2][7] |
|
static |
Definition at line 202 of file sil680.c.
Referenced by Sil680GetControllerProperties().
| NTSTATUS Sil680GetControllerProperties | ( | _Inout_ PATA_CONTROLLER | Controller | ) |
Definition at line 214 of file sil680.c.
Referenced by PciIdeGetControllerProperties().
|
static |
Definition at line 71 of file sil680.c.
Referenced by Sil680GetControllerProperties().
Definition at line 53 of file sil680.c.
Referenced by Sil680SetTransferMode().
Definition at line 44 of file sil680.c.
Referenced by Sil680SetTransferMode().
Definition at line 35 of file sil680.c.
Referenced by Sil680SetTransferMode().
Definition at line 60 of file sil680.c.
Referenced by Sil680SetTransferMode().