Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Storahci Initial changeset #13

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions reactos/drivers/storage/storahci/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
add_definitions(-DDEBUG)

list(APPEND SOURCE
storahci.c)

add_library(storahci SHARED ${SOURCE} storahci.rc)

set_module_type(storahci kernelmodedriver)
add_importlibs(storahci storport ntoskrnl hal)
add_cd_file(TARGET storahci DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_registry_inf(storahci.inf)
154 changes: 154 additions & 0 deletions reactos/drivers/storage/storahci/Notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
AhciPortInitialize
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

AhciAllocateResourceForAdapter
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

AhciHwInitialize
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

AhciInterruptHandler
Flags
IMPLEMENTED
TESTED
Comment
Fatal Error not supported
Error Recovery not supported

AhciHwInterrupt
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

AhciHwStartIo
Flags
IMPLEMENTED
TESTED
Comment
Adapter based IO request not supported
Need to implement more srb functions

AhciHwResetBus
Flags
NOT_IMPLEMENTED
Comment
Adapter master bus reset not implemented

AhciHwFindAdapter
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

DriverEntry
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

AhciATA_CFIS
Flags
NOT_IMPLEMENTED
Comment
Need to configure command table according to Srb function

AhciATAPI_CFIS
Flags
NOT_IMPLEMENTED
Comment
Need to configure command table according to Srb function

AhciBuild_PRDT
Flags
NOT_IMPLEMENTED
Comment
Need to configure command table according to Srb function

AhciProcessSrb
Flags
IMPLEMENTED
Comment
Only ATA/ATAPI type CFIS supported
Also I am not sure about FIS alignment in SrbExtension.

AhciActivatePort
Flags
NOT_IMPLEMENTED
Comment
NONE

AhciProcessIO
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

DeviceInquiryRequest
Flags
IMPLEMENTED
TESTED
Comment
EVPD is not sending Data buffer for IDENTIFY command.
Need to implement VPD

AhciAdapterReset
Flags
NOT_IMPLEMENTED
Comment
NONE

AhciZeroMemory
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

IsPortValid
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

AddQueue
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE

RemoveQueue
Flags
IMPLEMENTED
FULLY_SUPPORTED
TESTED
Comment
NONE
3 changes: 2 additions & 1 deletion reactos/drivers/storage/storahci/sources
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ TARGETLIBS=$(DDK_LIB_PATH)\storport.lib

INCLUDES = %BUILD%\inc
LIBS = %BUILD%\lib
SOURCES = storahci.c
SOURCES = storahci.c \
storahci.rc
Loading