Date: Mon, 14 May 2001 13:20:11 -0700 (PDT) From: Joerg Wunsch <joerg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include ioctl_fd.h src/sys/i386/include ioctl_fd.h src/sys/isa fd.c Message-ID: <200105142020.f4EKKB084117@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2001/05/14 13:20:11 PDT
Modified files:
sys/alpha/include ioctl_fd.h
sys/i386/include ioctl_fd.h
sys/isa fd.c
Log:
Implement a few more floppy ioctl commands and IO options, namely:
. FD_CLRERR clears the error counter, thus re-enables kernel error
printf()s,
. FD_GSTAT obtains the last FDC operation state, if any,
. FDOPT_NOERRLOG (temporarily) turns off kernel printf() floppy
error logging,
. FDOPT_NOERROR makes the kernel ignore an FDC error, thus can
enable the transfer of an erroneous sector to the user application
All options are being cleared on (last) close.
Prime consumer of the last features will be fdread(1), to be committed
shortly.
(FD_CLRERR should be wired into fdcontrol(8), but then fdcontrol(8)
needs a major rewrite anyway.)
Revision Changes Path
1.4 +19 -3 src/sys/alpha/include/ioctl_fd.h
1.14 +19 -3 src/sys/i386/include/ioctl_fd.h
1.197 +41 -24 src/sys/isa/fd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105142020.f4EKKB084117>
