mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
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.
This commit is contained in:
parent
e9e8f7b79d
commit
c20c8046d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4009
@ -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) */
|
||||
|
||||
/*
|
||||
|
@ -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) */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user