Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 01/21/2000 05:22:03
Module Name:	syssrc
Committed By:	pk
Date:		Fri Jan 21 13:22:03 UTC 2000

Modified Files:
	syssrc/sys/arch/sparc/dev: fd.c fdvar.h
	syssrc/sys/arch/sparc/sparc: bsd_fdintr.s

Log Message:
Medium sized code overhaul:
* Improve communication between the `hard' and `soft' interrupt handlers
  to better distinguish various interrupt sources.
* Eliminate several race conditions where we would set a time out handler
  only after starting the command on the hardware.
* Handle most timeouts by resetting the controller; there isn't much chance
  of recovery in any other way.  Currently, the exception is a timeout
  on I/O, in which case we first try to pulse the controller's TC line
  in order to abort the pseudo-dma sequence.  Apparently, "normal"
  conditions can induce such a timeout when there's no disk in the drive.
* Reduce the formatting gap parameter to 0x54.
* On the obio bus, interpret the `status' attribute.
* Minimize console diagnostic output if the errors we get appear to be
  caused by the absence of a disk.


To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 syssrc/sys/arch/sparc/dev/fd.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/sparc/dev/fdvar.h
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/sparc/sparc/bsd_fdintr.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.