1058595d5SMauro Carvalho Chehab.. SPDX-License-Identifier: GPL-2.0
2058595d5SMauro Carvalho Chehab
3058595d5SMauro Carvalho Chehab=================================
4058595d5SMauro Carvalho ChehabQlogic FASXXX Family Driver Notes
5058595d5SMauro Carvalho Chehab=================================
6058595d5SMauro Carvalho Chehab
7058595d5SMauro Carvalho ChehabThis driver supports the Qlogic FASXXX family of chips.  This driver
8058595d5SMauro Carvalho Chehabonly works with the ISA, VLB, and PCMCIA versions of the Qlogic
9058595d5SMauro Carvalho ChehabFastSCSI!  cards as well as any other card based on the FASXX chip
10058595d5SMauro Carvalho Chehab(including the Control Concepts SCSI/IDE/SIO/PIO/FDC cards).
11058595d5SMauro Carvalho Chehab
12058595d5SMauro Carvalho ChehabThis driver does NOT support the PCI version.  Support for these PCI
13058595d5SMauro Carvalho ChehabQlogic boards:
14058595d5SMauro Carvalho Chehab
15058595d5SMauro Carvalho Chehab	* IQ-PCI
16058595d5SMauro Carvalho Chehab	* IQ-PCI-10
17058595d5SMauro Carvalho Chehab	* IQ-PCI-D
18058595d5SMauro Carvalho Chehab
19058595d5SMauro Carvalho Chehabis provided by the qla1280 driver.
20058595d5SMauro Carvalho Chehab
21058595d5SMauro Carvalho ChehabNor does it support the PCI-Basic, which is supported by the
22058595d5SMauro Carvalho Chehab'am53c974' driver.
23058595d5SMauro Carvalho Chehab
24058595d5SMauro Carvalho ChehabPCMCIA Support
25058595d5SMauro Carvalho Chehab==============
26058595d5SMauro Carvalho Chehab
27058595d5SMauro Carvalho ChehabThis currently only works if the card is enabled first from DOS.  This
28058595d5SMauro Carvalho Chehabmeans you will have to load your socket and card services, and
29058595d5SMauro Carvalho ChehabQL41DOS.SYS and QL40ENBL.SYS.  These are a minimum, but loading the
30058595d5SMauro Carvalho Chehabrest of the modules won't interfere with the operation.  The next
31058595d5SMauro Carvalho Chehabthing to do is load the kernel without resetting the hardware, which
32058595d5SMauro Carvalho Chehabcan be a simple ctrl-alt-delete with a boot floppy, or by using
33058595d5SMauro Carvalho Chehabloadlin with the kernel image accessible from DOS.  If you are using
34058595d5SMauro Carvalho Chehabthe Linux PCMCIA driver, you will have to adjust it or otherwise stop
35058595d5SMauro Carvalho Chehabit from configuring the card.
36058595d5SMauro Carvalho Chehab
37058595d5SMauro Carvalho ChehabI am working with the PCMCIA group to make it more flexible, but that
38058595d5SMauro Carvalho Chehabmay take a while.
39058595d5SMauro Carvalho Chehab
40058595d5SMauro Carvalho ChehabAll Cards
41058595d5SMauro Carvalho Chehab=========
42058595d5SMauro Carvalho Chehab
43058595d5SMauro Carvalho ChehabThe top of the qlogic.c file has a number of defines that controls
44058595d5SMauro Carvalho Chehabconfiguration.  As shipped, it provides a balance between speed and
45058595d5SMauro Carvalho Chehabfunction.  If there are any problems, try setting SLOW_CABLE to 1, and
46058595d5SMauro Carvalho Chehabthen try changing USE_IRQ and TURBO_PDMA to zero.  If you are familiar
47058595d5SMauro Carvalho Chehabwith SCSI, there are other settings which can tune the bus.
48058595d5SMauro Carvalho Chehab
49058595d5SMauro Carvalho ChehabIt may be a good idea to enable RESET_AT_START, especially if the
50058595d5SMauro Carvalho Chehabdevices may not have been just powered up, or if you are restarting
51058595d5SMauro Carvalho Chehabafter a crash, since they may be busy trying to complete the last
52058595d5SMauro Carvalho Chehabcommand or something.  It comes up faster if this is set to zero, and
53058595d5SMauro Carvalho Chehabif you have reliable hardware and connections it may be more useful to
54058595d5SMauro Carvalho Chehabnot reset things.
55058595d5SMauro Carvalho Chehab
56058595d5SMauro Carvalho ChehabSome Troubleshooting Tips
57058595d5SMauro Carvalho Chehab=========================
58058595d5SMauro Carvalho Chehab
59058595d5SMauro Carvalho ChehabMake sure it works properly under DOS.  You should also do an initial FDISK
60058595d5SMauro Carvalho Chehabon a new drive if you want partitions.
61058595d5SMauro Carvalho Chehab
62058595d5SMauro Carvalho ChehabDon't enable all the speedups first.  If anything is wrong, they will make
63058595d5SMauro Carvalho Chehabany problem worse.
64058595d5SMauro Carvalho Chehab
65058595d5SMauro Carvalho ChehabImportant
66058595d5SMauro Carvalho Chehab=========
67058595d5SMauro Carvalho Chehab
68058595d5SMauro Carvalho ChehabThe best way to test if your cables, termination, etc. are good is to
69058595d5SMauro Carvalho Chehabcopy a very big file (e.g. a doublespace container file, or a very
70058595d5SMauro Carvalho Chehablarge executable or archive).  It should be at least 5 megabytes, but
71058595d5SMauro Carvalho Chehabyou can do multiple tests on smaller files.  Then do a COMP to verify
72058595d5SMauro Carvalho Chehabthat the file copied properly.  (Turn off all caching when doing these
73058595d5SMauro Carvalho Chehabtests, otherwise you will test your RAM and not the files).  Then do
74058595d5SMauro Carvalho Chehab10 COMPs, comparing the same file on the SCSI hard drive, i.e. "COMP
75058595d5SMauro Carvalho Chehabrealbig.doc realbig.doc".  Then do it after the computer gets warm.
76058595d5SMauro Carvalho Chehab
77058595d5SMauro Carvalho ChehabI noticed my system which seems to work 100% would fail this test if
78058595d5SMauro Carvalho Chehabthe computer was left on for a few hours.  It was worse with longer
79058595d5SMauro Carvalho Chehabcables, and more devices on the SCSI bus.  What seems to happen is
80058595d5SMauro Carvalho Chehabthat it gets a false ACK causing an extra byte to be inserted into the
81058595d5SMauro Carvalho Chehabstream (and this is not detected).  This can be caused by bad
82058595d5SMauro Carvalho Chehabtermination (the ACK can be reflected), or by noise when the chips
83058595d5SMauro Carvalho Chehabwork less well because of the heat, or when cables get too long for
84058595d5SMauro Carvalho Chehabthe speed.
85058595d5SMauro Carvalho Chehab
86058595d5SMauro Carvalho ChehabRemember, if it doesn't work under DOS, it probably won't work under
87058595d5SMauro Carvalho ChehabLinux.
88