|
ReactOS 0.4.16-dev-2633-g8dc9e50
|
#include "pciidex.h"
Go to the source code of this file.
Macros | |
| #define | PCI_DEV_K2_SATA 0x0240 |
| #define | PCI_DEV_BCM5770_SATA 0x0241 |
| #define | PCI_DEV_BCM5770R_SATA 0x0242 |
| #define | PCI_DEV_HT1000_SATA 0x024A |
| #define | PCI_DEV_HT1000_SATA_2 0x024B |
| #define | PCI_DEV_HT1100_SATA 0x0410 |
| #define | PCI_DEV_HT1100_SATA_2 0x0411 |
| #define | SVW_SATA_PORT_BASE_OFFSET 0x100 |
| #define | SVW_SATA_PORT_CONTROL_OFFSET 0x20 |
| #define | SVW_SATA_PORT_DMA_OFFSET 0x30 |
| #define | SVW_SATA_PORT_SCR_OFFSET 0x40 |
| #define | SVW_SATA_PORT_TF_STRIDE 4 |
| #define | HW_FLAGS_8_PORTS 0x01 |
| #define | HW_FLAGS_NO_ATAPI_DMA 0x02 |
Functions | |
| static BOOLEAN | SvwSataScrRead (_In_ PCHANNEL_DATA_PATA ChanData, _In_ SATA_SCR_REGISTER Register, _In_ ULONG PortNumber, _In_ PULONG Result) |
| static BOOLEAN | SvwSataScrWrite (_In_ PCHANNEL_DATA_PATA ChanData, _In_ SATA_SCR_REGISTER Register, _In_ ULONG PortNumber, _In_ ULONG Value) |
| static ULONG | SvwSataGetIoBarIndex (_In_ PATA_CONTROLLER Controller) |
| static BOOLEAN | SvwSataCheckInterrupt (_In_ PCHANNEL_DATA_PATA ChanData) |
| static UCHAR | SvwSataReadStatus (_In_ PCHANNEL_DATA_PATA ChanData) |
| static VOID | SvwSataLoadTaskFile (_In_ PCHANNEL_DATA_PATA ChanData, _In_ PATA_DEVICE_REQUEST Request) |
| static VOID | SvwSataSaveTaskFile (_In_ PCHANNEL_DATA_PATA ChanData, _Inout_ PATA_DEVICE_REQUEST Request) |
| static VOID | SvwSataParseResources (_Inout_ PCHANNEL_DATA_PATA ChanData, _In_ PUCHAR IoBase, _In_ ULONG PortIndex) |
| NTSTATUS | SvwSataGetControllerProperties (_Inout_ PATA_CONTROLLER Controller) |
Variables | |
| struct { | |
| USHORT DeviceID | |
| USHORT Flags | |
| } | SvwSataControllerList [] |
| #define HW_FLAGS_8_PORTS 0x01 |
Definition at line 33 of file svw_sata.c.
| #define HW_FLAGS_NO_ATAPI_DMA 0x02 |
Definition at line 34 of file svw_sata.c.
| #define PCI_DEV_BCM5770_SATA 0x0241 |
Definition at line 20 of file svw_sata.c.
| #define PCI_DEV_BCM5770R_SATA 0x0242 |
Definition at line 21 of file svw_sata.c.
| #define PCI_DEV_HT1000_SATA 0x024A |
Definition at line 22 of file svw_sata.c.
| #define PCI_DEV_HT1000_SATA_2 0x024B |
Definition at line 23 of file svw_sata.c.
| #define PCI_DEV_HT1100_SATA 0x0410 |
Definition at line 24 of file svw_sata.c.
| #define PCI_DEV_HT1100_SATA_2 0x0411 |
Definition at line 25 of file svw_sata.c.
| #define PCI_DEV_K2_SATA 0x0240 |
Definition at line 19 of file svw_sata.c.
| #define SVW_SATA_PORT_BASE_OFFSET 0x100 |
Definition at line 27 of file svw_sata.c.
| #define SVW_SATA_PORT_CONTROL_OFFSET 0x20 |
Definition at line 28 of file svw_sata.c.
| #define SVW_SATA_PORT_DMA_OFFSET 0x30 |
Definition at line 29 of file svw_sata.c.
| #define SVW_SATA_PORT_SCR_OFFSET 0x40 |
Definition at line 30 of file svw_sata.c.
| #define SVW_SATA_PORT_TF_STRIDE 4 |
Definition at line 31 of file svw_sata.c.
|
static |
Definition at line 99 of file svw_sata.c.
Referenced by SvwSataGetControllerProperties().
| NTSTATUS SvwSataGetControllerProperties | ( | _Inout_ PATA_CONTROLLER | Controller | ) |
Definition at line 215 of file svw_sata.c.
Referenced by PciIdeGetControllerProperties().
|
inlinestatic |
Definition at line 91 of file svw_sata.c.
Referenced by SvwSataCheckInterrupt(), and SvwSataGetControllerProperties().
|
static |
Definition at line 124 of file svw_sata.c.
Referenced by SvwSataGetControllerProperties().
|
static |
Definition at line 193 of file svw_sata.c.
Referenced by SvwSataGetControllerProperties().
|
static |
Definition at line 112 of file svw_sata.c.
Referenced by SvwSataGetControllerProperties().
|
static |
Definition at line 158 of file svw_sata.c.
Referenced by SvwSataGetControllerProperties().
|
static |
Definition at line 56 of file svw_sata.c.
Referenced by SvwSataGetControllerProperties().
|
static |
Definition at line 73 of file svw_sata.c.
Referenced by SvwSataGetControllerProperties().
Definition at line 39 of file svw_sata.c.
Definition at line 40 of file svw_sata.c.
| PCIIDEX_PAGED_DATA const struct { ... } SvwSataControllerList[] |
Referenced by SvwSataGetControllerProperties().