aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/fdcio.h
Commit message (Collapse)AuthorAgeFilesLines
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>:Bruce Evans1996-09-211-5/+7
| | | | | | | | | | | | | | | | - don't include <sys/ioctl.h> in any header. Include <sys/ioccom.h> instead. This was already done in 4.4Lite for the most important ioctl headers. Header spam currently increases kernel build times by 10-20%. There are more than 30000 #includes (not counting duplicates) for compiling LINT. - include <sys/types.h> if and only it is necessary to make the header almost self-sufficient (some ioctl headers still need structs from elsewhere). - uniformized idempotency ifdefs. Copied the style in the 4.4Lite ioctl headers. Notes: svn path=/head/; revision=18444
* Fix a bunch of spelling errors in the comment fields ofMike Pritchard1996-01-301-2/+2
| | | | | | | a bunch of system include files. Notes: svn path=/head/; revision=13765
* Included the command definition for FD_DEBUG.Joerg Wunsch1994-10-301-1/+3
| | | | | | | | | | 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. Notes: svn path=/head/; revision=4009
* Copied over the transfer speed definitions from sys/i386/isa/fdreg.h.Joerg Wunsch1994-09-251-1/+15
| | | | | | | | This is needed for having the fdformat program no longer searching non-public include paths. Notes: svn path=/head/; revision=3095
* Updated driver to the 1.1.5 version:David Greenman1994-09-171-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | date: 1994/05/22 12:35:38; author: joerg; state: Exp; lines: +6 -6 First round of floppy changes. Try making `fd' more robust. New features: . ioctl command for setting the drive type (density etc.); restricted to the super-user . ioctl for getting/seting `drive options'; currently only option is FDOPT_NORETRY: inhibit the usual retries; used when verifying a newly formatted track Fixes: . function prototypes . made all internal functions `static' . cleaned up & corrected .h files . restructured, to make the chaotic function sequence more rational . compiled with -Wall, and cleared all warnings . introduced a mirror for the (write-only) `digital output register', to avoid the current kludge . device probing completed by seeking/recalibrating, and looking for track 0 being found . holding the controller down in reset state while it is idle (and thus saving allot of headaches) . make requests fail that are not a multiple of the (physical) sector size . removed the fixed physical sector size (512 bytes), allowing for any size the controller could handle (128/256/512/1024 bytes) . replaced some silly messages . fixed the TRACE* macro usage, debugging reports should be complete now again (debugging output is HUGE! though) . removed fd_timeout for SEEK command; seeks are always reported by the controller to succeed, since the `success' only refers to the controller's idea of success - there is no hardware line to tell about the seek end (other than the `track 0' line) . catch SENSEI's that report about a `terminated due to READY changed' status - could happen after a controller reset . converted ``hz / <something>'' divide operations to divisors that are powers of two, so gcc can optimize them into shifts . write/format operations are checked against a write-protected medium now *prior* starting the operation . error reports of `invalid command' and `wrong cylinder' will cause shortcuts in the retrier() now . fixed a bug in the retrier() causing bogus block numbers to be reported . fdformat() does care for errors now Known Bugs: . no attempts have been made (yet) to improve the performance . sometimes, bogus ``seek/recalib failed'' messages are logged; this is still a bug in the driver, but it's not harmful since it's usually caught by the retrier() Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=2838
* Added $Id$David Greenman1994-08-021-0/+2
| | | | Notes: svn path=/head/; revision=1817
* Replace old-style Joerg copyright to berkeley-style,Andrey A. Chernov1994-01-261-10/+21
| | | | | | | per Joerg request. Notes: svn path=/head/; revision=1019
* Separate read/write and format GAPs.Andrey A. Chernov1993-12-211-1/+2
| | | | Notes: svn path=/head/; revision=891
* From vak@kiae.su:Andrey A. Chernov1993-12-191-0/+86
incorporate Joerg Wunsch floppy formatting code Notes: svn path=/head/; revision=877