? .dc395x_trm.o.flags ? dc395x_trm.c.flc ? Rules.make Index: README.dc395x =================================================================== RCS file: /home/cvsroot/dc395/README.dc395x,v retrieving revision 1.11 retrieving revision 1.13 diff -u -r1.11 -r1.13 --- README.dc395x 2000/11/24 00:53:41 1.11 +++ README.dc395x 2001/07/09 19:37:21 1.13 @@ -2,7 +2,7 @@ ========================================== Preliminary. 2000-02-14 Kurt Garloff -$Id: README.dc395x,v 1.11 2000/11/24 00:53:41 garloff Exp $ +$Id: README.dc395x,v 1.13 2001/07/09 19:37:21 garloff Exp $ This driver is similar to the DC390/AM53c974 driver (tmscsim), so you might want to have a look into the README.tmscsim. @@ -98,6 +98,7 @@ even try. Instead the waiting queue will be woken up by a timer a 50 ms later to try again. + Exception handling and automatic downgrading -------------------------------------------- For the positive side: @@ -203,23 +204,22 @@ Maybe you Linux distributor will be nice enough to include the driver in its distribution, so you don't have to do it yourself. -OK, if you want to do it: Get the driver distribution dc395-12?.tar.gz. +OK, if you want to do it: Get the driver distribution dc395-1??.tar.gz. Unpack it: -> tar xvzf dc395-12?.tar.gz +> tar xvzf dc395-1??.tar.gz Copy the driver files to the linux source tree: > cp -p dc395/dc395x_trm.? /usr/src/linux/drivers/scsi/ > cp -p dc395/README.dc395x /usr/src/linux/drivers/scsi/ and apply the appropriate patch to your kernel source tree. Depending on your kernel version, this is dc395-integ20.diff, dc395-integ22.diff or dc395-integ24.diff. (Replace XX by 20, 22, 23 or 24) -> cd /usr/src/ -> patch -p0 -d /usr/src patch -p1 -d /usr/src/linux //* (C) 1999-2000 Kurt Garloff //* License: GNU GPL -//* $Id: dc395x_trm.c,v 1.68 2000/12/03 22:34:15 garloff Exp $ +//* $Id: dc395x_trm.c,v 1.69 2001/07/04 13:38:29 garloff Exp $ //*********************************************************************** //* Tekram PCI SCSI adapter (DC395/U/UW/F or DC315/U) revision history //* @@ -176,7 +176,7 @@ # ifndef DC395x_DEBUGTRACE # define DC395x_DEBUGTRACE # endif -# define TRACEOUTALL(x...) printk (## x) +# define TRACEOUTALL(x...) printk ( x) #else # define TRACEOUTALL(x...) do {} while (0) #endif @@ -185,13 +185,13 @@ char DC395x_tracebuf[64]; char DC395x_traceoverflow[8] = {0,0,0,0,0,0,0,0}; # define TRACEPRINTF(x...) \ -do { int ln = sprintf (DC395x_tracebuf, ## x); \ +do { int ln = sprintf (DC395x_tracebuf, x); \ if (pSRB->debugpos + ln >= DEBUGTRACEBUFSZ) \ { pSRB->debugtrace[pSRB->debugpos] = 0; pSRB->debugpos = DEBUGTRACEBUFSZ/5; pSRB->debugtrace[pSRB->debugpos++] = '>'; }; \ sprintf (pSRB->debugtrace + pSRB->debugpos, "%s", DC395x_tracebuf); \ pSRB->debugpos += ln - 1; \ } while (0) -# define TRACEOUT(x...) printk (## x) +# define TRACEOUT(x...) printk ( x) #else # define TRACEPRINTF(x...) do {} while (0) # define TRACEOUT(x...) do {} while (0) Index: dc395x_trm.h =================================================================== RCS file: /home/cvsroot/dc395/dc395x_trm.h,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- dc395x_trm.h 2000/12/02 13:12:35 1.31 +++ dc395x_trm.h 2001/07/09 19:21:19 1.32 @@ -8,7 +8,7 @@ ** ********************************************************************** */ -/* $Id: dc395x_trm.h,v 1.31 2000/12/02 13:12:35 garloff Exp $ */ +/* $Id: dc395x_trm.h,v 1.32 2001/07/09 19:21:19 garloff Exp $ */ /* ***************************************************** ** Tekram TRM_S1040 for DC395x driver, header file @@ -20,7 +20,7 @@ #include #define DC395x_BANNER "Tekram DC395U/UW/F DC315/U" -#define DC395x_VERSION "1.32, 2000-12-02" +#define DC395x_VERSION "1.33, 2001-07-09" /* Kernel version autodetection */ #include