summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1995-07-04 21:14:45 +0000
committergibbs <gibbs@FreeBSD.org>1995-07-04 21:14:45 +0000
commitf9322273872275c6c58b90216e168ad408a928a1 (patch)
tree531ac433cf5cec292a043cb0a4c5109f678830d0 /sys/i386/eisa
parent8fbb1475088b3c840197359311b208f1900c7e4e (diff)
downloadFreeBSD-src-f9322273872275c6c58b90216e168ad408a928a1.zip
FreeBSD-src-f9322273872275c6c58b90216e168ad408a928a1.tar.gz
First pass cleanup of this driver. This pass does not include the sequencer
optimizations I have been working on yet, but does bring in some bug fixes and performance improvments that were easy to regression test: Setup the data fifo threshold and bus off timing correctly for 27/284x cards. Users of these adapters with fast periferals (greater than 5MB/s) will notice a big performance difference. (Sometimes as large as going from 3.7->8.3MB/s). Fix handling of the active target flags. Some of the outbs where missing the base offset in the abort code. The abort code still needs lots of work. Support 3940 controllers, but only with 16 SCBs for now. Eventually I'll add support for all 255, but I need to find a tester for the code first since we have to enable the cards external SRAM to do this. Add Dan Eischen's serial eeprom reading facilities. This allows the 2940 adapters to pull additional information left over from SCSI-Select right out out of the configuration seeprom. If the BIOS is disabled on 274x controllers, reset all target parameters to there defaults since you can't rely on what is stored in scratch ram. Report motherboard controllers as such. Stick the first SG address and count into the SCB data and count areas for all transfers in preparation of a later sequencer optimization. Keep track of which targets can are allowed to have the disconnection priveledge since this will be handled by the kernel driver in the future. If a target issues a message reject in response to a tagged message, disable tagged queuing for that target. Some seagates say they can do tagged queuing, but lie, and its a shame to have to disable tagged queuing on all devices just because you have one that can't cope.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r--sys/i386/eisa/aic7770.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/eisa/aic7770.c b/sys/i386/eisa/aic7770.c
index ce4f948..2844aef 100644
--- a/sys/i386/eisa/aic7770.c
+++ b/sys/i386/eisa/aic7770.c
@@ -19,7 +19,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: aic7770.c,v 1.13 1995/04/12 20:47:36 wollman Exp $
+ * $Id: aic7770.c,v 1.14 1995/05/30 08:01:15 rgrimes Exp $
*/
#include <sys/param.h>
@@ -89,10 +89,10 @@ aic7770probe(struct isa_device *dev)
aic7770_sig valid_ids[] = {
/* Entries of other tested adaptors should be added here */
- { AHC_274, 0x71 }, /*274x*/
- { AHC_274, 0x70 }, /*aic7770 on Motherboard*/
- { AHC_284, 0x56 }, /*284x, BIOS enabled*/
- { AHC_284, 0x57 } /*284x, BIOS disabled*/
+ { AHC_274, 0x71 }, /*274x*/
+ { AHC_AIC7770, 0x70 }, /*aic7770 on Motherboard*/
+ { AHC_284, 0x56 }, /*284x, BIOS enabled*/
+ { AHC_284, 0x57 } /*284x, BIOS disabled*/
};
OpenPOWER on IntegriCloud