Tekram DC3x5 SCSI driver 1.37

From: Kurt Garloff (garloff@suse.de)
Date: Thu Feb 28 2002 - 08:16:26 EST


Hi,

I finally ported the Tekram DC395 SCSI driver to use pci_map functions.
This means that it potentially work on highmem and 64bit archs.
(Most probably it won't work on big-endian archs, though.)

A few more changes (locking and strtok) have been done to make it work with
2.5 as well. The driver still works under 2.4 kernels as well.

I also found a strangeness (which I suspect to be a chip bug) when DMAing to
disk, when the adapter occasionally fails to count one byte or word (wide)
before a page boundary when the device disconnects.
This is worked around now; though the real fix may be to review
the switching on/off of the SCSI FIFO at the right moments to prevent
counting bytes on the SCSI bus which are not part of the information
transfer.

The code contains lots of ifdefs, part of which are for debugging and part
of which for compatibility with older kernels. Please don't flame me for the
non-aestethic coding, if you dare to look at the code.

The driver still uses old error handling, so expect the driver to break,
when this is thrown out of 2.5.

Get the driver at
 http://www.garloff.de/kurt/linux/dc395/
or
 ftp://ftp.suse.com/pub/people/garloff/linux/dc395/

The driver is not meant for inclusion into official kernels at this moment,
as a number of users reported problems with the driver; in the worst case
they face data corruption, so be warned. That said, it works for most users.

Please report back success and failures to me.

-- 
Kurt Garloff  <garloff@suse.de>                          Eindhoven, NL
GPG key: See mail header, key servers         Linux kernel development
SuSE Linux AG, Nuernberg, DE                            SCSI, Security


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:41 EST