freebsd-skq/sys
Justin T. Gibbs 74bb76f011 Be even more careful in how we manipulate the QOUTQCNT variable. Now we
do reset it from the QOUTCNT register inside a pause/unpause.  This now happens
once per command complete interrupt in the paging case (one interrupt can be
for multiple completed commands).  I may introduce a counter and do a lazy
update in the future, similar to what is done with the QINCNT.

Enhance the QUEUE FULL condition handling so that the number of openings will
be reduced.  This has become more important now that the driver is faster.
This code really belongs in the gerneric SCSI layer, as will be the case once
3.0 gets the code from the 'SCSI' branch.

Add some #if 0'd out trace code I've been using to help debug sequencer
problems.

Fix the SCB paging problem that I was seeing.  This was only on my 7850
controller and stems from the fact that its QINFIFO can only handle 3bit
SCB identifiers.  This means that you can only have 8 transactions open at
a time with the current paging scheme to these controllers.  The code added
to enforce this is generic in that it tests for the number of relevent bits
that the QINFIFO can store and adjusts the max accordingly.  It may be possible
to come up with a scheme that allows for more than 8 commands at a time, but
I don't know that it is worth the effort simply to fix a low end card.  The
aic7880 still can do 255.

This problem may be related to what Andrey was seeing since I don't have n
aic7770 rev E chip here to test on, but as soon as someone probes one of these
cards with this new code, the dmesg output will tell the whole story.
1996-11-16 01:19:14 +00:00
..
alpha KNF'ify. 1996-11-15 06:22:48 +00:00
amd64 Since there have been so many reports of the Memory Mapped I/O to the 1996-11-16 01:09:20 +00:00
compat/linux Add audio mixer ioctls. 1996-11-05 02:04:37 +00:00
compile
conf Since there have been so many reports of the Memory Mapped I/O to the 1996-11-16 01:09:20 +00:00
ddb if there is no console, cngetc should act like getc and return -1 1996-10-30 21:40:25 +00:00
dev Assert that we have seen an identify or have not disconneccted since the 1996-11-16 01:07:35 +00:00
fs Fix a potential deadlock from the previous commit. 1996-10-30 03:52:57 +00:00
geom Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
gnu Fixed lookup of ".." in checkpath. It always failed, so renames of 1996-11-09 10:25:04 +00:00
i386 Be even more careful in how we manipulate the QOUTQCNT variable. Now we 1996-11-16 01:19:14 +00:00
isa Only poll the keyboard if the data left in the buffer is from the 1996-11-15 08:45:24 +00:00
isofs/cd9660 Fix signed/unsigned comparison warnings. 1996-10-20 21:01:46 +00:00
kern Restored writability of kern.maxvnodes. It was broken a year ago in 1996-11-12 09:24:31 +00:00
libkern collate_range_cmp -> __collate_range_cmp 1996-10-31 04:32:27 +00:00
miscfs Fix a potential deadlock from the previous commit. 1996-10-30 03:52:57 +00:00
modules Make snake 3.0-CURRENT here. 1996-11-11 14:18:40 +00:00
msdosfs MSDOS FS used to allocate a buffer before extending the VM object. In 1996-10-02 05:01:17 +00:00
net Killed "unknown protocol" printf. 1996-11-12 08:43:32 +00:00
netatalk bzero the entire at_ifaddr struct we malloc, not just the first part of it.. 1996-09-11 09:38:52 +00:00
netinet Reword two messages: 1996-11-15 18:50:31 +00:00
netipx Accept odd length ipx packets. (Win95 and some dialup servers use it.) 1996-08-18 08:38:15 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netns Bring back netns so that Netcon can take over support for it, as agreed. 1996-10-17 18:42:33 +00:00
nfs Improve the queuing algorithms used by NFS' asynchronous i/o. The 1996-11-06 10:53:16 +00:00
nfsclient Improve the queuing algorithms used by NFS' asynchronous i/o. The 1996-11-06 10:53:16 +00:00
nfsserver Improve the queuing algorithms used by NFS' asynchronous i/o. The 1996-11-06 10:53:16 +00:00
pc98 Some more updates. 1996-11-14 08:46:21 +00:00
pccard Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
pci Some more updates. 1996-11-14 08:46:21 +00:00
powerpc/include Add commands for ptrace get/set registers.. (Same numbers as NetBSD) 1996-01-24 18:51:48 +00:00
rpc Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
scsi Back out my previous change. 1996-11-09 02:44:11 +00:00
sys KNF'ify. 1996-11-15 06:22:48 +00:00
tools Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
ufs Submitted by: Archie and me. 1996-11-13 01:45:56 +00:00
vm Vastly improved contigmalloc routine. It does not solve the 1996-11-05 04:19:08 +00:00
Makefile The Great PC98 Merge. 1996-06-14 11:02:28 +00:00