1. Changed device detect method to use ATA/ATAPI device signature;
2. Enhancements to better support SATA CDROM; 3. Fixed UDMA operation for buffer above 4G memory issue; 4. Fixed maximal block setting for ATAPI read sector operation to comply with spec; 5. Some minor fixes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1739 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -76,6 +76,16 @@ typedef enum {
|
||||
IdeUnknown
|
||||
} IDE_DEVICE_TYPE;
|
||||
|
||||
typedef enum {
|
||||
SenseNoSenseKey,
|
||||
SenseDeviceNotReadyNoRetry,
|
||||
SenseDeviceNotReadyNeedRetry,
|
||||
SenseNoMedia,
|
||||
SenseMediaChange,
|
||||
SenseMediaError,
|
||||
SenseOtherSense
|
||||
} SENSE_RESULT;
|
||||
|
||||
//
|
||||
// IDE Registers
|
||||
//
|
||||
@@ -234,6 +244,11 @@ typedef struct {
|
||||
//
|
||||
#define ATAPILONGTIMEOUT 5000
|
||||
|
||||
//
|
||||
// 10 seconds
|
||||
//
|
||||
#define ATASMARTTIMEOUT 10000
|
||||
|
||||
//
|
||||
// ATA Commands Code
|
||||
//
|
||||
|
Reference in New Issue
Block a user