1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
Justin T. Gibbs 73f1c25915 Clean up error recovery code:
aic7xxx.c:
	In target mode, reset the TQINPOS on every restart of the sequencer.
	In the past we did this only during a bus reset, but there are other
	reasons the sequencer might be reset.

	In ahc_clear_critical_section(), disable pausing chip interrupts while
	we step the sequencer out of a critical section.  This avoids the
	possibility of getting a pausing interrupt (unexpected bus free,
	bus reset, etc.) that would prevent the sequencer from stepping.

	Send the correct async notifications in the case of a BDR or bus reset.

	In ahc_loadseq(), correct the calculation of our critical sections.
	In some cases, the sections would be larger than needed.

aic7xxx.h:
	Remove an unused SCB flag.

aic7xxx.seq:
	MK_MESSAGE is cleared by the kernel, there is no need to waste
	a sequencer instruction clearing it.

aic7xxx_freebsd.c:
	Go through the host message loop instead of issuing a single
	byte message directly in the ahc_timeout() case where we
	are currently on the bus to the device.  The effect is the same,
	but this way we get a nice printf saying that an expected BDR
	was delivered instead of an unexpected bus free.

	If we are requeuing an SCB for an error recovery action, be sure
	to set the DISCONNECTED flag in the in-core version of the SCB.
	This ensures that, in the SCB-paging case, the sequencer will
	still recognize the reselection as valid even if the version
	of the SCB with this flag set was never previously paged out
	to system memory.  In the non-paging case, set the MK_MESSAGE
	flag in SCB_CONTROL directly.

aic7xxx_pci.c:
	Enable the Memeory Write and Invalidate bug workaround for
	all aic7880 chips with revs < 1.  This bug is rarely triggered
	in FreeBSD as most transfers end on cache-aligned boundaries,
	but a recheck of my references indicates that these chips
	are affected.
2000-10-09 01:46:01 +00:00
..
alpha Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
amd64 Only attach "legacy" PCI busses if none have been attached via any other 2000-10-09 00:44:41 +00:00
boot Go back to occupying just a single sector, reverting r1.17 - r1.20. 2000-10-02 17:30:22 +00:00
cam - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
coda Forward-declare struct mbuf so that this file is less self-insufficient 2000-10-05 11:58:22 +00:00
compat Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
compile
conf Unbreak detection of breakage in cy driver. 2000-10-08 14:46:04 +00:00
contrib/dev remove unused #include. 2000-10-07 19:38:31 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Clean up error recovery code: 2000-10-09 01:46:01 +00:00
fs return correct type for process directory entries, DT_DIR not DT_REG 2000-10-05 23:19:51 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
i4b - Remove the inthand2_t type and use the equivalent driver_intr_t type from 2000-09-13 18:33:25 +00:00
i386 Only attach "legacy" PCI busses if none have been attached via any other 2000-10-09 00:44:41 +00:00
ia64 Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
isa Resolve the inconsistency between "the number of resources of a particular 2000-10-09 00:40:17 +00:00
isofs/cd9660 Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
kern Do not call lockdestroy() for v_vnlock, which may point to a lock in a 2000-10-06 08:04:48 +00:00
libkern Next round of fixes to the ia64 code. This includes simulated clock and 2000-10-04 17:53:03 +00:00
miscfs return correct type for process directory entries, DT_DIR not DT_REG 2000-10-05 23:19:51 +00:00
modules Don't install manpages. 2000-10-08 16:56:04 +00:00
msdosfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
net make sure we have root priv on SIOCSIFPHY*. from thorpej@netbsd 2000-10-04 23:16:29 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph More complete fix for multi-link sequence number handling bugs. 2000-10-06 23:42:02 +00:00
netinet Remove headers not needed. 2000-10-07 23:15:17 +00:00
netinet6 make pr_type type meet with struct protosw. sync with kame 2000-10-03 13:39:49 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
netns
nfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nfsclient Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nfsserver Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
ntfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nwfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
pc98 Merged from sys/isa/sio.c revision 1.316. 2000-10-06 11:52:32 +00:00
pccard fix some minor problem in PIOCSRESOURCE ioctl. 2000-10-01 12:36:14 +00:00
pci Validate the PCI bus number that we fetch from our parent, since there's no 2000-10-09 00:43:45 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
rpc
sys Change the way that eventhandler lists are processed so that an event 2000-10-09 00:41:29 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs o Move initialization of ump from mp to the top of the function so that 2000-10-06 15:31:28 +00:00
vm If a process is over its resource limit for datasize, still allow 2000-10-06 13:03:50 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00