#ifndef DEFINES_ATA_H
#define DEFINES_ATA_H

/*
    *** Automatically generated from '/data/deadwood/gitAROS/AROS/rom/devs/ata/ata.conf'. Edits will be lost. ***
    Copyright © 1995-2011, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Defines for ata
*/

#include <aros/libcall.h>
#include <exec/types.h>
#include <aros/symbolsets.h>
#include <aros/preprocessor/variadic/cast2iptr.hpp>

__BEGIN_DECLS


#define __GetRdskLba_WB(__ataBase, __arg1) ({\
        AROS_LC1(ULONG, GetRdskLba, \
                  AROS_LCA(struct IORequest *,(__arg1),A1), \
        struct Device *, (__ataBase), 7, ata);\
})

#define GetRdskLba(arg1) \
    __GetRdskLba_WB(ataBase, (arg1))

#define __GetBlkSize_WB(__ataBase, __arg1) ({\
        AROS_LC1(ULONG, GetBlkSize, \
                  AROS_LCA(struct IORequest *,(__arg1),A1), \
        struct Device *, (__ataBase), 8, ata);\
})

#define GetBlkSize(arg1) \
    __GetBlkSize_WB(ataBase, (arg1))

__END_DECLS

#endif /* DEFINES_ATA_H*/
