add stubs for the ata trim/smart commands. make sysexplorer's ata and ahci modules...
[AROS.git] / rom / devs / ata / ata_smart.c
blobb5ec75046ea4f4003ef96cfc4be35e1e9804f3a7
1 /*
2 Copyright © 2019, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/debug.h>
8 #include <proto/exec.h>
10 /* We want all other bases obtained from our base */
11 #define __NOLIBBASE__
13 #include <hidd/storage.h>
14 #include <hidd/ata.h>
15 #include <oop/oop.h>
17 #include <devices/ata.h>
19 #include "ata.h"
21 /* perform the S.M.A.R.T operation specified in io_Reserved1 */
22 void ata_SMARTCmd(struct IOStdReq *io)
24 #if (0)
25 ata_CommandBlock acb =
27 ATA_SMART,
28 IOStdReq(io)->io_Reserved1,
36 CM_NoData,
37 CT_NoBlock
39 #endif
40 D(bug("[ATA%02ld] %s()\n", ((struct ata_Unit*)io->io_Unit)->au_UnitNum, __func__));
41 #if (0)
42 if (IOStdReq(io)->io_Reserved1 == SMARTC_READ_VALUES || IOStdReq(io)->io_Reserved1 == SMARTC_READ_THRESHOLDS) {
43 acb.buffer = IOStdReq(io)->io_Data;
44 acb.length = IOStdReq(io)->io_Length;
46 #endif