summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1994-10-30 19:17:39 +0000
committerjoerg <joerg@FreeBSD.org>1994-10-30 19:17:39 +0000
commit5fd22a0e226cd4db10e74a4388a75419769af9a0 (patch)
tree3da1ca05fe3b865e96d836c89fa54e816cacb4fa /sys
parent1142874b61a6c1e2ddab57440886347f63e44447 (diff)
downloadFreeBSD-src-5fd22a0e226cd4db10e74a4388a75419769af9a0.zip
FreeBSD-src-5fd22a0e226cd4db10e74a4388a75419769af9a0.tar.gz
Included the command definition for FD_DEBUG.
This way, it's possible for a user to activate/deactivate floppy driver debugging, even if (s)he doesn't like the overhead of running DDB. Since some ppl tend to have problems with their drives, this might be valuable for investigations.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/include/ioctl_fd.h4
-rw-r--r--sys/sys/fdcio.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/i386/include/ioctl_fd.h b/sys/i386/include/ioctl_fd.h
index f5a5d6a..6732939 100644
--- a/sys/i386/include/ioctl_fd.h
+++ b/sys/i386/include/ioctl_fd.h
@@ -24,7 +24,7 @@
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
- * $Id: ioctl_fd.h,v 1.5 1994/09/17 16:55:59 davidg Exp $
+ * $Id: ioctl_fd.h,v 1.6 1994/09/25 18:41:21 joerg Exp $
*/
#ifndef _IOCTL_FD_H
@@ -102,6 +102,8 @@ struct fd_type {
#define FD_GOPTS _IOR('F', 64, int) /* drive options, see below */
#define FD_SOPTS _IOW('F', 65, int)
+#define FD_DEBUG _IOW('F', 66, int)
+
#define FDOPT_NORETRY 0x0001 /* no retries on failure (cleared on close) */
/*
diff --git a/sys/sys/fdcio.h b/sys/sys/fdcio.h
index f5a5d6a..6732939 100644
--- a/sys/sys/fdcio.h
+++ b/sys/sys/fdcio.h
@@ -24,7 +24,7 @@
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
- * $Id: ioctl_fd.h,v 1.5 1994/09/17 16:55:59 davidg Exp $
+ * $Id: ioctl_fd.h,v 1.6 1994/09/25 18:41:21 joerg Exp $
*/
#ifndef _IOCTL_FD_H
@@ -102,6 +102,8 @@ struct fd_type {
#define FD_GOPTS _IOR('F', 64, int) /* drive options, see below */
#define FD_SOPTS _IOW('F', 65, int)
+#define FD_DEBUG _IOW('F', 66, int)
+
#define FDOPT_NORETRY 0x0001 /* no retries on failure (cleared on close) */
/*
OpenPOWER on IntegriCloud