]> git.sesse.net Git - pistorm/blobdiff - platforms/amiga/pistorm-dev/pistorm-dev-enums.h
The remainder of the initial PiStorm interaction stuff (I think)
[pistorm] / platforms / amiga / pistorm-dev / pistorm-dev-enums.h
index 3c4f1b7d3ead558b7e33fab70d8bcedb6f16e112..ece375d31ed3a538f53bb13100274ffdde418371 100644 (file)
@@ -63,12 +63,14 @@ enum pistorm_dev_cmds {
     PI_CMDRESULT        = 0x2100, // [R] Check the result of any command that provides a "return value".
 };
 
-enum pistorm_piscsi_ctrl_commands {
+enum pistorm_piscsi_commands {
     PISCSI_CTRL_NONE,
     PISCSI_CTRL_MAP,        // For hard drives
     PISCSI_CTRL_UNMAP,      //
     PISCSI_CTRL_EJECT,      // For optical media, not yet implemented
     PISCSI_CTRL_INSERT,     //
+    PISCSI_CTRL_ENABLE,     // Enable PiSCSI
+    PISCSI_CTRL_DISABLE,    // Disable PiSCSI
     PISCSI_CTRL_NUM,
 };
 
@@ -78,3 +80,13 @@ enum pistorm_config_commands {
     PICFG_DEFAULT,          // Load default.cfg if it exists
     PICFG_NUM,
 };
+
+enum pistorm_command_results {
+    PI_RES_OK,
+    PI_RES_FAILED,
+    PI_RES_NOCHANGE,
+    PI_RES_FILENOTFOUND,
+    PI_RES_INVALIDVALUE,
+    PI_RES_INVALIDCMD,
+    PI_RES_NUM,
+};