summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp_ftp.h
diff options
context:
space:
mode:
authorRalf Hoppe <rhoppe@de.ibm.com>2013-04-08 09:52:57 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-09-25 10:52:02 +0200
commit8f933b1043e1e51f4776fc1ffe86752c7785fd4e (patch)
tree9549e4659cd027279b213bab4e735e1ccd5b15d7 /drivers/s390/char/sclp_ftp.h
parentea61a579ab87f1620b14777afc32cf3827f07bc8 (diff)
downloadlinux-8f933b1043e1e51f4776fc1ffe86752c7785fd4e.tar.bz2
s390/hmcdrv: HMC drive CD/DVD access
This device driver allows accessing a HMC drive CD/DVD-ROM. It can be used in a LPAR and z/VM environment. Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Ralf Hoppe <rhoppe@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp_ftp.h')
-rw-r--r--drivers/s390/char/sclp_ftp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/s390/char/sclp_ftp.h b/drivers/s390/char/sclp_ftp.h
new file mode 100644
index 000000000000..98ba3183e7d9
--- /dev/null
+++ b/drivers/s390/char/sclp_ftp.h
@@ -0,0 +1,21 @@
+/*
+ * SCLP Event Type (ET) 7 - Diagnostic Test FTP Services, useable on LPAR
+ *
+ * Notice that all functions exported here are not reentrant.
+ * So usage should be exclusive, ensured by the caller (e.g. using a
+ * mutex).
+ *
+ * Copyright IBM Corp. 2013
+ * Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
+ */
+
+#ifndef __SCLP_FTP_H__
+#define __SCLP_FTP_H__
+
+#include "hmcdrv_ftp.h"
+
+int sclp_ftp_startup(void);
+void sclp_ftp_shutdown(void);
+ssize_t sclp_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
+
+#endif /* __SCLP_FTP_H__ */