summaryrefslogtreecommitdiff
path: root/include/kernel/io/devctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel/io/devctl.h')
-rw-r--r--include/kernel/io/devctl.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/include/kernel/io/devctl.h b/include/kernel/io/devctl.h
index 73e1827..1f3305a 100644
--- a/include/kernel/io/devctl.h
+++ b/include/kernel/io/devctl.h
@@ -1,7 +1,7 @@
#ifndef _PSP2_IO_DEVCTL_H_
#define _PSP2_IO_DEVCTL_H_
-#include <psp2kern/types.h>
+#include <psp2kern/kernel/iofilemgr.h>
#ifdef __cplusplus
extern "C" {
@@ -14,25 +14,6 @@ typedef struct SceIoDevInfo {
void *unk;
} SceIoDevInfo;
-/**
- * Send a devctl command to a device.
- *
- * @par Example: Sending a simple command to a device
- * @code
- * SceIoDevInfo info;
- * sceIoDevctl("ux0:", 0x3001, NULL, 0, &info, sizeof(SceIoDevInfo));
- * @endcode
- *
- * @param dev - String for the device to send the devctl to (e.g. "ux0:")
- * @param cmd - The command to send to the device
- * @param indata - A data block to send to the device, if NULL sends no data
- * @param inlen - Length of indata, if 0 sends no data
- * @param outdata - A data block to receive the result of a command, if NULL receives no data
- * @param outlen - Length of outdata, if 0 receives no data
- * @return 0 on success, < 0 on error
- */
-int sceIoDevctl(const char *dev, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen);
-
#ifdef __cplusplus
}
#endif