mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / modules / hdd / ps2hdd / helper.h
blob15ab89e964c26ed5ad4b76f0ec39b888850eafe0
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
10 # $Id: helper.h 1421 2007-07-07 01:56:53Z radad $
13 #ifndef _HELPER_H
14 #define _HELPER_H
16 #define ATAD_MODE_READ 0x00
17 #define ATAD_MODE_WRITE 0x01
19 #define t_shddInfo ata_devinfo_t
21 #define atadInit ata_get_devinfo
22 #define atadDmaTransfer ata_device_dma_transfer
23 #define atadSceUnlock ata_device_sec_unlock
24 #define atadIdle ata_device_idle
25 #define atadSceIdentifyDrive ata_device_sce_security_init
26 #define atadGetStatus ata_device_smart_get_status
27 #define atadUpdateAttrib ata_device_smart_save_attr
28 #define atadFlushCache ata_device_flush_cache
29 #define atadIs48bit ata_device_is_48bit
30 #define atadSetTransferMode ata_device_set_transfer_mode
32 #endif