freebsd-dev/sys
Bruce Evans e5d7d24361 Fixed error handling after a seek error that can't happen. When the
controller reports a successful seek, it is very unlikely to report
seeking to a cylinder other than the one requested, but we check for
this, and botched the error handling for the requested_cylinder != 0
case.  This error happened when the bug fixed in rev.1.52 of <sys/buf.h>
caused the head of buffer queue to change to one starting on a different
cylnder - the requested cylinder was found, but it wasn't what we
thought we requested.  The fix is simply to arrange to reset the state
machine.

Corruption of the buffer queue seems to only have been a problem in the
floppy driver.  Other drivers dequeue the head of the queue before doing
physical i/o on it, so the corruption at worse broke the elevator sort
order.  Dequeueing breaks it anyway.
1998-07-18 03:15:33 +00:00
..
alpha Simplify access to PCI config registers. 1998-07-16 13:38:35 +00:00
amd64 Place a fat warning that floppy tapes should be configured as drive 2 1998-07-17 06:45:26 +00:00
compat Quick and dirty support for Linux's mremap. Not used by anything 1998-07-10 22:30:08 +00:00
compile
conf Tweaks for cross-building from NetBSD/alpha. 1998-07-15 20:12:54 +00:00
contrib/softupdates
ddb Added macros __printflike() and __scanflike() to <sys/cdefs.h>. 1998-07-13 06:45:23 +00:00
dev Fixed error handling after a seek error that can't happen. When the 1998-07-18 03:15:33 +00:00
fs Cast pointers to [u]intptr_t instead of to [unsigned] long. 1998-07-15 04:17:55 +00:00
geom
gnu Fixed printf format errors. 1998-07-11 07:46:16 +00:00
i386 Fixed error handling after a seek error that can't happen. When the 1998-07-18 03:15:33 +00:00
isa Fixed error handling after a seek error that can't happen. When the 1998-07-18 03:15:33 +00:00
isofs/cd9660
kern Changed %n to %r in devfs name format strings. %n has almost gone away. 1998-07-15 12:18:34 +00:00
libkern Changed to the C9x draft spelling of the (unsigned) integral type 1998-07-14 05:09:48 +00:00
miscfs Cast pointers to [u]intptr_t instead of to [unsigned] long. 1998-07-15 04:17:55 +00:00
modules
msdosfs Fixed printf format errors. 1998-07-11 07:46:16 +00:00
net Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
netatalk Fix braino in last commit. 1998-07-13 06:34:02 +00:00
netinet Removed a bogus forward struct declaration. 1998-07-13 12:20:07 +00:00
netipx
netkey
netnatm
netns
nfs Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
nfsclient Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
nfsserver Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
pc98 Merge from sys/i386/isa/syscons.c (1.265->1.266). 1998-07-16 10:29:11 +00:00
pccard
pci Correct SEEPROM checksum calculation when multiple checksum attemps are made. 1998-07-16 19:33:43 +00:00
posix4
powerpc Overhaul the spl system so that it actually works properly. 1998-07-12 16:32:10 +00:00
rpc
scsi If object pointers need to be cast to [unsigned] integers, then cast 1998-07-14 11:34:22 +00:00
sys Point at the right place for alpha registers. 1998-07-15 20:18:00 +00:00
tools
ufs Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
vm Cast pointers to [u]intptr_t instead of to [unsigned] long. 1998-07-15 04:17:55 +00:00
Makefile