freebsd-skq/sys
David Greenman 3a2f7427fe Updated driver to the 1.1.5 version:
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:
1994-09-17 16:56:10 +00:00
..
alpha/include Added support for many more videomodes, including graphic modes up til 1994-09-15 07:26:40 +00:00
amd64 Removed inclusion of pio.h and cpufunc.h (cpufunc.h is included from 1994-09-16 13:33:56 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Add SYSV shm stuff back to LINT. 1994-09-16 10:23:46 +00:00
ddb 386bsd -> kernel in strings. 1994-09-05 14:04:56 +00:00
dev Updated driver to the 1.1.5 version: 1994-09-17 16:56:10 +00:00
fs Supply prototypes for some functions that were implicitly declared and 1994-09-15 19:47:47 +00:00
gnu Quiet down compiler warnings. 1994-08-31 04:45:24 +00:00
i386 Updated driver to the 1.1.5 version: 1994-09-17 16:56:10 +00:00
isa Updated driver to the 1.1.5 version: 1994-09-17 16:56:10 +00:00
isofs/cd9660 Obtained from: 1994-09-15 19:46:03 +00:00
kern Got rid of compiler warnings. 1994-09-17 13:24:29 +00:00
libkern Added -DKERNEL and added support for kernel profiling. 1994-09-15 15:41:48 +00:00
miscfs Supply prototypes for some functions that were implicitly declared and 1994-09-15 19:47:47 +00:00
modules Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and 1994-09-16 20:24:29 +00:00
net Made the kernel compile even without "ether". 1994-09-16 05:47:06 +00:00
netccitt Made idempotent 1994-08-21 05:44:12 +00:00
netinet Made the kernel compile even without "ether". 1994-09-16 05:47:06 +00:00
netiso Made idempotent -- made some of them more consistent with rest of tree. 1994-08-21 06:14:33 +00:00
netns Made idempotent. 1994-08-21 06:22:12 +00:00
nfs "bogus" fixes from 1.1.5 to work around some cache coherency problems. 1994-08-29 06:09:15 +00:00
nfsclient "bogus" fixes from 1.1.5 to work around some cache coherency problems. 1994-08-29 06:09:15 +00:00
nfsserver "bogus" fixes from 1.1.5 to work around some cache coherency problems. 1994-08-29 06:09:15 +00:00
pci Removed inclusion of pio.h and cpufunc.h (cpufunc.h is included from 1994-09-16 13:33:56 +00:00
powerpc/include Added $Id$ 1994-08-02 07:55:43 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi Changed CDOUTSTANDING back to a value of 2 (from 1), since this is now only 1994-09-16 23:43:28 +00:00
sys Updated driver to the 1.1.5 version: 1994-09-17 16:56:10 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs Eliminated a whole pile of ancient (we're taking 4.3BSD) VM system 1994-09-12 11:38:31 +00:00
vm Fixed a bug I introduced when fixing the rss limit code. Changed swapout 1994-09-12 15:06:14 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00