/* Set the following to max out the speed of the PIO PseudoDMA transfers,
again, 0 tends to be slower, but more stable. */
#define QL_TURBO_PDMA 1
/* This should be 1 to enable parity detection */
#define QL_ENABLE_PARITY 1
/* This will reset all devices when the driver is initialized (during bootup). Theotherlinuxdriversdon'tdothis,buttheDOSdriversdo,andafter usingDOSorsomekindofcrashorlockupthiswillbringthingsback withoutrequiringacoldboot.Itdoestakesometimetorecoverfroma reset,soitisslower,andIhaveseentimeoutssothatdevicesweren't
recognized when this was set. */
#define QL_RESET_AT_START 0
/* crystal frequency in megahertz (for offset 5 and 9) Pleasesetthisforyourcard.MostQlogiccardsare40Mhz.The
Control Concepts ISA (not VLB) is 24 Mhz */
#define XTALFREQ 40
/**********/ /* DANGER! modify these at your own risk */ /* SLOWCABLE can usually be reset to zero if you have a clean setup and propertermination.Therestareforsynchronoustransfersandother advancedfeaturesifyourdevicecantransferfasterthan5Mb/sec. Ifyouarereallycurious,emailmeforaquickhowtountilIhave
something official */ /**********/
/*****/ /* config register 1 (offset 8) options */ /* This needs to be set to 1 if your cabling is long or noisy */ #define SLOWCABLE 1
/*****/ /* offset 0xc */ /* This will set fast (10Mhz) synchronous timing when set to 1
For this to have an effect, FASTCLK must also be 1 */ #define FASTSCSI 0
/* This when set to 1 will set a faster sync transfer rate */ #define FASTCLK 0/*(XTALFREQ>25?1:0)*/
/*****/ /* offset 6 */ /* This is the sync transfer divisor, XTALFREQ/X will be the maximum achievabledatarate(assumingtherestofthesystemiscapable
and set properly) */ #define SYNCXFRPD 5/*(XTALFREQ/5)*/
/*****/ /* offset 7 */ /* This is the count of how many synchronous transfers can take place i.e.howmanyreqscanoccurbeforeanackisgiven. Themaximumvalueforthisis15,theupperbitscanmodify REQ/ACKassertionanddeassertionduringsynchronoustransfers
If this is 0, the bus will only transfer asynchronously */ #define SYNCOFFST 0 /* for the curious, bits 7&6 control the deassertion delay in 1/2 cycles ofthe40Mhzclock.IfFASTCLKis1,specifying01(1/2)will causethedeassertiontobeearlyby1/2clock.Bits5&4control
the assertion delay, also in 1/2 clocks (FASTCLK is ignored here). */
struct qlogicfas408_priv { int qbase; /* Port */ int qinitid; /* initiator ID */ int qabort; /* Flag to cause an abort */ int qlirq; /* IRQ being used */ int int_type; /* type of irq, 2 for ISA board, 0 for PCMCIA */ char qinfo[80]; /* description */ struct scsi_cmnd *qlcmd; /* current command being processed */ struct Scsi_Host *shost; /* pointer back to host */ struct qlogicfas408_priv *next; /* next private struct */
};
/* following is watchdog timeout in microseconds */ #define WATCHDOG 5000000
/*----------------------------------------------------------------*/ /* the following will set the monitor border color (useful to find
where something crashed or gets stuck at and as a simple profiler) */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.